org.openmrs.order
Class DrugOrderSupport

java.lang.Object
  extended by org.openmrs.order.DrugOrderSupport
All Implemented Interfaces:
GlobalPropertyListener

public class DrugOrderSupport
extends java.lang.Object
implements GlobalPropertyListener


Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DrugOrderSupport getInstance()

getStandardRegimens

public java.util.List<RegimenSuggestion> getStandardRegimens()
Returns:
Returns the standardRegimens.

setStandardRegimens

public void setStandardRegimens(java.util.List<RegimenSuggestion> standardRegimens)
Parameters:
standardRegimens - The standardRegimens to set.

getSuggestedRegimens

public java.util.List<RegimenSuggestion> getSuggestedRegimens()
Returns:
Returns the suggestedRegimens.

setSuggestedRegimens

public void setSuggestedRegimens(java.util.List<RegimenSuggestion> suggestedRegimens)
Parameters:
suggestedRegimens - The suggestedRegimens to set.

supportsPropertyName

public boolean supportsPropertyName(java.lang.String propertyName)
Description copied from interface: GlobalPropertyListener
Asks this listener whether it wants to be notified about the given property name

Specified by:
supportsPropertyName in interface GlobalPropertyListener
Returns:
whether this listener wants its action methods to be notified of properties with the given name
See Also:
GlobalPropertyListener.supportsPropertyName(java.lang.String)

globalPropertyChanged

public void globalPropertyChanged(GlobalProperty newValue)
Description copied from interface: GlobalPropertyListener
Called after a global property is created or updated

Specified by:
globalPropertyChanged in interface GlobalPropertyListener
Parameters:
newValue - the new value of the property that was just saved
See Also:
GlobalPropertyListener.globalPropertyChanged(org.openmrs.GlobalProperty)

globalPropertyDeleted

public void globalPropertyDeleted(java.lang.String propertyName)
Description copied from interface: GlobalPropertyListener
Called after a global property is deleted

Specified by:
globalPropertyDeleted in interface GlobalPropertyListener
Parameters:
propertyName - the name of the property that was just deleted
See Also:
GlobalPropertyListener.globalPropertyDeleted(java.lang.String)

OpenMRS-1.7.x

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