@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
public ProcessDocReport doRouteLevelChange(DocumentRouteLevelChange levelChangeEvent) throws Exception
PostProcessor
doRouteLevelChange
in interface PostProcessor
Exception
public ProcessDocReport doDeleteRouteHeader(DeleteEvent event) throws Exception
PostProcessor
doDeleteRouteHeader
in interface PostProcessor
Exception
public ProcessDocReport doActionTaken(ActionTakenEvent event) throws Exception
PostProcessor
doActionTaken
in interface PostProcessor
Exception
public ProcessDocReport afterActionTaken(ActionType performed, ActionTakenEvent event) throws Exception
PostProcessor
afterActionTaken
in interface PostProcessor
Exception
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
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
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
public final void setDocumentService(DocumentService documentService)
documentService
- The documentService to set.protected UserSession establishPostProcessorUserSession() throws WorkflowException
WorkflowException
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.