| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kew.engine.node.hierarchyrouting.HierarchyRoutingNode
public class HierarchyRoutingNode
Generic hierarchy routing node
| Field Summary | |
|---|---|
| static String | HIERARCHY_PROVIDERThe RouteNode configuration parameter that specifies the hierarchy provider implementation | 
| protected static String | JOIN_PROCESS_NAME | 
| protected  org.apache.log4j.Logger | LOG | 
| protected static String | NO_STOP_NAME | 
| protected static String | REQUEST_PROCESS_NAME | 
| protected static String | SPLIT_PROCESS_NAME | 
| static String | STOP_IDRouteNodeInstance NodeState key for id of stop | 
| Constructor Summary | |
|---|---|
| HierarchyRoutingNode() | |
| Method Summary | |
|---|---|
| protected  HierarchyProvider | getHierarchyProvider(RouteNodeInstance nodeInstance,
                                         RouteContext context)Loads hierarchy provider class via the GlobalResourceLoader | 
| protected  ProcessDefinitionBo | getPrototypeProcess(RouteNode node,
                                       DocumentType documentType)Places a ProcessDefinition on the documentType wrapping the node and setting the node as the process's initalRouteNode | 
| protected  RouteNode | getStopRequestNode(HierarchyProvider.Stop stop,
                                     DocumentType documentType) | 
| protected  boolean | isDescendent(HierarchyProvider provider,
                         HierarchyProvider.Stop parent,
                         HierarchyProvider.Stop otherStop) | 
|  DynamicResult | transitioningInto(RouteContext context,
                                   RouteNodeInstance dynamicNodeInstance,
                                   RouteHelper helper)Invoked when the engine first encounters this DynamicNode. | 
|  DynamicResult | transitioningOutOf(RouteContext context,
                                     RouteHelper helper)Invoked everytime a node in the dynamic process completes. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected final org.apache.log4j.Logger LOG
public static final String HIERARCHY_PROVIDER
public static final String STOP_ID
protected static final String SPLIT_PROCESS_NAME
protected static final String JOIN_PROCESS_NAME
protected static final String REQUEST_PROCESS_NAME
protected static final String NO_STOP_NAME
| Constructor Detail | 
|---|
public HierarchyRoutingNode()
| Method Detail | 
|---|
protected HierarchyProvider getHierarchyProvider(RouteNodeInstance nodeInstance,
                                                 RouteContext context)
nodeInstance - the current RouteNodeInstancecontext - the current RouteContext
public DynamicResult transitioningInto(RouteContext context,
                                       RouteNodeInstance dynamicNodeInstance,
                                       RouteHelper helper)
                                throws Exception
DynamicNodeDynamicResult containing 
 the first RouteNodeInstance in the dynamic process.
transitioningInto in interface DynamicNodeException
public DynamicResult transitioningOutOf(RouteContext context,
                                        RouteHelper helper)
                                 throws Exception
DynamicNodeDynamicResult with the 
 RouteNodeInstance (or instances) of the next node in the dynamic graph.  If this returns no next 
 node then the dynamic process will be considered completed.
transitioningOutOf in interface DynamicNodeException
protected boolean isDescendent(HierarchyProvider provider,
                               HierarchyProvider.Stop parent,
                               HierarchyProvider.Stop otherStop)
protected ProcessDefinitionBo getPrototypeProcess(RouteNode node,
                                                  DocumentType documentType)
node - documentType - 
protected RouteNode getStopRequestNode(HierarchyProvider.Stop stop,
                                       DocumentType documentType)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||