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, updateSearchableAttributesIfPossibleprotected 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()
ActionTakenEventpublic void recordAction() throws InvalidActionTakenException
InvalidActionTakenExceptionprotected void completeAnyOutstandingCompleteApproveRequests(ActionTakenValue actionTaken, boolean sendNotifications) throws Exception
Exceptionprotected void markDocument() throws WorkflowException
WorkflowExceptionpublic String validateActionRules(List<ActionRequestValue> actionRequests)
validateActionRules in class ActionTakenEventprotected ActionTakenValue processActionRequests() throws InvalidActionTakenException
InvalidActionTakenExceptionprotected void processActionTaken(ActionTakenValue actionTaken)
public ActionRequestValue getActionRequest()
public void setActionRequest(ActionRequestValue actionRequest)
public String getSuperUserAction()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.