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, updateSearchableAttributesIfPossibleprotected 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
WorkflowExceptionpublic String validateActionRules()
ActionTakenEventvalidateActionRules in class ActionTakenEventpublic String validateActionRules(List<ActionRequestValue> actionRequests)
validateActionRules in class ActionTakenEventpublic void recordAction() throws InvalidActionTakenException
recordAction in class ActionTakenEventInvalidActionTakenExceptionprotected ActionTakenValue processActionRequests() throws InvalidActionTakenException
InvalidActionTakenExceptionprotected void processActionTaken(ActionTakenValue actionTaken)
public ActionRequestValue getActionRequest()
public void setActionRequest(ActionRequestValue actionRequest)
public String getSuperUserAction()
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.