public interface RequiredDataHandler<O extends OpenmrsObject>
RequiredDataAdvice uses AOP around each method to call all handlers that a
 certain interface. Having this superinterface makes it easier to have one method for this.RequiredDataAdvice#recursivelyHandle(Class, OpenmrsObject, User, Date, String), 
RequiredDataAdvice, 
SaveHandler, 
VoidHandler, 
RetireHandler| Modifier and Type | Method and Description | 
|---|---|
void | 
handle(O openmrsObject,
      User currentUser,
      java.util.Date currentDate,
      java.lang.String other)
This method is called to when the required data needs to be set. 
 | 
void handle(O openmrsObject, User currentUser, java.util.Date currentDate, java.lang.String other)
openmrsObject - an OpenmrsObject that needs to have some required data setcurrentUser - the currently authenticated UsercurrentDate - the current Dateother - (optional) would be the second argument in the save/void/unvoid/etc method, if
            existsCopyright © 2018 OpenMRS Inc.. All Rights Reserved.