public interface SaveHandler<O extends OpenmrsObject> extends RequiredDataHandler<O>
supportthe current object being saved) are called.
|Modifier and Type||Method and Description|
This method is used by the implementing classes to set any required data that it needs to.
void handle(O object, User creator, Date dateCreated, String other)
RequiredDataHandler<O extends OpenmrsObject>
object- an OpenmrsObject that needs to have some required data set
creator- the user who is saving this object
dateCreated- the datetime this object is being saved
other- (optional) would be the second argument in the save method, if exists
RequiredDataHandler.handle(org.openmrs.OpenmrsObject, org.openmrs.User, java.util.Date, java.lang.String)
Copyright © 2021 OpenMRS Inc.. All rights reserved.