org.kuali.rice.kew.actions
Class SuperUserNodeApproveEvent

java.lang.Object
  extended by org.kuali.rice.kew.actions.ActionTakenEvent
      extended by org.kuali.rice.kew.actions.SuperUserNodeApproveEvent

public class SuperUserNodeApproveEvent
extends ActionTakenEvent

Does a node level super user approve action. All approve/complete requests outstanding for this node are satisfied by this action.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
static String AUTHORIZATION
           
protected  String superUserAction
           
 
Fields inherited from class org.kuali.rice.kew.actions.ActionTakenEvent
annotation, DEFAULT_ANNOTATION, DEFAULT_QUEUE_DOCUMENT_AFTER_ACTION, DEFAULT_RUN_POSTPROCESSOR_LOGIC, routeHeader
 
Constructor Summary
SuperUserNodeApproveEvent(DocumentRouteHeaderValue routeHeader, PrincipalContract principal)
           
SuperUserNodeApproveEvent(DocumentRouteHeaderValue routeHeader, PrincipalContract principal, String annotation, boolean runPostProcessor, String nodeName)
           
 
Method Summary
 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)
           
 
Methods inherited from class org.kuali.rice.kew.actions.ActionTakenEvent
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

superUserAction

protected final String superUserAction

AUTHORIZATION

public static String AUTHORIZATION
Constructor Detail

SuperUserNodeApproveEvent

public SuperUserNodeApproveEvent(DocumentRouteHeaderValue routeHeader,
                                 PrincipalContract principal)

SuperUserNodeApproveEvent

public SuperUserNodeApproveEvent(DocumentRouteHeaderValue routeHeader,
                                 PrincipalContract principal,
                                 String annotation,
                                 boolean runPostProcessor,
                                 String nodeName)
Method Detail

recordAction

public void recordAction()
                  throws InvalidActionTakenException
Throws:
InvalidActionTakenException

markDocument

protected void markDocument()
                     throws WorkflowException
Throws:
WorkflowException

validateActionRules

public String validateActionRules()
Description copied from class: ActionTakenEvent
Placeholder for validation rules for each action

Specified by:
validateActionRules in class ActionTakenEvent
Returns:
error message string of specific error message

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)

getSuperUserAction

public String getSuperUserAction()


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.