← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 81: Renamed argument "organisationUnitId" to "id" in method "updateOrganiastionUnit".

 

------------------------------------------------------------
revno: 81
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Wed 2009-03-18 17:51:22 +0100
message:
  Renamed argument "organisationUnitId" to "id" in method "updateOrganiastionUnit".
modified:
  webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/organisationunit/DefaultOrganisationUnitServiceAdapter.java
  webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/organisationunit/OrganisationUnitServiceAdapter.java
  webservice/dhis-webservice-expoze/src/main/resources/dispatcher.xml

=== modified file 'webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/organisationunit/DefaultOrganisationUnitServiceAdapter.java'
--- webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/organisationunit/DefaultOrganisationUnitServiceAdapter.java	2009-03-08 08:01:43 +0000
+++ webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/organisationunit/DefaultOrganisationUnitServiceAdapter.java	2009-03-18 16:51:22 +0000
@@ -52,9 +52,9 @@
     // PeriodServiceAdapter implementation
     // -------------------------------------------------------------------------
 
-    public void updateOrganisationUnitGeoCode( int organisationUnitId, String geoCode )
+    public void updateOrganisationUnitGeoCode( int id, String geoCode )
     {
-        OrganisationUnit organisationUnit = organisationUnitService.getOrganisationUnit( organisationUnitId );
+        OrganisationUnit organisationUnit = organisationUnitService.getOrganisationUnit( id );
 
         if ( organisationUnit != null )
         {

=== modified file 'webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/organisationunit/OrganisationUnitServiceAdapter.java'
--- webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/organisationunit/OrganisationUnitServiceAdapter.java	2009-03-08 08:01:43 +0000
+++ webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/organisationunit/OrganisationUnitServiceAdapter.java	2009-03-18 16:51:22 +0000
@@ -34,5 +34,5 @@
 
 public interface OrganisationUnitServiceAdapter
 {
-    void updateOrganisationUnitGeoCode( int organisationUnitId, String geoCode );
+    void updateOrganisationUnitGeoCode( int id, String geoCode );
 }

=== modified file 'webservice/dhis-webservice-expoze/src/main/resources/dispatcher.xml'
--- webservice/dhis-webservice-expoze/src/main/resources/dispatcher.xml	2009-03-10 15:09:59 +0000
+++ webservice/dhis-webservice-expoze/src/main/resources/dispatcher.xml	2009-03-18 16:51:22 +0000
@@ -705,7 +705,7 @@
       <parameters>
         <parameter>
           <type>int</type>
-          <name>organisationUnitId</name>
+          <name>id</name>
         </parameter>
         <parameter>
           <type>java.lang.String</type>



--

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.