|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.service.impl.PostProcessorServiceImpl
@Transactional public class PostProcessorServiceImpl
This class is the postProcessor for the Kuali application, and it is responsible for plumbing events up to documents using the built into the document methods for handling route status and other routing changes that take place asyncronously and potentially on a different server.
Constructor Summary | |
---|---|
PostProcessorServiceImpl()
|
Method Summary | |
---|---|
ProcessDocReport |
afterActionTaken(ActionType performed,
ActionTakenEvent event)
Executed after an action is taken against the document. |
ProcessDocReport |
afterProcess(AfterProcessEvent event)
This method first checks to see if the document can be retrieved by the DocumentService . |
ProcessDocReport |
beforeProcess(BeforeProcessEvent event)
This method first checks to see if the document can be retrieved by the DocumentService . |
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. |
protected UserSession |
establishPostProcessorUserSession()
Establishes the UserSession if one does not already exist. |
List<String> |
getDocumentIdsToLock(DocumentLockingEvent event)
This method first checks to see if the document can be retrieved by the DocumentService . |
void |
setDocumentService(DocumentService documentService)
Sets the documentService attribute value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PostProcessorServiceImpl()
Method Detail |
---|
public ProcessDocReport doRouteStatusChange(DocumentRouteStatusChange statusChangeEvent) throws Exception
PostProcessor
doRouteStatusChange
in interface PostProcessor
Exception
PostProcessor.doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange)
public ProcessDocReport doRouteLevelChange(DocumentRouteLevelChange levelChangeEvent) throws Exception
PostProcessor
doRouteLevelChange
in interface PostProcessor
Exception
PostProcessor.doRouteLevelChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteLevelChange)
public ProcessDocReport doDeleteRouteHeader(DeleteEvent event) throws Exception
PostProcessor
doDeleteRouteHeader
in interface PostProcessor
Exception
PostProcessor.doDeleteRouteHeader(org.kuali.rice.kew.framework.postprocessor.DeleteEvent)
public ProcessDocReport doActionTaken(ActionTakenEvent event) throws Exception
PostProcessor
doActionTaken
in interface PostProcessor
Exception
PostProcessor.doActionTaken(org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent)
public ProcessDocReport afterActionTaken(ActionType performed, ActionTakenEvent event) throws Exception
PostProcessor
afterActionTaken
in interface PostProcessor
Exception
PostProcessor.afterActionTaken(org.kuali.rice.kew.api.action.ActionType, org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent)
public ProcessDocReport afterProcess(AfterProcessEvent event) throws Exception
DocumentService
. If the document is
found the Document.afterWorkflowEngineProcess(boolean)
method will be invoked on it
afterProcess
in interface PostProcessor
Exception
PostProcessor.afterProcess(org.kuali.rice.kew.framework.postprocessor.AfterProcessEvent)
public ProcessDocReport beforeProcess(BeforeProcessEvent event) throws Exception
DocumentService
. If the document is
found the Document.beforeWorkflowEngineProcess()
method will be invoked on it
beforeProcess
in interface PostProcessor
Exception
PostProcessor.beforeProcess(org.kuali.rice.kew.framework.postprocessor.BeforeProcessEvent)
public List<String> getDocumentIdsToLock(DocumentLockingEvent event) throws Exception
DocumentService
. If the document is
found the Document.beforeWorkflowEngineProcess()
method will be invoked on it
getDocumentIdsToLock
in interface PostProcessor
Exception
PostProcessor.beforeProcess(org.kuali.rice.kew.framework.postprocessor.BeforeProcessEvent)
public final void setDocumentService(DocumentService documentService)
documentService
- The documentService to set.protected UserSession establishPostProcessorUserSession() throws WorkflowException
WorkflowException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |