← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 14722: Rename DataApprovalLevelService.getLowestUserDataApprovalLevel to getLowestUserViewDataApprovalLe...

 

------------------------------------------------------------
revno: 14722
committer: Jim Grace <jimgrace@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2014-04-07 07:28:21 -0400
message:
  Rename DataApprovalLevelService.getLowestUserDataApprovalLevel to getLowestUserViewDataApprovalLevel()
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataapproval/DataApprovalLevelService.java
  dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataapproval/DefaultDataApprovalLevelService.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 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataapproval/DataApprovalLevelService.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataapproval/DataApprovalLevelService.java	2014-04-07 10:18:57 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataapproval/DataApprovalLevelService.java	2014-04-07 11:28:21 +0000
@@ -135,7 +135,7 @@
      *
      * @return level number of the lowest level the user can view.
      */
-    int getLowestUserDataApprovalLevel();
+    int getLowestUserViewDataApprovalLevel();
     
     /**
      * Gets the data approval level with the given id.

=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataapproval/DefaultDataApprovalLevelService.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataapproval/DefaultDataApprovalLevelService.java	2014-04-07 11:13:12 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataapproval/DefaultDataApprovalLevelService.java	2014-04-07 11:28:21 +0000
@@ -319,7 +319,7 @@
         }
     }
 
-    public int getLowestUserDataApprovalLevel()
+    public int getLowestUserViewDataApprovalLevel()
     {
         List<DataApprovalLevel> levels = getAllDataApprovalLevels();