org.kuali.rice.kew.actions
Class SuperUserDisapproveEvent

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

public class SuperUserDisapproveEvent
extends ActionTakenEvent

Performs a disapprove as a super user

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
SuperUserDisapproveEvent(DocumentRouteHeaderValue routeHeader, PrincipalContract principal)
           
SuperUserDisapproveEvent(DocumentRouteHeaderValue routeHeader, PrincipalContract principal, String annotation, boolean runPostProcessor)
           
 
Method Summary
 ActionRequestValue getActionRequest()
           
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, 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
 

Field Detail

superUserAction

protected final String superUserAction

AUTHORIZATION

public static String AUTHORIZATION
Constructor Detail

SuperUserDisapproveEvent

public SuperUserDisapproveEvent(DocumentRouteHeaderValue routeHeader,
                                PrincipalContract principal)

SuperUserDisapproveEvent

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

processActionTaken

protected void processActionTaken(ActionTakenValue actionTaken)
Allows subclasses to perform any post-processing after the action has been taken


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

recordAction

public void recordAction()
                  throws InvalidActionTakenException
Specified by:
recordAction in class ActionTakenEvent
Throws:
InvalidActionTakenException

processActionRequests

protected ActionTakenValue processActionRequests()
                                          throws InvalidActionTakenException
Throws:
InvalidActionTakenException

getActionRequest

public ActionRequestValue getActionRequest()

setActionRequest

public void setActionRequest(ActionRequestValue actionRequest)


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