public interface UnretireHandler<R extends Retireable> extends RequiredDataHandler<R>
RequiredDataAdviceclass uses AOP around each method in every service to check to see if its a unretire* method. If it is a unretire* method, this class is called to handle setting the
Retireable.setDateRetired(Date)all to null.
Retireablethat are themselves a
Retireableare looped over and also unretired by the
Retireableattributes to null.
RequiredDataHandler<R extends Retireable>
OpenmrsObjectthat needs to have some required data set
retiringUser- the currently authenticated
origParentRetiredDate- the current
unused- (optional) would be the second argument in the save/void/unvoid/etc method, if exists
RequiredDataHandler.handle(org.openmrs.OpenmrsObject, org.openmrs.User, java.util.Date, java.lang.String)
Copyright © 2021 OpenMRS Inc.. All rights reserved.