Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register
Show
Ignore:
Timestamp:
05/16/08 18:28:28 (8 months ago)
Author:
bwolfe
Message:

api-refactoring: Re-refactoring some of the api services

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs/branches/api_refactoring/src/api/org/openmrs/util/OpenmrsConstants.java

    r4231 r4240  
    142142        public static final String PRIV_PURGE_CONCEPTS = "Purge Concepts"; 
    143143         
    144         public static final String PRIV_ADD_CONCEPT_PROPOSAL  = "Add Concept Proposal"; 
    145         /** 
    146          * @deprecated 
    147          * @see PRIV_MANAGE_CONCEPT_PROPOSAL 
    148          */ 
    149         public static final String PRIV_EDIT_CONCEPT_PROPOSAL = "Edit Concept Proposal"; 
    150         public static final String PRIV_MANAGE_CONCEPT_PROPOSAL = "Manage Concept Proposal"; 
     144        public static final String PRIV_VIEW_CONCEPT_PROPOSALS = "View Concept Proposals"; 
     145        public static final String PRIV_ADD_CONCEPT_PROPOSALS  = "Add Concept Proposals"; 
     146        public static final String PRIV_EDIT_CONCEPT_PROPOSALS = "Edit Concept Proposals"; 
     147        public static final String PRIV_DELETE_CONCEPT_PROPOSALS = "Delete Concept Proposals"; 
     148        public static final String PRIV_PURGE_CONCEPT_PROPOSALS = "Purge Concept Proposals"; 
    151149         
    152150        public static final String PRIV_VIEW_USERS                      = "View Users"; 
     
    229227        public static final String PRIV_PURGE_IDENTIFIER_TYPES  = "Purge Identifier Types"; 
    230228        public static final String PRIV_MANAGE_MIME_TYPES               = "Manage Mime Types"; 
     229         
     230        public static final String PRIV_VIEW_CONCEPT_CLASSES    = "View Concept Classes"; 
    231231        public static final String PRIV_MANAGE_CONCEPT_CLASSES  = "Manage Concept Classes"; 
     232        public static final String PRIV_PURGE_CONCEPT_CLASSES   = "Purge Concept Classes"; 
     233         
     234        public static final String PRIV_VIEW_CONCEPT_DATATYPES= "View Concept Datatypes"; 
    232235        public static final String PRIV_MANAGE_CONCEPT_DATATYPES= "Manage Concept Datatypes"; 
     236        public static final String PRIV_PURGE_CONCEPT_DATATYPES= "Purge Concept Datatypes"; 
    233237         
    234238        public static final String PRIV_VIEW_PRIVILEGES         = "View Privileges"; 
     
    321325                        CORE_PRIVILEGES.put(PRIV_DELETE_CONCEPTS, "Able to delete concepts from the dictionary"); 
    322326                         
    323                         CORE_PRIVILEGES.put(PRIV_ADD_CONCEPT_PROPOSAL, "Able to add concept proposals to the system"); 
    324                         CORE_PRIVILEGES.put(PRIV_EDIT_CONCEPT_PROPOSAL, "Able to edit concept proposals in the system"); 
    325                         CORE_PRIVILEGES.put(PRIV_MANAGE_CONCEPT_PROPOSAL, "Able to manage concept proposals in the system"); 
     327                        CORE_PRIVILEGES.put(PRIV_VIEW_CONCEPT_PROPOSALS, "Able to view concept proposals to the system"); 
     328                        CORE_PRIVILEGES.put(PRIV_ADD_CONCEPT_PROPOSALS, "Able to add concept proposals to the system"); 
     329                        CORE_PRIVILEGES.put(PRIV_EDIT_CONCEPT_PROPOSALS, "Able to edit concept proposals in the system"); 
     330                        CORE_PRIVILEGES.put(PRIV_DELETE_CONCEPT_PROPOSALS, "Able to delete concept proposals from the system"); 
    326331                         
    327332                        CORE_PRIVILEGES.put(PRIV_VIEW_USERS, "Able to view users in OpenMRS"); 
     
    377382                        CORE_PRIVILEGES.put(PRIV_MANAGE_LOCATIONS, "Able to add/edit/delete locations"); 
    378383                        CORE_PRIVILEGES.put(PRIV_MANAGE_MIME_TYPES, "Able to add/edit/delete obs mime types"); 
    379                         CORE_PRIVILEGES.put(PRIV_MANAGE_CONCEPT_CLASSES, "Able to add/edit/delete concept classes"); 
    380                         CORE_PRIVILEGES.put(PRIV_MANAGE_CONCEPT_DATATYPES, "Able to add/edit/delete concept datatypes"); 
     384                         
     385                        CORE_PRIVILEGES.put(PRIV_VIEW_CONCEPT_CLASSES, "Able to view concept classes"); 
     386                        CORE_PRIVILEGES.put(PRIV_MANAGE_CONCEPT_CLASSES, "Able to add/edit/retire concept classes"); 
     387                         
     388                        CORE_PRIVILEGES.put(PRIV_VIEW_CONCEPT_DATATYPES, "Able to view concept datatypes"); 
     389                        CORE_PRIVILEGES.put(PRIV_MANAGE_CONCEPT_DATATYPES, "Able to add/edit/retire concept datatypes"); 
     390                         
    381391                        CORE_PRIVILEGES.put(PRIV_MANAGE_ENCOUNTER_TYPES, "Able to add/edit/delete encounter types"); 
    382392