public class DrugOrderSupport extends java.lang.Object implements GlobalPropertyListener
| Modifier and Type | Method and Description | 
|---|---|
static DrugOrderSupport | 
getInstance()  | 
java.util.List<RegimenSuggestion> | 
getStandardRegimens()  | 
java.util.List<RegimenSuggestion> | 
getSuggestedRegimens()  | 
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 | 
setStandardRegimens(java.util.List<RegimenSuggestion> standardRegimens)  | 
void | 
setSuggestedRegimens(java.util.List<RegimenSuggestion> suggestedRegimens)  | 
boolean | 
supportsPropertyName(java.lang.String propertyName)
Asks this listener whether it wants to be notified about the given property name 
 | 
public static DrugOrderSupport getInstance()
public java.util.List<RegimenSuggestion> getStandardRegimens()
public void setStandardRegimens(java.util.List<RegimenSuggestion> standardRegimens)
standardRegimens - The standardRegimens to set.public java.util.List<RegimenSuggestion> getSuggestedRegimens()
public void setSuggestedRegimens(java.util.List<RegimenSuggestion> suggestedRegimens)
suggestedRegimens - The suggestedRegimens to set.public boolean supportsPropertyName(java.lang.String propertyName)
GlobalPropertyListenersupportsPropertyName in interface GlobalPropertyListenerGlobalPropertyListener.supportsPropertyName(java.lang.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(java.lang.String)Copyright © 2018 OpenMRS Inc.. All Rights Reserved.