org.kuali.rice.kew.engine
Class StandardWorkflowEngine
java.lang.Object
org.kuali.rice.kew.engine.StandardWorkflowEngine
- All Implemented Interfaces:
- WorkflowEngine
- Direct Known Subclasses:
- BlanketApproveEngine, SimulationEngine
public class StandardWorkflowEngine
- extends Object
- implements WorkflowEngine
The standard and supported implementation of the WorkflowEngine. Runs a processing loop against a given
Document, processing nodes on the document until the document is completed or a node halts the
processing.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
helper
protected final RouteHelper helper
routeNodeService
protected RouteNodeService routeNodeService
routeHeaderService
protected RouteHeaderService routeHeaderService
parameterService
protected ParameterService parameterService
config
protected OrchestrationConfig config
StandardWorkflowEngine
public StandardWorkflowEngine()
StandardWorkflowEngine
protected StandardWorkflowEngine(RouteNodeService routeNodeService,
RouteHeaderService routeHeaderService,
ParameterService parameterService,
OrchestrationConfig config)
isRunPostProcessorLogic
public boolean isRunPostProcessorLogic()
process
public void process(String documentId,
String nodeInstanceId)
throws Exception
- Specified by:
process
in interface WorkflowEngine
- Throws:
Exception
processNodeInstance
protected ProcessContext processNodeInstance(RouteContext context,
RouteHelper helper)
throws Exception
- Throws:
Exception
saveNode
protected void saveNode(RouteContext context,
RouteNodeInstance nodeInstance)
nodePostProcess
protected DocumentRouteHeaderValue nodePostProcess(RouteContext context)
throws InvalidActionTakenException
- Throws:
InvalidActionTakenException
lockAdditionalDocuments
protected void lockAdditionalDocuments(DocumentRouteHeaderValue document)
throws Exception
- Throws:
Exception
initializeDocument
public void initializeDocument(DocumentRouteHeaderValue document)
- This method initializes the document by materializing and activating the
first node instance on the document.
- Specified by:
initializeDocument
in interface WorkflowEngine
getRouteNodeService
protected RouteNodeService getRouteNodeService()
getRouteHeaderService
protected RouteHeaderService getRouteHeaderService()
getParameterService
protected ParameterService getParameterService()
setRouteNodeService
public void setRouteNodeService(RouteNodeService routeNodeService)
setRouteHeaderService
public void setRouteHeaderService(RouteHeaderService routeHeaderService)
setParameterService
public void setParameterService(ParameterService parameterService)
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.