public class RouteDocumentAction extends ActionTakenEvent
annotation, DEFAULT_ANNOTATION, DEFAULT_QUEUE_DOCUMENT_AFTER_ACTION, DEFAULT_RUN_POSTPROCESSOR_LOGIC, routeHeader
Constructor and Description |
---|
RouteDocumentAction(DocumentRouteHeaderValue rh,
PrincipalContract principal) |
RouteDocumentAction(DocumentRouteHeaderValue rh,
PrincipalContract principal,
String annotation) |
Modifier and Type | Method and Description |
---|---|
String |
getActionPerformedCode()
Code of the action performed by the user
Method may be overriden is action performed will be different than action
taken
|
void |
recordAction()
Record the routing action.
|
String |
validateActionRules()
Placeholder for validation rules for each action
|
String |
validateActionRules(List<ActionRequestValue> actionRequests) |
filterActionRequestsByCode, findDelegatorForActionRequests, generateAcknowledgementsToPreviousActionTakers, getActionRequestService, getActionTakenCode, getDocumentId, getGroupIdsForPrincipal, getPrincipal, getRouteHeader, invokePostProcessor, isActionCompatibleRequest, isActionValid, isPolicySet, isPolicySet, isRunPostProcessorLogic, notifyActionTaken, notifyAfterActionTaken, notifyStatusChange, performAction, queueDocumentProcessing, saveActionTaken, saveActionTaken, saveActionTaken, saveActionTaken, setActionTakenCode, setRouteHeader, updateSearchableAttributesIfPossible
public RouteDocumentAction(DocumentRouteHeaderValue rh, PrincipalContract principal)
public RouteDocumentAction(DocumentRouteHeaderValue rh, PrincipalContract principal, String annotation)
public String getActionPerformedCode()
ActionTakenEvent
getActionPerformedCode
in class ActionTakenEvent
public String validateActionRules()
ActionTakenEvent
validateActionRules
in class ActionTakenEvent
public String validateActionRules(List<ActionRequestValue> actionRequests)
validateActionRules
in class ActionTakenEvent
public void recordAction() throws InvalidActionTakenException
recordAction
in class ActionTakenEvent
InvalidActionTakenException
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.