@Transactional public class PostProcessorServiceImpl extends Object implements PostProcessorService
Constructor and Description |
---|
PostProcessorServiceImpl() |
Modifier and Type | Method and Description |
---|---|
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.
|
public PostProcessorServiceImpl()
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 itafterProcess
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 itbeforeProcess
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 itgetDocumentIdsToLock
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
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.