public class NotificationPostProcessor extends Object implements PostProcessor
Constructor and Description |
---|
NotificationPostProcessor()
Constructs a NotificationPostProcessor instance.
|
Modifier and Type | Method and Description |
---|---|
ProcessDocReport |
afterActionTaken(ActionType performed,
ActionTakenEvent event)
Executed after an action is taken against the document.
|
ProcessDocReport |
afterProcess(AfterProcessEvent afterProcessEvent)
Executed after processing by the workflow engine has completed.
|
ProcessDocReport |
beforeProcess(BeforeProcessEvent beforeProcessEvent)
Executed prior to processing by the workflow engine.
|
ProcessDocReport |
doActionTaken(ActionTakenEvent event)
Need to intercept ACKNOWLEDGE or FYI actions taken on notification workflow documents and set the local state of the
Notification to REMOVED as well.
|
ProcessDocReport |
doDeleteRouteHeader(DeleteEvent arg0)
Executed whenever a deletion of the document is required.
|
ProcessDocReport |
doRouteLevelChange(DocumentRouteLevelChange arg0)
Executed whenever the document transitions from one node to another.
|
ProcessDocReport |
doRouteStatusChange(DocumentRouteStatusChange arg0)
Executed whenever the status of the document changes.
|
List<String> |
getDocumentIdsToLock(DocumentLockingEvent documentLockingEvent)
Executed prior to document locking in the workflow engine.
|
public NotificationPostProcessor()
public ProcessDocReport doActionTaken(ActionTakenEvent event) throws Exception
doActionTaken
in interface PostProcessor
Exception
PostProcessor.doActionTaken(org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent)
public ProcessDocReport afterActionTaken(ActionType performed, ActionTakenEvent event) throws Exception
PostProcessor
afterActionTaken
in interface PostProcessor
Exception
PostProcessor.afterActionTaken(org.kuali.rice.kew.api.action.ActionType, org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent)
public ProcessDocReport doDeleteRouteHeader(DeleteEvent arg0) throws Exception
PostProcessor
doDeleteRouteHeader
in interface PostProcessor
Exception
PostProcessor.doDeleteRouteHeader(org.kuali.rice.kew.framework.postprocessor.DeleteEvent)
public ProcessDocReport doRouteLevelChange(DocumentRouteLevelChange arg0) throws Exception
PostProcessor
doRouteLevelChange
in interface PostProcessor
Exception
PostProcessor.doRouteLevelChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteLevelChange)
public ProcessDocReport doRouteStatusChange(DocumentRouteStatusChange arg0) throws Exception
PostProcessor
doRouteStatusChange
in interface PostProcessor
Exception
PostProcessor.doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange)
public ProcessDocReport beforeProcess(BeforeProcessEvent beforeProcessEvent) throws Exception
PostProcessor
beforeProcess
in interface PostProcessor
Exception
PostProcessor.beforeProcess(org.kuali.rice.kew.framework.postprocessor.BeforeProcessEvent)
public ProcessDocReport afterProcess(AfterProcessEvent afterProcessEvent) throws Exception
PostProcessor
afterProcess
in interface PostProcessor
Exception
PostProcessor.afterProcess(org.kuali.rice.kew.framework.postprocessor.AfterProcessEvent)
public List<String> getDocumentIdsToLock(DocumentLockingEvent documentLockingEvent) throws Exception
PostProcessor
Note that, by default, the id of the document that is being processed by the engine is always locked. So there is no need to return that document id in the list of document ids to lock.
getDocumentIdsToLock
in interface PostProcessor
Exception
PostProcessor.getDocumentIdsToLock(org.kuali.rice.kew.framework.postprocessor.DocumentLockingEvent)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.