dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #29410
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 14853: BaseAnalyticalObject, added missing annotations
------------------------------------------------------------
revno: 14853
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2014-04-14 16:17:32 +0200
message:
BaseAnalyticalObject, added missing annotations
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseAnalyticalObject.java
dhis-2/dhis-api/src/main/java/org/hisp/dhis/reporttable/ReportTable.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseAnalyticalObject.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseAnalyticalObject.java 2014-04-10 07:27:08 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseAnalyticalObject.java 2014-04-14 14:17:32 +0000
@@ -751,7 +751,7 @@
}
/**
- * Clear or set to false all persistent properties for this object.
+ * Clear or set to false all persistent dimensional (not option) properties for this object.
*/
public void clear()
{
@@ -771,10 +771,6 @@
userOrganisationUnitGrandChildren = false;
organisationUnitLevels.clear();
itemOrganisationUnitGroups.clear();
- rewindRelativePeriods = false;
- digitGroupSeparator = NUMBER_FORMATTING_SPACE;
- sortOrder = NONE;
- topLimit = 0;
}
@Override
@@ -1058,7 +1054,7 @@
}
@JsonProperty
- @JsonView( {DetailedView.class, ExportView.class} )
+ @JsonView( {DetailedView.class, ExportView.class, DimensionalView.class} )
@JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0)
public boolean isRewindRelativePeriods()
{
@@ -1071,7 +1067,7 @@
}
@JsonProperty
- @JsonView( { DetailedView.class, ExportView.class } )
+ @JsonView( {DetailedView.class, ExportView.class, DimensionalView.class} )
@JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 )
public String getDigitGroupSeparator()
{
@@ -1084,7 +1080,7 @@
}
@JsonProperty
- @JsonView( { DetailedView.class, ExportView.class } )
+ @JsonView( {DetailedView.class, ExportView.class, DimensionalView.class} )
@JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 )
public int getSortOrder()
{
@@ -1097,7 +1093,7 @@
}
@JsonProperty
- @JsonView( { DetailedView.class, ExportView.class } )
+ @JsonView( {DetailedView.class, ExportView.class, DimensionalView.class} )
@JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 )
public int getTopLimit()
{
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/reporttable/ReportTable.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/reporttable/ReportTable.java 2014-04-14 14:04:32 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/reporttable/ReportTable.java 2014-04-14 14:17:32 +0000
@@ -681,7 +681,7 @@
// Sort and limit
// ---------------------------------------------------------------------
- if ( sortOrder != ReportTable.NONE )
+ if ( sortOrder != BaseAnalyticalObject.NONE )
{
grid.sortGrid( grid.getWidth(), sortOrder );
}