org.kuali.rice.kew.actions
Class AdHocAction
java.lang.Object
org.kuali.rice.kew.actions.ActionTakenEvent
org.kuali.rice.kew.actions.AdHocAction
public class AdHocAction
- extends ActionTakenEvent
Responsible for creating adhoc requests that are requested from the client.
- 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 |
NO_ACTION_TAKEN_CODE
private static final String NO_ACTION_TAKEN_CODE
- AdHoc actions don't actually result in an action being taken...it's a special case that generates other action requests
actionRequested
private String actionRequested
nodeName
private String nodeName
responsibilityDesc
private String responsibilityDesc
forceAction
private Boolean forceAction
recipient
private Recipient recipient
annotation
private String annotation
requestLabel
private String requestLabel
AdHocAction
public AdHocAction(DocumentRouteHeaderValue routeHeader,
KimPrincipal principal)
AdHocAction
public AdHocAction(DocumentRouteHeaderValue routeHeader,
KimPrincipal principal,
String annotation,
String actionRequested,
String nodeName,
Recipient recipient,
String responsibilityDesc,
Boolean forceAction,
String requestLabel)
recordAction
public void recordAction()
throws InvalidActionTakenException
- Specified by:
recordAction
in class ActionTakenEvent
- Throws:
InvalidActionTakenException
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
validateActionRulesInternal
private String validateActionRulesInternal(List<RouteNodeInstance> targetNodes)
adhocRouteAction
private String adhocRouteAction(List<RouteNodeInstance> targetNodes,
boolean forValidationOnly)
createAdHocRequest
private String createAdHocRequest(RouteNodeInstance routeNode,
boolean forValidationOnly)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.