@Handler(supports=Visit.class) public class VisitUnvoidHandler extends java.lang.Object implements UnvoidHandler<Visit>
Visit object when an unvoid* method is
 called with this class. This differs from the BaseUnvoidHandler because unvoiding the
 Visit object implies unvoiding encounters voided with that visit.RequiredDataAdvice, 
UnvoidHandler| Constructor and Description | 
|---|
VisitUnvoidHandler()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
handle(Visit visit,
      User voidingUser,
      java.util.Date origParentVoidedDate,
      java.lang.String unused)
Implementing classes are called around every unvoid* method to set everything to null. 
 | 
public void handle(Visit visit, User voidingUser, java.util.Date origParentVoidedDate, java.lang.String unused)
UnvoidHandlerhandle in interface RequiredDataHandler<Visit>handle in interface UnvoidHandler<Visit>visit - an OpenmrsObject that needs to have some required data setvoidingUser - 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)Copyright © 2018 OpenMRS Inc.. All Rights Reserved.