public class ApproveAction extends ActionTakenEvent
annotation, DEFAULT_ANNOTATION, DEFAULT_QUEUE_DOCUMENT_AFTER_ACTION, DEFAULT_RUN_POSTPROCESSOR_LOGIC, routeHeader
Constructor and Description |
---|
ApproveAction(DocumentRouteHeaderValue routeHeader,
PrincipalContract principal) |
ApproveAction(DocumentRouteHeaderValue routeHeader,
PrincipalContract principal,
String annotation) |
Modifier and Type | Method and Description |
---|---|
boolean |
isActionCompatibleRequest(List<ActionRequestValue> requests) |
void |
recordAction()
Records the approve action.
|
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, isActionValid, isPolicySet, isPolicySet, isRunPostProcessorLogic, notifyActionTaken, notifyAfterActionTaken, notifyStatusChange, performAction, queueDocumentProcessing, saveActionTaken, saveActionTaken, saveActionTaken, saveActionTaken, setActionTakenCode, setRouteHeader, updateSearchableAttributesIfPossible
public ApproveAction(DocumentRouteHeaderValue routeHeader, PrincipalContract principal)
routeHeader
- RouteHeader for the document upon which the action is taken.principal
- User taking the action.public ApproveAction(DocumentRouteHeaderValue routeHeader, PrincipalContract principal, String annotation)
routeHeader
- RouteHeader for the document upon which the action is taken.principal
- User taking the action.annotation
- User comment on the action takenpublic String validateActionRules()
ActionTakenEvent
validateActionRules
in class ActionTakenEvent
public String validateActionRules(List<ActionRequestValue> actionRequests)
validateActionRules
in class ActionTakenEvent
public boolean isActionCompatibleRequest(List<ActionRequestValue> requests)
isActionCompatibleRequest
in class ActionTakenEvent
public void recordAction() throws InvalidActionTakenException
recordAction
in class ActionTakenEvent
InvalidActionTakenException
ResourceUnavailableException
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.