dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #35966
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18419: Minor
------------------------------------------------------------
revno: 18419
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2015-02-25 20:56:03 +0100
message:
Minor
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseDimensionalObject.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/BaseDimensionalObject.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseDimensionalObject.java 2015-02-25 17:10:19 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseDimensionalObject.java 2015-02-25 19:56:03 +0000
@@ -36,7 +36,9 @@
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
+import org.hisp.dhis.common.view.DetailedView;
import org.hisp.dhis.common.view.DimensionalView;
+import org.hisp.dhis.common.view.ExportView;
import org.hisp.dhis.legend.LegendSet;
import java.util.ArrayList;
@@ -227,8 +229,7 @@
@Override
@JsonProperty
@JsonSerialize( as = BaseIdentifiableObject.class )
- @JsonDeserialize( as = BaseIdentifiableObject.class )
- @JsonView( { DimensionalView.class } )
+ @JsonView( { DimensionalView.class, DetailedView.class, ExportView.class } )
@JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 )
public LegendSet getLegendSet()
{