org.kuali.rice.kew.actions
Class SuperUserActionRequestApproveEvent
java.lang.Object
org.kuali.rice.kew.actions.ActionTakenEvent
org.kuali.rice.kew.actions.SuperUserActionTakenEvent
org.kuali.rice.kew.actions.SuperUserActionRequestApproveEvent
public class SuperUserActionRequestApproveEvent
- extends SuperUserActionTakenEvent
Super user Approves a single action request.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class org.kuali.rice.kew.actions.ActionTakenEvent |
filterActionRequestsByCode, findDelegatorForActionRequests, getActionPerformedCode, getActionRequestService, getActionTakenCode, getDocumentId, getGroupIdsForPrincipal, getPrincipal, getRouteHeader, 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 |
UNDEFINED_ACTION_TAKEN_CODE
private static final String UNDEFINED_ACTION_TAKEN_CODE
- This is the only action which is polymorphic...the action taken code is dynamically determined
based on action requested. All other actions' action taken code is immutable, so the field could otherwise
be set to final and initialized in the constructor...however it would not be advisable to perform in the
constructor the work required by this class to determine the action taken. So for now the class initializes
the action taken to null (this would be the behavior anyway if the constructor did not enforce an action taken code
to be supplied). An alternative would be to do away with the stored superclass field and simply delegate to a subclass
getActionTakenCode implementation when necessary. It is also not clear that this would be a good choice as it may be
called multiple times in arbitrary contexts.
LOG
private static final org.apache.log4j.Logger LOG
actionRequestId
private Long actionRequestId
SuperUserActionRequestApproveEvent
public SuperUserActionRequestApproveEvent(DocumentRouteHeaderValue routeHeader,
PrincipalContract principal)
SuperUserActionRequestApproveEvent
public SuperUserActionRequestApproveEvent(DocumentRouteHeaderValue routeHeader,
PrincipalContract principal,
Long actionRequestId,
String annotation,
boolean runPostProcessor)
setActionTaken
public void setActionTaken()
processActionRequests
protected void processActionRequests()
throws InvalidActionTakenException
- Overrides:
processActionRequests
in class SuperUserActionTakenEvent
- Throws:
InvalidActionTakenException
recordAction
public void recordAction()
throws InvalidActionTakenException
- Overrides:
recordAction
in class SuperUserActionTakenEvent
- Throws:
InvalidActionTakenException
markDocument
protected void markDocument()
throws WorkflowException
- Specified by:
markDocument
in class SuperUserActionTakenEvent
- Throws:
WorkflowException
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.