org.kuali.rice.kew.actions
Class SuperUserApproveEvent
java.lang.Object
org.kuali.rice.kew.actions.ActionTakenEvent
org.kuali.rice.kew.actions.SuperUserApproveEvent
public class SuperUserApproveEvent
- extends ActionTakenEvent
Does a super user approve action.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class org.kuali.rice.kew.actions.ActionTakenEvent |
filterActionRequestsByCode, findDelegatorForActionRequests, generateAcknowledgementsToPreviousActionTakers, getActionPerformedCode, getActionRequestService, getActionTakenCode, getDocumentId, getGroupIdsForPrincipal, getPrincipal, getRouteHeader, isActionCompatibleRequest, isActionValid, isPolicySet, isPolicySet, isRunPostProcessorLogic, notifyActionTaken, notifyStatusChange, performAction, queueDocumentProcessing, saveActionTaken, saveActionTaken, saveActionTaken, saveActionTaken, setActionTakenCode, setRouteHeader, updateSearchableAttributesIfPossible |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
superUserAction
protected final String superUserAction
AUTHORIZATION
public static String AUTHORIZATION
SuperUserApproveEvent
public SuperUserApproveEvent(DocumentRouteHeaderValue routeHeader,
PrincipalContract principal)
SuperUserApproveEvent
public SuperUserApproveEvent(DocumentRouteHeaderValue routeHeader,
PrincipalContract principal,
String annotation,
boolean runPostProcessor)
validateActionRules
public String validateActionRules()
- Description copied from class:
ActionTakenEvent
- Placeholder for validation rules for each action
- Returns:
- error message string of specific error message
recordAction
public void recordAction()
throws InvalidActionTakenException
- Throws:
InvalidActionTakenException
completeAnyOutstandingCompleteApproveRequests
protected void completeAnyOutstandingCompleteApproveRequests(ActionTakenValue actionTaken,
boolean sendNotifications)
throws Exception
- Throws:
Exception
markDocument
protected void markDocument()
throws WorkflowException
- Throws:
WorkflowException
validateActionRules
public String validateActionRules(List<ActionRequestValue> actionRequests)
- Specified by:
validateActionRules
in class ActionTakenEvent
processActionRequests
protected ActionTakenValue processActionRequests()
throws InvalidActionTakenException
- Throws:
InvalidActionTakenException
processActionTaken
protected void processActionTaken(ActionTakenValue actionTaken)
- Allows subclasses to perform any post-processing after the action has been taken
getActionRequest
public ActionRequestValue getActionRequest()
setActionRequest
public void setActionRequest(ActionRequestValue actionRequest)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.