|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krad.workflow.postprocessor.KualiPostProcessor
public class KualiPostProcessor
This class is the public entry point by which workflow communicates status changes, level changes, and other useful changes. Note that this class delegates all of these activities to the PostProcessorService, which does the actual work. This is done to ensure proper transaction scoping, and to resolve some issues present otherwise. Because of this, its important to understand that a transaction will be started at the PostProcessorService method call, so any work that needs to be done within the same transaction needs to happen inside that service implementation, rather than in here.
| Constructor Summary | |
|---|---|
KualiPostProcessor()
|
|
| Method Summary | |
|---|---|
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)
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 documentLockingEvent)
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 KualiPostProcessor()
| Method Detail |
|---|
public ProcessDocReport doRouteStatusChange(DocumentRouteStatusChange statusChangeEvent)
throws Exception
PostProcessor
doRouteStatusChange in interface PostProcessorExceptionPostProcessor.doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange)
public ProcessDocReport doActionTaken(ActionTakenEvent event)
throws Exception
PostProcessor
doActionTaken in interface PostProcessorExceptionPostProcessor.doActionTaken(org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent)
public ProcessDocReport doDeleteRouteHeader(DeleteEvent event)
throws Exception
PostProcessor
doDeleteRouteHeader in interface PostProcessorExceptionPostProcessor.doDeleteRouteHeader(org.kuali.rice.kew.framework.postprocessor.DeleteEvent)
public ProcessDocReport doRouteLevelChange(DocumentRouteLevelChange levelChangeEvent)
throws Exception
PostProcessor
doRouteLevelChange in interface PostProcessorExceptionPostProcessor.doRouteLevelChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteLevelChange)
public ProcessDocReport beforeProcess(BeforeProcessEvent beforeProcessEvent)
throws Exception
PostProcessor
beforeProcess in interface PostProcessorExceptionPostProcessor.beforeProcess(org.kuali.rice.kew.framework.postprocessor.BeforeProcessEvent)
public ProcessDocReport afterProcess(AfterProcessEvent afterProcessEvent)
throws Exception
PostProcessor
afterProcess in interface PostProcessorExceptionPostProcessor.afterProcess(org.kuali.rice.kew.framework.postprocessor.AfterProcessEvent)
public List<String> getDocumentIdsToLock(DocumentLockingEvent documentLockingEvent)
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 PostProcessorExceptionPostProcessor.getDocumentIdsToLock(org.kuali.rice.kew.framework.postprocessor.DocumentLockingEvent)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||