org.kuali.rice.kew.engine
Class BlanketApproveEngine

java.lang.Object
  extended by org.kuali.rice.kew.engine.StandardWorkflowEngine
      extended by org.kuali.rice.kew.engine.BlanketApproveEngine
All Implemented Interfaces:
WorkflowEngine

public class BlanketApproveEngine
extends StandardWorkflowEngine

A WorkflowEngine implementation which orchestrates the document through the blanket approval process.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
 
Fields inherited from class org.kuali.rice.kew.engine.StandardWorkflowEngine
helper
 
Constructor Summary
BlanketApproveEngine(OrchestrationConfig config)
           
BlanketApproveEngine(OrchestrationConfig config, boolean runPostProcessorLogic)
           
BlanketApproveEngine(Set nodeNames, ActionTakenValue actionTaken)
           
BlanketApproveEngine(String nodeName, ActionTakenValue actionTaken)
           
 
Method Summary
 void process(Long documentId, Long nodeInstanceId)
          Orchestrates the document through the blanket approval process.
 
Methods inherited from class org.kuali.rice.kew.engine.StandardWorkflowEngine
getRouteHeaderService, getRouteNodeService, initializeDocument, isRunPostProcessorLogic, lockAdditionalDocuments, nodePostProcess, processNodeInstance, saveNode, setRunPostProcessorLogic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlanketApproveEngine

public BlanketApproveEngine(OrchestrationConfig config,
                            boolean runPostProcessorLogic)

BlanketApproveEngine

public BlanketApproveEngine(OrchestrationConfig config)

BlanketApproveEngine

public BlanketApproveEngine(String nodeName,
                            ActionTakenValue actionTaken)

BlanketApproveEngine

public BlanketApproveEngine(Set nodeNames,
                            ActionTakenValue actionTaken)
Method Detail

process

public void process(Long documentId,
                    Long nodeInstanceId)
             throws Exception
Orchestrates the document through the blanket approval process. The termination of the process is keyed off of the Set of node names. If there are no node names, then the document will be blanket approved past the terminal node(s) in the document.

Specified by:
process in interface WorkflowEngine
Overrides:
process in class StandardWorkflowEngine
Throws:
Exception


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.