Package org.kuali.rice.kew.actions
Class RevokeAdHocAction
java.lang.Object
org.kuali.rice.kew.actions.ActionTakenEvent
org.kuali.rice.kew.actions.RevokeAdHocAction
The RevokeAdHocApprove revokes the specified AdHoc requests.
- 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
ConstructorsConstructorDescriptionRevokeAdHocAction(DocumentRouteHeaderValue routeHeader, org.kuali.rice.kim.api.identity.principal.PrincipalContract principal) RevokeAdHocAction(DocumentRouteHeaderValue routeHeader, org.kuali.rice.kim.api.identity.principal.PrincipalContract principal, String actionRequestId, String annotation) RevokeAdHocAction(DocumentRouteHeaderValue routeHeader, org.kuali.rice.kim.api.identity.principal.PrincipalContract principal, AdHocRevoke revoke, String annotation) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanmatchesActionRequest(AdHocRevoke adHocRevokeCommand, ActionRequestValue actionRequest) Determines if the given action request is an ad hoc request which matches this set of criteria.voidRecords the approve actionPlaceholder for validation rules for each actionvalidateActionRules(List<ActionRequestValue> actionRequests) Methods inherited from class org.kuali.rice.kew.actions.ActionTakenEvent
filterActionRequestsByCode, findDelegatorForActionRequests, generateAcknowledgementsToPreviousActionTakers, getActionPerformedCode, 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
-
RevokeAdHocAction
public RevokeAdHocAction(DocumentRouteHeaderValue routeHeader, org.kuali.rice.kim.api.identity.principal.PrincipalContract principal) -
RevokeAdHocAction
public RevokeAdHocAction(DocumentRouteHeaderValue routeHeader, org.kuali.rice.kim.api.identity.principal.PrincipalContract principal, String actionRequestId, String annotation) -
RevokeAdHocAction
public RevokeAdHocAction(DocumentRouteHeaderValue routeHeader, org.kuali.rice.kim.api.identity.principal.PrincipalContract principal, AdHocRevoke revoke, String annotation)
-
-
Method Details
-
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
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:
recordActionin classActionTakenEvent- Throws:
InvalidActionTakenException
-
matchesActionRequest
protected boolean matchesActionRequest(AdHocRevoke adHocRevokeCommand, ActionRequestValue actionRequest) Determines if the given action request is an ad hoc request which matches this set of criteria.
-