← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2565: Minor Bug Fixed in DeTarget API

 

------------------------------------------------------------
revno: 2565
committer: Mithilesh Kumar Thakur<mithilesh.hisp@xxxxxxxxx>
branch nick: trunk
timestamp: Fri 2011-01-14 17:18:48 +0530
message:
  Minor Bug Fixed in DeTarget API
modified:
  local/in/dhis-in-api/src/main/java/org/hisp/dhis/detarget/DeTargetService.java
  local/in/dhis-in-api/src/main/java/org/hisp/dhis/detarget/DeTargetStore.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/detarget/DeTargetService.java'
--- local/in/dhis-in-api/src/main/java/org/hisp/dhis/detarget/DeTargetService.java	2011-01-14 08:55:07 +0000
+++ local/in/dhis-in-api/src/main/java/org/hisp/dhis/detarget/DeTargetService.java	2011-01-14 11:48:48 +0000
@@ -99,7 +99,7 @@
     /**
      * Returns all DeTarget associated with the specified dataelement.
      */
-    Collection<DeTarget> getDeTargetsByDataElementAndCategoryOptionCombo( DataElement dataelement ,DataElementCategoryOptionCombo deoptioncombo );
+    Collection<DeTargetMember> getDeTargetsByDataElementAndCategoryOptionCombo( DataElement dataelement ,DataElementCategoryOptionCombo deoptioncombo );
 
     /**
      * Returns all DeTarget associated with the specified sources.
@@ -130,7 +130,7 @@
      * @param survey The DeTarget to add.
      * @return The generated unique identifier for this DeTarget.
      */
-    int addDeTargetMember( DeTargetMember  deTargetMember );
+    void addDeTargetMember( DeTargetMember  deTargetMember );
 
     /**
      * Updates a DeTargetMember.

=== modified file 'local/in/dhis-in-api/src/main/java/org/hisp/dhis/detarget/DeTargetStore.java'
--- local/in/dhis-in-api/src/main/java/org/hisp/dhis/detarget/DeTargetStore.java	2011-01-14 08:55:07 +0000
+++ local/in/dhis-in-api/src/main/java/org/hisp/dhis/detarget/DeTargetStore.java	2011-01-14 11:48:48 +0000
@@ -99,7 +99,7 @@
     /**
      * Returns all DeTarget associated with the specified indicator.
      */
-    Collection<DeTarget> getDeTargetsByDataElementAndCategoryOptionCombo( DataElement dataelement ,DataElementCategoryOptionCombo deoptioncombo );
+    Collection<DeTargetMember> getDeTargetsByDataElementAndCategoryOptionCombo( DataElement dataelement ,DataElementCategoryOptionCombo deoptioncombo );
 
     /**
      * Get all DeTargets.
@@ -121,7 +121,7 @@
      * @param survey The DeTarget to add.
      * @return The generated unique identifier for this DeTarget.
      */
-    int addDeTargetMember( DeTargetMember  deTargetMember );
+    void addDeTargetMember( DeTargetMember  deTargetMember );
 
     /**
      * Updates a DeTargetMember.