org.kuali.rice.kew.actions
Class CancelAction
java.lang.Object
org.kuali.rice.kew.actions.ActionTakenEvent
org.kuali.rice.kew.actions.CancelAction
public class CancelAction
- extends ActionTakenEvent
Cancels a document at the request of a client app.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class org.kuali.rice.kew.actions.ActionTakenEvent |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CancelAction
public CancelAction(DocumentRouteHeaderValue rh,
PrincipalContract principal)
CancelAction
public CancelAction(DocumentRouteHeaderValue rh,
PrincipalContract principal,
String annotation)
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
isActionCompatibleRequest
public boolean isActionCompatibleRequest(List<ActionRequestValue> requests)
- Overrides:
isActionCompatibleRequest
in class ActionTakenEvent
markDocumentStatus
protected void markDocumentStatus()
throws InvalidActionTakenException
- Throws:
InvalidActionTakenException
recordAction
public void recordAction()
throws InvalidActionTakenException
- Specified by:
recordAction
in class ActionTakenEvent
- Throws:
InvalidActionTakenException
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.