← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13440: API local

 

------------------------------------------------------------
revno: 13440
committer: Samta Bajpayee<samta-bajpayee@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2013-12-27 12:29:39 +0000
message:
  API local
added:
  local/in/dhis-in-api/src/main/java/org/hisp/dhis/coldchain/aggregation/
  local/in/dhis-in-api/src/main/java/org/hisp/dhis/coldchain/aggregation/AggregationService.java
modified:
  local/in/dhis-in-api/src/main/java/org/hisp/dhis/coldchain/model/ModelAttributeValueService.java
  local/in/dhis-in-api/src/main/java/org/hisp/dhis/coldchain/model/ModelAttributeValueStore.java
  local/in/dhis-in-api/src/main/java/org/hisp/dhis/lookup/Lookup.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
=== added directory 'local/in/dhis-in-api/src/main/java/org/hisp/dhis/coldchain/aggregation'
=== added file 'local/in/dhis-in-api/src/main/java/org/hisp/dhis/coldchain/aggregation/AggregationService.java'
--- local/in/dhis-in-api/src/main/java/org/hisp/dhis/coldchain/aggregation/AggregationService.java	1970-01-01 00:00:00 +0000
+++ local/in/dhis-in-api/src/main/java/org/hisp/dhis/coldchain/aggregation/AggregationService.java	2013-12-27 12:29:39 +0000
@@ -0,0 +1,10 @@
+package org.hisp.dhis.coldchain.aggregation;
+
+import java.util.Map;
+
+public interface AggregationService
+{
+    String ID = AggregationService.class.getName();  
+    
+    String getQueryTemplate(String lookupName, Map<String,String> params);
+}

=== modified file 'local/in/dhis-in-api/src/main/java/org/hisp/dhis/coldchain/model/ModelAttributeValueService.java'
--- local/in/dhis-in-api/src/main/java/org/hisp/dhis/coldchain/model/ModelAttributeValueService.java	2013-09-05 11:11:36 +0000
+++ local/in/dhis-in-api/src/main/java/org/hisp/dhis/coldchain/model/ModelAttributeValueService.java	2013-12-27 12:29:39 +0000
@@ -16,6 +16,8 @@
     
     Collection<ModelAttributeValue> getAllModelAttributeValuesByModel( Model model );
     
+    Collection<ModelAttributeValue> getAllModelAttributeValuesByModelTypeAttribute( ModelTypeAttribute modelTypeAttribute );
+    
     ModelAttributeValue modelAttributeValue ( Model model ,ModelTypeAttribute modelTypeAttribute );
     
     ModelAttributeValue modelAttributeValue ( Model model ,ModelTypeAttribute modelTypeAttribute, ModelTypeAttributeOption modelTypeAttributeOption );

=== modified file 'local/in/dhis-in-api/src/main/java/org/hisp/dhis/coldchain/model/ModelAttributeValueStore.java'
--- local/in/dhis-in-api/src/main/java/org/hisp/dhis/coldchain/model/ModelAttributeValueStore.java	2013-09-05 11:11:36 +0000
+++ local/in/dhis-in-api/src/main/java/org/hisp/dhis/coldchain/model/ModelAttributeValueStore.java	2013-12-27 12:29:39 +0000
@@ -16,6 +16,8 @@
     
     Collection<ModelAttributeValue> getAllModelAttributeValuesByModel( Model model );
     
+    Collection<ModelAttributeValue> getAllModelAttributeValuesByModelTypeAttribute( ModelTypeAttribute modelTypeAttribute );
+    
     ModelAttributeValue modelAttributeValue( Model model ,ModelTypeAttribute modelTypeAttribute );
     
     ModelAttributeValue modelAttributeValue( Model model ,ModelTypeAttribute modelTypeAttribute, ModelTypeAttributeOption modelTypeAttributeOption );

=== modified file 'local/in/dhis-in-api/src/main/java/org/hisp/dhis/lookup/Lookup.java'
--- local/in/dhis-in-api/src/main/java/org/hisp/dhis/lookup/Lookup.java	2013-12-26 10:29:48 +0000
+++ local/in/dhis-in-api/src/main/java/org/hisp/dhis/lookup/Lookup.java	2013-12-27 12:29:39 +0000
@@ -10,6 +10,8 @@
     
     public static final String CCEI_AGG_TYPE = "CCEI_AGG_TYPE";
     
+    public static final String WS_REF_TYPE = "WS_REF_TYPE";
+    
     private String type;
     
     private String value;