|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.api.impl.GlobalLocaleList
public class GlobalLocaleList
A utility class which caches the current list of allowed locales, rebuilding the list whenever the global properties are updated.
Constructor Summary | |
---|---|
GlobalLocaleList()
|
Method Summary | |
---|---|
java.util.Set<java.util.Locale> |
getAllowedLocales()
Gets the current list of allowed locales. |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GlobalLocaleList()
Method Detail |
---|
public void globalPropertyChanged(GlobalProperty newValue)
GlobalPropertyListener
globalPropertyChanged
in interface GlobalPropertyListener
newValue
- the new value of the property that was just savedGlobalPropertyListener.globalPropertyChanged(org.openmrs.GlobalProperty)
public void globalPropertyDeleted(java.lang.String propertyName)
GlobalPropertyListener
globalPropertyDeleted
in interface GlobalPropertyListener
propertyName
- the name of the property that was just deletedGlobalPropertyListener.globalPropertyDeleted(java.lang.String)
public boolean supportsPropertyName(java.lang.String propertyName)
GlobalPropertyListener
supportsPropertyName
in interface GlobalPropertyListener
GlobalPropertyListener.supportsPropertyName(java.lang.String)
public java.util.Set<java.util.Locale> getAllowedLocales()
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |