org.kuali.rice.kew.actions
Class BlanketApproveAction

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

public class BlanketApproveAction
extends ActionTakenEvent

Does the sync work for blanket approves requested by client apps.

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

Field Summary
 
Fields inherited from class org.kuali.rice.kew.actions.ActionTakenEvent
annotation, routeHeader
 
Constructor Summary
BlanketApproveAction(DocumentRouteHeaderValue rh, KimPrincipal principal)
           
BlanketApproveAction(DocumentRouteHeaderValue rh, KimPrincipal principal, String annotation, Integer routeLevel)
           
BlanketApproveAction(DocumentRouteHeaderValue rh, KimPrincipal principal, String annotation, Set nodeNames)
           
BlanketApproveAction(DocumentRouteHeaderValue rh, KimPrincipal principal, String annotation, String nodeName)
           
 
Method Summary
protected  void markDocumentEnroute(DocumentRouteHeaderValue routeHeader)
           
 void performDeferredBlanketApproveWork(ActionTakenValue actionTaken)
           
protected  void queueDeferredWork(ActionTakenValue actionTaken)
           
 void recordAction()
           
 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, getActionPerformedCode, getActionRequestService, getActionTakenCode, getGroupIdsForPrincipal, getPrincipal, getRouteHeader, getRouteHeaderId, isActionCompatibleRequest, isActionValid, isRunPostProcessorLogic, notifyActionTaken, notifyStatusChange, performAction, performDeferredAction, queueDocumentProcessing, saveActionTaken, saveActionTaken, saveActionTaken, saveActionTaken, setActionTakenCode, setQueueDocumentAfterAction, setRouteHeader, updateSearchableAttributesIfPossible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlanketApproveAction

public BlanketApproveAction(DocumentRouteHeaderValue rh,
                            KimPrincipal principal)

BlanketApproveAction

public BlanketApproveAction(DocumentRouteHeaderValue rh,
                            KimPrincipal principal,
                            String annotation,
                            Integer routeLevel)

BlanketApproveAction

public BlanketApproveAction(DocumentRouteHeaderValue rh,
                            KimPrincipal principal,
                            String annotation,
                            String nodeName)

BlanketApproveAction

public BlanketApproveAction(DocumentRouteHeaderValue rh,
                            KimPrincipal principal,
                            String annotation,
                            Set nodeNames)
Method Detail

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

queueDeferredWork

protected void queueDeferredWork(ActionTakenValue actionTaken)

performDeferredBlanketApproveWork

public void performDeferredBlanketApproveWork(ActionTakenValue actionTaken)
                                       throws Exception
Throws:
Exception

markDocumentEnroute

protected void markDocumentEnroute(DocumentRouteHeaderValue routeHeader)
                            throws InvalidActionTakenException
Throws:
InvalidActionTakenException


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