org.kuali.rice.kew.actions
Class RevokeAdHocAction
java.lang.Object
org.kuali.rice.kew.actions.ActionTakenEvent
org.kuali.rice.kew.actions.RevokeAdHocAction
public class RevokeAdHocAction
- extends ActionTakenEvent
The RevokeAdHocApprove revokes the specified AdHoc requests.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
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 |
RevokeAdHocAction
public RevokeAdHocAction(DocumentRouteHeaderValue routeHeader,
org.kuali.rice.kim.bo.entity.KimPrincipal principal)
RevokeAdHocAction
public RevokeAdHocAction(DocumentRouteHeaderValue routeHeader,
org.kuali.rice.kim.bo.entity.KimPrincipal principal,
AdHocRevoke revoke,
java.lang.String annotation)
validateActionRules
public java.lang.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 java.lang.String validateActionRules(java.util.List<ActionRequestValue> actionRequests)
- Specified by:
validateActionRules
in class ActionTakenEvent
recordAction
public void recordAction()
throws org.kuali.rice.kew.exception.InvalidActionTakenException
- Records the approve action.
- Checks to make sure the document status allows the action.
- Checks that the user has not taken a previous action.
- Deactivates the pending requests for this user
- Records the action
- Specified by:
recordAction
in class ActionTakenEvent
- Throws:
org.kuali.rice.kew.exception.InvalidActionTakenException
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.