|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kns.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 | |
---|---|
boolean |
afterProcess(AfterProcessEventDTO afterProcessEvent)
The document has just completed processing by the Workflow engine. |
boolean |
beforeProcess(BeforeProcessEventDTO beforeProcessEvent)
The document is about to be processed by the Workflow engine. |
boolean |
doActionTaken(ActionTakenEventDTO event)
KEW is signaling that the document has had an action taken on it by a user |
boolean |
doDeleteRouteHeader(DeleteEventDTO event)
KEW is signaling that the document should be deleted. |
boolean |
doRouteLevelChange(DocumentRouteLevelChangeDTO levelChangeEvent)
The document has changed route level. |
boolean |
doRouteStatusChange(DocumentRouteStatusChangeDTO statusChangeEvent)
The document has changed route status. |
Long[] |
getDocumentIdsToLock(DocumentLockingEventDTO 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 boolean doRouteStatusChange(DocumentRouteStatusChangeDTO statusChangeEvent) throws RemoteException
PostProcessorRemote
doRouteStatusChange
in interface PostProcessorRemote
RemoteException
PostProcessorRemote.doRouteStatusChange(org.kuali.rice.kew.dto.DocumentRouteStatusChangeDTO)
public boolean doActionTaken(ActionTakenEventDTO event) throws RemoteException
PostProcessorRemote
doActionTaken
in interface PostProcessorRemote
RemoteException
PostProcessorRemote.doActionTaken(org.kuali.rice.kew.dto.ActionTakenEventDTO)
public boolean doDeleteRouteHeader(DeleteEventDTO event) throws RemoteException
PostProcessorRemote
doDeleteRouteHeader
in interface PostProcessorRemote
RemoteException
PostProcessorRemote.doDeleteRouteHeader(org.kuali.rice.kew.dto.DeleteEventDTO)
public boolean doRouteLevelChange(DocumentRouteLevelChangeDTO levelChangeEvent) throws RemoteException
PostProcessorRemote
doRouteLevelChange
in interface PostProcessorRemote
RemoteException
PostProcessorRemote.doRouteLevelChange(org.kuali.rice.kew.dto.DocumentRouteLevelChangeDTO)
public boolean beforeProcess(BeforeProcessEventDTO beforeProcessEvent) throws Exception
PostProcessorRemote
beforeProcess
in interface PostProcessorRemote
beforeProcessEvent
- - holder for data from the engine's process
Exception
- A general Exception will put the document into Exception routingPostProcessorRemote.beforeProcess(org.kuali.rice.kew.dto.BeforeProcessEventDTO)
public boolean afterProcess(AfterProcessEventDTO afterProcessEvent) throws Exception
PostProcessorRemote
afterProcess
in interface PostProcessorRemote
afterProcessEvent
- - holder for data from the engine's process including whether the engine was successful or not
Exception
- A general Exception will put the document into Exception routingPostProcessorRemote.afterProcess(org.kuali.rice.kew.dto.AfterProcessEventDTO)
public Long[] getDocumentIdsToLock(DocumentLockingEventDTO documentLockingEvent) throws Exception
PostProcessorRemote
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 array of document ids to lock.
getDocumentIdsToLock
in interface PostProcessorRemote
Exception
PostProcessorRemote.getDocumentIdsToLock(org.kuali.rice.kew.dto.DocumentLockingEventDTO)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |