public class DefaultPostProcessor extends Object implements PostProcessor
Constructor and Description |
---|
DefaultPostProcessor() |
Modifier and Type | Method and Description |
---|---|
ProcessDocReport |
afterActionTaken(ActionType performed,
ActionTakenEvent event)
Executed after an action is taken against the document.
|
ProcessDocReport |
afterProcess(AfterProcessEvent event)
Executed after processing by the workflow engine has completed.
|
ProcessDocReport |
beforeProcess(BeforeProcessEvent event)
Executed prior to processing by the workflow engine.
|
ProcessDocReport |
doActionTaken(ActionTakenEvent event)
Executed whenever an action is taken against the document.
|
ProcessDocReport |
doDeleteRouteHeader(DeleteEvent event)
Executed whenever a deletion of the document is required.
|
ProcessDocReport |
doRouteLevelChange(DocumentRouteLevelChange levelChangeEvent)
Executed whenever the document transitions from one node to another.
|
ProcessDocReport |
doRouteStatusChange(DocumentRouteStatusChange statusChangeEvent)
Executed whenever the status of the document changes.
|
List<String> |
getDocumentIdsToLock(DocumentLockingEvent lockingEvent)
Executed prior to document locking in the workflow engine.
|
public DefaultPostProcessor()
public ProcessDocReport doRouteStatusChange(DocumentRouteStatusChange statusChangeEvent) throws Exception
PostProcessor
doRouteStatusChange
in interface PostProcessor
Exception
public ProcessDocReport doRouteLevelChange(DocumentRouteLevelChange levelChangeEvent) throws Exception
PostProcessor
doRouteLevelChange
in interface PostProcessor
Exception
public ProcessDocReport doDeleteRouteHeader(DeleteEvent event) throws Exception
PostProcessor
doDeleteRouteHeader
in interface PostProcessor
Exception
public ProcessDocReport doActionTaken(ActionTakenEvent event) throws Exception
PostProcessor
doActionTaken
in interface PostProcessor
Exception
public ProcessDocReport afterActionTaken(ActionType performed, ActionTakenEvent event) throws Exception
PostProcessor
afterActionTaken
in interface PostProcessor
Exception
public ProcessDocReport beforeProcess(BeforeProcessEvent event) throws Exception
PostProcessor
beforeProcess
in interface PostProcessor
Exception
public ProcessDocReport afterProcess(AfterProcessEvent event) throws Exception
PostProcessor
afterProcess
in interface PostProcessor
Exception
public List<String> getDocumentIdsToLock(DocumentLockingEvent lockingEvent) 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
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.