Package org.kuali.rice.kew.actions
Class RouteDocumentAction
java.lang.Object
org.kuali.rice.kew.actions.ActionTakenEvent
org.kuali.rice.kew.actions.RouteDocumentAction
Action that puts the document in routing.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Field Summary
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
ConstructorsConstructorDescriptionRouteDocumentAction(DocumentRouteHeaderValue rh, org.kuali.rice.kim.api.identity.principal.PrincipalContract principal) RouteDocumentAction(DocumentRouteHeaderValue rh, org.kuali.rice.kim.api.identity.principal.PrincipalContract principal, String annotation) -
Method Summary
Modifier and TypeMethodDescriptionCode of the action performed by the user Method may be overridden is action performed will be different than action takenvoidRecord the routing action.Placeholder for validation rules for each actionvalidateActionRules(List<ActionRequestValue> actionRequests) Methods inherited from class org.kuali.rice.kew.actions.ActionTakenEvent
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
-
Constructor Details
-
RouteDocumentAction
public RouteDocumentAction(DocumentRouteHeaderValue rh, org.kuali.rice.kim.api.identity.principal.PrincipalContract principal) -
RouteDocumentAction
public RouteDocumentAction(DocumentRouteHeaderValue rh, org.kuali.rice.kim.api.identity.principal.PrincipalContract principal, String annotation)
-
-
Method Details
-
getActionPerformedCode
Description copied from class:ActionTakenEventCode of the action performed by the user Method may be overridden is action performed will be different than action taken- Overrides:
getActionPerformedCodein classActionTakenEvent- Returns:
-
validateActionRules
Description copied from class:ActionTakenEventPlaceholder for validation rules for each action- Specified by:
validateActionRulesin classActionTakenEvent- Returns:
- error message string of specific error message
-
validateActionRules
- Specified by:
validateActionRulesin classActionTakenEvent
-
recordAction
Record the routing action. To route a document, it must be in the proper state. Previous requests and actions have no bearing on the outcome of this action, unless the- Specified by:
recordActionin classActionTakenEvent- Throws:
InvalidActionTakenException
-