Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register
Show
Ignore:
Timestamp:
05/06/08 00:36:37 (8 months ago)
Author:
djazayeri
Message:

Allow voiding the obs that exits a patient from care. Added global property listeners and supporting infrastructure. The xml for this needs to be changed slightly, but the method signatures are fine.
Also fixing CR/LF issue in a few files

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs/trunk/src/api/org/openmrs/api/AdministrationService.java

    r4095 r4113  
    385385        public void addGlobalProperty(String propertyName, String propertyValue); 
    386386 
     387        public void addGlobalProperty(GlobalProperty gp); 
     388         
     389        /** 
     390         * Allows code to be notified when a global property is created/edited/deleted. 
     391         * @see GlobalPropertyListener 
     392         *  
     393         * @param listener The listener to register 
     394         */ 
     395        public void addGlobalPropertyListener(GlobalPropertyListener listener); 
     396         
     397        /** 
     398         * Removes a GlobalPropertyListener previously registered by {@link #addGlobalPropertyListener(String, GlobalPropertyListener)} 
     399         *  
     400         * @param listener 
     401         */ 
     402        public void removeGlobalPropertyListener(GlobalPropertyListener listener); 
     403         
    387404        /** 
    388405         * Creates a list of data entry stats from <code>fromDate</code> to <code>toDate</code>