public class NameSupport extends LayoutSupport<NameTemplate> implements GlobalPropertyListener
defaultLayoutFormat, layoutTemplates, specialTokens
Constructor and Description |
---|
NameSupport() |
Modifier and Type | Method and Description |
---|---|
String |
getDefaultLayoutFormat() |
static NameSupport |
getInstance() |
void |
globalPropertyChanged(GlobalProperty newValue)
Called after a global property is created or updated
|
void |
globalPropertyDeleted(String propertyName)
Called after a global property is deleted
|
boolean |
supportsPropertyName(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, setSpecialTokens
public static NameSupport getInstance()
public String getDefaultLayoutFormat()
getDefaultLayoutFormat
in class LayoutSupport<NameTemplate>
public boolean supportsPropertyName(String propertyName)
GlobalPropertyListener
supportsPropertyName
in interface GlobalPropertyListener
GlobalPropertyListener.supportsPropertyName(String)
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(String propertyName)
GlobalPropertyListener
globalPropertyDeleted
in interface GlobalPropertyListener
propertyName
- the name of the property that was just deletedGlobalPropertyListener.globalPropertyDeleted(String)
Copyright © 2024 OpenMRS Inc.. All rights reserved.