← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 388: Renamed method

 

------------------------------------------------------------
revno: 388
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Fri 2009-06-19 16:50:41 +0200
message:
  Renamed method
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/customvalue/CustomValueService.java
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/customvalue/CustomValueStore.java
  dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/customvalue/DefaultCustomValueService.java
  dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/customvalue/hibernate/HibernateCustomValueStore.java
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/dataentryform/GetCustomValuesAction.java

=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/customvalue/CustomValueService.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/customvalue/CustomValueService.java	2009-06-02 14:50:10 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/customvalue/CustomValueService.java	2009-06-19 14:50:41 +0000
@@ -91,7 +91,7 @@
      * 
      * @return CustomValue object.
      */
-    CustomValue getCustomValuesById( Integer id );
+    CustomValue getCustomValue( int id );
     
     /**
      * Get CustomValue by value.

=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/customvalue/CustomValueStore.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/customvalue/CustomValueStore.java	2009-06-02 14:50:10 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/customvalue/CustomValueStore.java	2009-06-19 14:50:41 +0000
@@ -91,7 +91,7 @@
      * 
      * @return CustomValue object.
      */
-    CustomValue getCustomValuesById( Integer id );
+    CustomValue getCustomValue( int id );
     
     /**
      * Get CustomValue by value.

=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/customvalue/DefaultCustomValueService.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/customvalue/DefaultCustomValueService.java	2009-06-10 22:25:07 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/customvalue/DefaultCustomValueService.java	2009-06-19 14:50:41 +0000
@@ -91,9 +91,9 @@
         return customValueStore.getCustomValuesByDataSet( dataSet );
     }
 
-    public CustomValue getCustomValuesById( Integer id )
+    public CustomValue getCustomValue( int id )
     {
-        return customValueStore.getCustomValuesById( id );
+        return customValueStore.getCustomValue( id );
     }
 
     public Collection<CustomValue> getCustomValues( DataSet dataSet, DataElement dataElement,

=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/customvalue/hibernate/HibernateCustomValueStore.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/customvalue/hibernate/HibernateCustomValueStore.java	2009-06-19 09:00:57 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/customvalue/hibernate/HibernateCustomValueStore.java	2009-06-19 14:50:41 +0000
@@ -111,7 +111,7 @@
         return criteria.list();
     }
     
-    public CustomValue getCustomValuesById( Integer id )
+    public CustomValue getCustomValue( int id )
     {
         Session session = sessionFactory.getCurrentSession();
 

=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/dataentryform/GetCustomValuesAction.java'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/dataentryform/GetCustomValuesAction.java	2009-06-02 14:50:10 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/dataentryform/GetCustomValuesAction.java	2009-06-19 14:50:41 +0000
@@ -201,7 +201,7 @@
 
         if ( operation.equalsIgnoreCase( "delete" ) )
         {
-            customValue = customValueService.getCustomValuesById( customValueId );
+            customValue = customValueService.getCustomValue( customValueId );
             customValueService.deleteCustomValue( customValue );
         }
         List<CustomValue> customValues = null;



--
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.