@Handler(supports=Person.class) public class PersonSaveHandler extends Object implements SaveHandler<Person>
Personobjects when they are saved via a save* method in an Openmrs Service. This handler is automatically called by the
|Constructor and Description|
|Modifier and Type||Method and Description|
This method is used by the implementing classes to set any required data that it needs to.
person- 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
SaveHandler.handle(org.openmrs.OpenmrsObject, org.openmrs.User, java.util.Date, java.lang.String)
Copyright © 2021 OpenMRS Inc.. All rights reserved.