Package org.kuali.rice.kew.actions
Class SuperUserApproveEvent
java.lang.Object
org.kuali.rice.kew.actions.ActionTakenEvent
org.kuali.rice.kew.actions.SuperUserApproveEvent
Does a super user approve action.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Field Summary
FieldsFields inherited from class org.kuali.rice.kew.actions.ActionTakenEvent
annotation, DEFAULT_ANNOTATION, DEFAULT_QUEUE_DOCUMENT_AFTER_ACTION, DEFAULT_RUN_POSTPROCESSOR_LOGIC, routeHeader -
Constructor Summary
ConstructorsConstructorDescriptionSuperUserApproveEvent(DocumentRouteHeaderValue routeHeader, org.kuali.rice.kim.api.identity.principal.PrincipalContract principal) SuperUserApproveEvent(DocumentRouteHeaderValue routeHeader, org.kuali.rice.kim.api.identity.principal.PrincipalContract principal, String annotation, boolean runPostProcessor) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcompleteAnyOutstandingCompleteApproveRequests(ActionTakenValue actionTaken, boolean sendNotifications) protected voidprotected ActionTakenValueprotected voidprocessActionTaken(ActionTakenValue actionTaken) Allows subclasses to perform any post-processing after the action has been takenvoidvoidsetActionRequest(ActionRequestValue actionRequest) Placeholder 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
-
Field Details
-
superUserAction
-
AUTHORIZATION
-
-
Constructor Details
-
SuperUserApproveEvent
public SuperUserApproveEvent(DocumentRouteHeaderValue routeHeader, org.kuali.rice.kim.api.identity.principal.PrincipalContract principal) -
SuperUserApproveEvent
public SuperUserApproveEvent(DocumentRouteHeaderValue routeHeader, org.kuali.rice.kim.api.identity.principal.PrincipalContract principal, String annotation, boolean runPostProcessor)
-
-
Method Details
-
validateActionRules
Description copied from class:ActionTakenEventPlaceholder for validation rules for each action- Returns:
- error message string of specific error message
-
recordAction
- Throws:
InvalidActionTakenException
-
completeAnyOutstandingCompleteApproveRequests
protected void completeAnyOutstandingCompleteApproveRequests(ActionTakenValue actionTaken, boolean sendNotifications) throws Exception - Throws:
Exception
-
markDocument
- Throws:
WorkflowException
-
validateActionRules
- Specified by:
validateActionRulesin classActionTakenEvent
-
processActionRequests
- Throws:
InvalidActionTakenException
-
processActionTaken
Allows subclasses to perform any post-processing after the action has been taken -
getActionRequest
-
setActionRequest
-
getSuperUserAction
-