|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openmrs.api.handler.PersonUnvoidHandler
@Handler(supports=Person.class) public class PersonUnvoidHandler
This class unsets the personVoid* attributes on the given Person object when an unvoid*
method is called with this class. This differs from the BaseUnvoidHandler because the
Person object contains personVoided* attributes instead of the normal voided attributes.
RequiredDataAdvice,
VoidHandler| Constructor Summary | |
|---|---|
PersonUnvoidHandler()
|
|
| Method Summary | |
|---|---|
void |
handle(Person person,
User unvoidingUser,
java.util.Date origParentVoidedDate,
java.lang.String unused)
Called around every unvoid* method to set everything to null. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PersonUnvoidHandler()
| Method Detail |
|---|
public void handle(Person person,
User unvoidingUser,
java.util.Date origParentVoidedDate,
java.lang.String unused)
handle in interface RequiredDataHandler<Person>handle in interface UnvoidHandler<Person>person - an OpenmrsObject that needs to have some required data setunvoidingUser - the currently authenticated UserorigParentVoidedDate - the current Dateunused - (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 | ||||||||