← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4025: Added Report Type in API

 

------------------------------------------------------------
revno: 4025
committer: Mithilesh Kumar Thakur<mithilesh.hisp@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2011-06-27 12:57:58 +0530
message:
  Added Report Type in API
modified:
  local/in/dhis-in-api/src/main/java/org/hisp/dhis/reports/ReportType.java
  local/in/dhis-in-api/src/main/java/org/hisp/dhis/reports/Report_inDesign.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 'local/in/dhis-in-api/src/main/java/org/hisp/dhis/reports/ReportType.java'
--- local/in/dhis-in-api/src/main/java/org/hisp/dhis/reports/ReportType.java	2011-04-15 11:13:19 +0000
+++ local/in/dhis-in-api/src/main/java/org/hisp/dhis/reports/ReportType.java	2011-06-27 07:27:58 +0000
@@ -36,6 +36,8 @@
 
     public final static String RT_LINELIST = "Linelisting";
     
+    public final static String RT_LINELIST_WEB_PORTAL = "Linelisting Web Portal";
+    
     public final static String RT_GOI = "GOI";
     
     public final static String RT_FEEDBACK = "Feedback";
@@ -80,6 +82,8 @@
         
         reportTypes.add( RT_BULK_REPORT );
         
+        reportTypes.add( RT_LINELIST_WEB_PORTAL );
+        
         return reportTypes;
     }
 }

=== modified file 'local/in/dhis-in-api/src/main/java/org/hisp/dhis/reports/Report_inDesign.java'
--- local/in/dhis-in-api/src/main/java/org/hisp/dhis/reports/Report_inDesign.java	2010-11-08 06:10:18 +0000
+++ local/in/dhis-in-api/src/main/java/org/hisp/dhis/reports/Report_inDesign.java	2011-06-27 07:27:58 +0000
@@ -195,6 +195,8 @@
     public final String ST_DATAELEMENT_NO_REPEAT = "dataelementnorepeat";
     public final String ST_LLDATAELEMENT = "lldataelement";
     public final String ST_INDICATOR = "indicator";
+    public final String ST_LLDEATHDATAELEMENTAGE = "lldeathdataelementage";
+    public final String ST_LLMATERNALDEATHDATAELEMENTAGE = "llmaternaldeathdataelement";
     
     // Constants for ptype
     public final String PT_CMCY = "CMCY";