|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openmrs.api.handler.PersonVoidHandler
@Handler(supports=Person.class) public class PersonVoidHandler
This class sets the personVoid* attributes on the given Person object when a void* method
is called with this class. This differs from the BaseVoidHandler because the Person
object contains personVoided* attributes instead of the normal voided attributes
RequiredDataAdvice,
UnvoidHandler| Constructor Summary | |
|---|---|
PersonVoidHandler()
|
|
| Method Summary | |
|---|---|
void |
handle(Person person,
User voidingUser,
java.util.Date voidedDate,
java.lang.String voidReason)
Sets all personVoid* attributes to the given parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PersonVoidHandler()
| Method Detail |
|---|
public void handle(Person person,
User voidingUser,
java.util.Date voidedDate,
java.lang.String voidReason)
handle in interface RequiredDataHandler<Person>handle in interface VoidHandler<Person>person - an OpenmrsObject that needs to have some required data setvoidingUser - the currently authenticated UservoidedDate - the current DatevoidReason - (optional) would be the second argument in the save/void/unvoid/etc method, if
existsRequiredDataHandler.handle(org.openmrs.OpenmrsObject,
org.openmrs.User, java.util.Date, java.lang.String)
|
OpenMRS-1.7.x | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||