org.kuali.rice.kew.actions
Class LogDocumentActionAction
java.lang.Object
   org.kuali.rice.kew.actions.ActionTakenEvent
org.kuali.rice.kew.actions.ActionTakenEvent
       org.kuali.rice.kew.actions.LogDocumentActionAction
org.kuali.rice.kew.actions.LogDocumentActionAction
- public class LogDocumentActionAction 
- extends ActionTakenEvent
Simply records an action taken with an annotation.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
 
 
 
 
| 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 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
LogDocumentActionAction
public LogDocumentActionAction(DocumentRouteHeaderValue rh,
                               PrincipalContract principal)
- Parameters:
- rh- RouteHeader for the document upon which the action is taken.
- principal- User taking the action.
LogDocumentActionAction
public LogDocumentActionAction(DocumentRouteHeaderValue rh,
                               PrincipalContract principal,
                               String annotation)
- Parameters:
- rh- RouteHeader for the document upon which the action is taken.
- principal- User taking the action.
- annotation- User comment on the action taken
validateActionRules
public String validateActionRules()
- Description copied from class: ActionTakenEvent
- Placeholder for validation rules for each action
 
- 
- Specified by:
- validateActionRulesin class- ActionTakenEvent
 
- 
- Returns:
- error message string of specific error message
 
recordAction
public void recordAction()
                  throws InvalidActionTakenException
- Records the non-routed document action. - Checks to make sure the document status allows the action. Records the action.
 
- 
- Specified by:
- recordActionin class- ActionTakenEvent
 
- 
- Throws:
- InvalidActionTakenException
 
validateActionRules
public String validateActionRules(List<ActionRequestValue> actionRequests)
- 
- Specified by:
- validateActionRulesin class- ActionTakenEvent
 
- 
 
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.