public class AddressSupport extends LayoutSupport<AddressTemplate> implements GlobalPropertyListener
defaultLayoutFormat, layoutTemplates, specialTokens| Modifier and Type | Method and Description | 
|---|---|
java.util.List<AddressTemplate> | 
getAddressTemplate()  | 
java.lang.String | 
getDefaultLayoutFormat()  | 
static AddressSupport | 
getInstance()  | 
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 
 | 
void | 
setAddressTemplate(java.util.List<AddressTemplate> addressTemplates)  | 
boolean | 
supportsPropertyName(java.lang.String propertyName)
Asks this listener whether it wants to be notified about the given property name 
 | 
getDefaultLayoutTemplate, getLayoutTemplateByCodeName, getLayoutTemplateByCountry, getLayoutTemplateByDisplayName, getLayoutTemplateByName, getLayoutTemplates, getSpecialTokens, setDefaultLayoutFormat, setLayoutTemplates, setSpecialTokenspublic static AddressSupport getInstance()
public java.lang.String getDefaultLayoutFormat()
getDefaultLayoutFormat in class LayoutSupport<AddressTemplate>public void setAddressTemplate(java.util.List<AddressTemplate> addressTemplates)
addressTemplates - The addressTemplates to set.public java.util.List<AddressTemplate> getAddressTemplate()
public boolean supportsPropertyName(java.lang.String propertyName)
GlobalPropertyListenersupportsPropertyName in interface GlobalPropertyListenerGlobalPropertyListener.supportsPropertyName(String)public void globalPropertyChanged(GlobalProperty newValue)
GlobalPropertyListenerglobalPropertyChanged in interface GlobalPropertyListenernewValue - the new value of the property that was just savedGlobalPropertyListener.globalPropertyChanged(org.openmrs.GlobalProperty)public void globalPropertyDeleted(java.lang.String propertyName)
GlobalPropertyListenerglobalPropertyDeleted in interface GlobalPropertyListenerpropertyName - the name of the property that was just deletedGlobalPropertyListener.globalPropertyDeleted(String)Copyright © 2018 OpenMRS Inc.. All Rights Reserved.