public class SuperUserCancelEvent 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 |
---|
SuperUserCancelEvent(DocumentRouteHeaderValue routeHeader,
PrincipalContract principal) |
SuperUserCancelEvent(DocumentRouteHeaderValue routeHeader,
PrincipalContract principal,
String annotation,
boolean runPostProcessor) |
Modifier and Type | Method and Description |
---|---|
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 SuperUserCancelEvent(DocumentRouteHeaderValue routeHeader, PrincipalContract principal)
public SuperUserCancelEvent(DocumentRouteHeaderValue routeHeader, PrincipalContract principal, String annotation, boolean runPostProcessor)
protected void markDocument() throws WorkflowException
WorkflowException
public String validateActionRules()
ActionTakenEvent
validateActionRules
in class ActionTakenEvent
public String validateActionRules(List<ActionRequestValue> actionRequests)
validateActionRules
in class ActionTakenEvent
public void recordAction() throws InvalidActionTakenException
recordAction
in class ActionTakenEvent
InvalidActionTakenException
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.