Package org.kuali.rice.krad.service.impl
Class PostProcessorServiceImpl
java.lang.Object
org.kuali.rice.krad.service.impl.PostProcessorServiceImpl
- All Implemented Interfaces:
org.kuali.rice.kew.framework.postprocessor.PostProcessor,PostProcessorService
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.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.kuali.rice.kew.framework.postprocessor.ProcessDocReportafterActionTaken(org.kuali.rice.kew.api.action.ActionType performed, org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent event) org.kuali.rice.kew.framework.postprocessor.ProcessDocReportafterProcess(org.kuali.rice.kew.framework.postprocessor.AfterProcessEvent event) This method first checks to see if the document can be retrieved by theDocumentService.org.kuali.rice.kew.framework.postprocessor.ProcessDocReportbeforeProcess(org.kuali.rice.kew.framework.postprocessor.BeforeProcessEvent event) This method first checks to see if the document can be retrieved by theDocumentService.org.kuali.rice.kew.framework.postprocessor.ProcessDocReportdoActionTaken(org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent event) org.kuali.rice.kew.framework.postprocessor.ProcessDocReportdoDeleteRouteHeader(org.kuali.rice.kew.framework.postprocessor.DeleteEvent event) org.kuali.rice.kew.framework.postprocessor.ProcessDocReportdoRouteLevelChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteLevelChange levelChangeEvent) org.kuali.rice.kew.framework.postprocessor.ProcessDocReportdoRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent) protected UserSessionEstablishes the UserSession if one does not already exist.getDocumentIdsToLock(org.kuali.rice.kew.framework.postprocessor.DocumentLockingEvent event) This method first checks to see if the document can be retrieved by theDocumentService.final voidsetDocumentService(DocumentService documentService) Sets the documentService attribute value.
-
Constructor Details
-
PostProcessorServiceImpl
public PostProcessorServiceImpl()
-
-
Method Details
-
doRouteStatusChange
public org.kuali.rice.kew.framework.postprocessor.ProcessDocReport doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent) throws Exception - Specified by:
doRouteStatusChangein interfaceorg.kuali.rice.kew.framework.postprocessor.PostProcessor- Throws:
Exception
-
doRouteLevelChange
public org.kuali.rice.kew.framework.postprocessor.ProcessDocReport doRouteLevelChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteLevelChange levelChangeEvent) throws Exception - Specified by:
doRouteLevelChangein interfaceorg.kuali.rice.kew.framework.postprocessor.PostProcessor- Throws:
Exception
-
doDeleteRouteHeader
public org.kuali.rice.kew.framework.postprocessor.ProcessDocReport doDeleteRouteHeader(org.kuali.rice.kew.framework.postprocessor.DeleteEvent event) throws Exception - Specified by:
doDeleteRouteHeaderin interfaceorg.kuali.rice.kew.framework.postprocessor.PostProcessor- Throws:
Exception
-
doActionTaken
public org.kuali.rice.kew.framework.postprocessor.ProcessDocReport doActionTaken(org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent event) throws Exception - Specified by:
doActionTakenin interfaceorg.kuali.rice.kew.framework.postprocessor.PostProcessor- Throws:
Exception
-
afterActionTaken
public org.kuali.rice.kew.framework.postprocessor.ProcessDocReport afterActionTaken(org.kuali.rice.kew.api.action.ActionType performed, org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent event) throws Exception - Specified by:
afterActionTakenin interfaceorg.kuali.rice.kew.framework.postprocessor.PostProcessor- Throws:
Exception
-
afterProcess
public org.kuali.rice.kew.framework.postprocessor.ProcessDocReport afterProcess(org.kuali.rice.kew.framework.postprocessor.AfterProcessEvent event) throws Exception This method first checks to see if the document can be retrieved by theDocumentService. If the document is found theDocument.afterWorkflowEngineProcess(boolean)method will be invoked on it- Specified by:
afterProcessin interfaceorg.kuali.rice.kew.framework.postprocessor.PostProcessor- Throws:
Exception
-
beforeProcess
public org.kuali.rice.kew.framework.postprocessor.ProcessDocReport beforeProcess(org.kuali.rice.kew.framework.postprocessor.BeforeProcessEvent event) throws Exception This method first checks to see if the document can be retrieved by theDocumentService. If the document is found theDocument.beforeWorkflowEngineProcess()method will be invoked on it- Specified by:
beforeProcessin interfaceorg.kuali.rice.kew.framework.postprocessor.PostProcessor- Throws:
Exception
-
getDocumentIdsToLock
public List<String> getDocumentIdsToLock(org.kuali.rice.kew.framework.postprocessor.DocumentLockingEvent event) throws Exception This method first checks to see if the document can be retrieved by theDocumentService. If the document is found theDocument.beforeWorkflowEngineProcess()method will be invoked on it- Specified by:
getDocumentIdsToLockin interfaceorg.kuali.rice.kew.framework.postprocessor.PostProcessor- Throws:
Exception
-
setDocumentService
Sets the documentService attribute value.- Parameters:
documentService- The documentService to set.
-
establishPostProcessorUserSession
protected UserSession establishPostProcessorUserSession() throws org.kuali.rice.kew.api.exception.WorkflowExceptionEstablishes the UserSession if one does not already exist.- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-