|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PostProcessor
Hook for applications to perform logic due to workflow events from the engine.
Method Summary | |
---|---|
ProcessDocReport |
afterActionTaken(ActionType actionPerformed,
ActionTakenEvent event)
Executed after an action is taken against the document. |
ProcessDocReport |
afterProcess(AfterProcessEvent processEvent)
Executed after processing by the workflow engine has completed. |
ProcessDocReport |
beforeProcess(BeforeProcessEvent processEvent)
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. |
Method Detail |
---|
ProcessDocReport doRouteStatusChange(DocumentRouteStatusChange statusChangeEvent) throws Exception
Exception
ProcessDocReport doRouteLevelChange(DocumentRouteLevelChange levelChangeEvent) throws Exception
Exception
ProcessDocReport doDeleteRouteHeader(DeleteEvent event) throws Exception
Exception
ProcessDocReport doActionTaken(ActionTakenEvent event) throws Exception
Exception
ProcessDocReport afterActionTaken(ActionType actionPerformed, ActionTakenEvent event) throws Exception
Exception
ProcessDocReport beforeProcess(BeforeProcessEvent processEvent) throws Exception
Exception
ProcessDocReport afterProcess(AfterProcessEvent processEvent) throws Exception
Exception
List<String> getDocumentIdsToLock(DocumentLockingEvent lockingEvent) throws Exception
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.
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |