org.openmrs.api
Interface GlobalPropertyListener

All Known Implementing Classes:
AdministrationServiceImpl, DrugOrderSupport, GlobalLocaleList

public interface GlobalPropertyListener

This interface allows code to be run when global properties are created, edited, or deleted.
TODO: Make sure listeners are notified if a global property's name is changed.

See Also:
AdministrationService.addGlobalPropertyListener(GlobalPropertyListener)

Method Summary
 void globalPropertyChanged(GlobalProperty newValue)
          Called after a global property is created or updated
 void globalPropertyDeleted(java.lang.String propertyName)
          Called after a global property is deleted
 boolean supportsPropertyName(java.lang.String propertyName)
          Asks this listener whether it wants to be notified about the given property name
 

Method Detail

supportsPropertyName

boolean supportsPropertyName(java.lang.String propertyName)
Asks this listener whether it wants to be notified about the given property name

Parameters:
propertyName -
Returns:
whether this listener wants its action methods to be notified of properties with the given name

globalPropertyChanged

void globalPropertyChanged(GlobalProperty newValue)
Called after a global property is created or updated

Parameters:
newValue - the new value of the property that was just saved

globalPropertyDeleted

void globalPropertyDeleted(java.lang.String propertyName)
Called after a global property is deleted

Parameters:
propertyName - the name of the property that was just deleted

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change