public class SuperUserApproveEvent extends ActionTakenEvent
Modifier and Type | Field and Description |
---|---|
static String |
AUTHORIZATION |
protected String |
superUserAction |
annotation, DEFAULT_ANNOTATION, DEFAULT_QUEUE_DOCUMENT_AFTER_ACTION, DEFAULT_RUN_POSTPROCESSOR_LOGIC, routeHeader
Constructor and Description |
---|
SuperUserApproveEvent(DocumentRouteHeaderValue routeHeader,
PrincipalContract principal) |
SuperUserApproveEvent(DocumentRouteHeaderValue routeHeader,
PrincipalContract principal,
String annotation,
boolean runPostProcessor) |
Modifier and Type | Method and Description |
---|---|
protected void |
completeAnyOutstandingCompleteApproveRequests(ActionTakenValue actionTaken,
boolean sendNotifications) |
ActionRequestValue |
getActionRequest() |
String |
getSuperUserAction() |
protected void |
markDocument() |
protected ActionTakenValue |
processActionRequests() |
protected void |
processActionTaken(ActionTakenValue actionTaken)
Allows subclasses to perform any post-processing after the action has been taken
|
void |
recordAction() |
void |
setActionRequest(ActionRequestValue actionRequest) |
String |
validateActionRules()
Placeholder for validation rules for each action
|
String |
validateActionRules(List<ActionRequestValue> actionRequests) |
filterActionRequestsByCode, findDelegatorForActionRequests, generateAcknowledgementsToPreviousActionTakers, getActionPerformedCode, getActionRequestService, getActionTakenCode, getDocumentId, getGroupIdsForPrincipal, getPrincipal, getRouteHeader, invokePostProcessor, isActionCompatibleRequest, isActionValid, isPolicySet, isPolicySet, isRunPostProcessorLogic, notifyActionTaken, notifyAfterActionTaken, notifyStatusChange, performAction, queueDocumentProcessing, saveActionTaken, saveActionTaken, saveActionTaken, saveActionTaken, setActionTakenCode, setRouteHeader, updateSearchableAttributesIfPossible
protected final String superUserAction
public static String AUTHORIZATION
public SuperUserApproveEvent(DocumentRouteHeaderValue routeHeader, PrincipalContract principal)
public SuperUserApproveEvent(DocumentRouteHeaderValue routeHeader, PrincipalContract principal, String annotation, boolean runPostProcessor)
public String validateActionRules()
ActionTakenEvent
public void recordAction() throws InvalidActionTakenException
InvalidActionTakenException
protected void completeAnyOutstandingCompleteApproveRequests(ActionTakenValue actionTaken, boolean sendNotifications) throws Exception
Exception
protected void markDocument() throws WorkflowException
WorkflowException
public String validateActionRules(List<ActionRequestValue> actionRequests)
validateActionRules
in class ActionTakenEvent
protected ActionTakenValue processActionRequests() throws InvalidActionTakenException
InvalidActionTakenException
protected void processActionTaken(ActionTakenValue actionTaken)
public ActionRequestValue getActionRequest()
public void setActionRequest(ActionRequestValue actionRequest)
public String getSuperUserAction()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.