@Handler(supports=Encounter.class) public class EncounterSaveHandler extends java.lang.Object implements SaveHandler<Encounter>
Constructor and Description |
---|
EncounterSaveHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handle(Encounter object,
User creator,
java.util.Date dateCreated,
java.lang.String other)
This method is used by the implementing classes to set any required data that it needs to.
|
public void handle(Encounter object, User creator, java.util.Date dateCreated, java.lang.String other)
SaveHandler
handle
in interface RequiredDataHandler<Encounter>
handle
in interface SaveHandler<Encounter>
object
- an OpenmrsObject that needs to have some required data setcreator
- the user who is saving this objectdateCreated
- the datetime this object is being savedother
- (optional) would be the second argument in the save method, if existsSaveHandler.handle(org.openmrs.OpenmrsObject, org.openmrs.User,
java.util.Date, java.lang.String)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.