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
PostProcessordoRouteStatusChange in interface PostProcessorExceptionpublic ProcessDocReport doRouteLevelChange(DocumentRouteLevelChange levelChangeEvent) throws Exception
PostProcessordoRouteLevelChange in interface PostProcessorExceptionpublic ProcessDocReport doDeleteRouteHeader(DeleteEvent event) throws Exception
PostProcessordoDeleteRouteHeader in interface PostProcessorExceptionpublic ProcessDocReport doActionTaken(ActionTakenEvent event) throws Exception
PostProcessordoActionTaken in interface PostProcessorExceptionpublic ProcessDocReport afterActionTaken(ActionType performed, ActionTakenEvent event) throws Exception
PostProcessorafterActionTaken in interface PostProcessorExceptionpublic ProcessDocReport beforeProcess(BeforeProcessEvent event) throws Exception
PostProcessorbeforeProcess in interface PostProcessorExceptionpublic ProcessDocReport afterProcess(AfterProcessEvent event) throws Exception
PostProcessorafterProcess in interface PostProcessorExceptionpublic List<String> getDocumentIdsToLock(DocumentLockingEvent lockingEvent) throws Exception
PostProcessorNote 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 PostProcessorExceptionCopyright © 2005–2015 The Kuali Foundation. All rights reserved.