|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kew.postprocessor.DefaultPostProcessor
public class DefaultPostProcessor
A simple default implementation of the PostProcessor which can be used as a superclass for post processor which don't want to implement all the methods on the interface. Simply returns a "true" ProcessDocReport for all events exception for deletion.
Constructor Summary | |
---|---|
DefaultPostProcessor()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultPostProcessor()
Method Detail |
---|
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 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |