com.semarchy.mdm.runtime.model.logical
Interface IWorkflowNode

All Superinterfaces:
IShape, IUniquelyNamed, Serializable
All Known Subinterfaces:
IBuiltInNode, IDETask, IDupsTask, IHumanTask

public interface IWorkflowNode
extends Serializable, IShape, IUniquelyNamed

A workflow node. i.e. a Task or an Event in the workflow

Author:
sarod

Field Summary
 
Fields inherited from interface com.semarchy.mdm.runtime.model.logical.IUniquelyNamed
SEP
 
Method Summary
 IWorkflowTransition getFirstTransitionTo(String toNodeName)
          Get the first transition to the node named toNodeName or null if no such transition.
 List<IWorkflowTransition> getIncomingTransitions()
          List of incoming transitions
 String getName()
          Name of the workflow node.
 IWorkflowTransition getOutgoingTransition(String transitionName)
          Get the outgoing transition with the given name
 List<IWorkflowTransition> getOutgoingTransitions()
          List of outgoing transitions
 List<IHumanTask> getToTasks()
          Deprecated. use getOutgoingTransitions() instead
 List<IWorkflowTransition> getTransitionsTo(String toNodeName)
          Returns the list of transition from current node to a node named toNameName.
 IWorkflowTransition getTransitionTo(String toNodeName)
          Deprecated. use getFirstTransitionTo(String) or getTransitionsTo(String) or getOutgoingTransition(String) instead.
 IHumanWorkflow getWorkflow()
           
 
Methods inherited from interface com.semarchy.mdm.runtime.model.logical.IShape
getHeight, getWidth, getX, getY
 
Methods inherited from interface com.semarchy.mdm.runtime.model.logical.IUniquelyNamed
getPrefixedUniqueName, getUniqueName
 

Method Detail

getWorkflow

IHumanWorkflow getWorkflow()

getName

String getName()
Name of the workflow node.

Returns:

getOutgoingTransitions

List<IWorkflowTransition> getOutgoingTransitions()
List of outgoing transitions

Returns:

getOutgoingTransition

IWorkflowTransition getOutgoingTransition(String transitionName)
Get the outgoing transition with the given name

Parameters:
transitionName -
Returns:
Throws:
NoSuchTransitionException - if no outgoing transition exist with this name

getTransitionTo

IWorkflowTransition getTransitionTo(String toNodeName)
                                    throws NoSuchTransitionException
Deprecated. use getFirstTransitionTo(String) or getTransitionsTo(String) or getOutgoingTransition(String) instead.

Return the first transition found that goes from current node to the node with given name.

Parameters:
toNodeName -
Returns:
Throws:
NoSuchTransitionException - if no transition found

getFirstTransitionTo

IWorkflowTransition getFirstTransitionTo(String toNodeName)
Get the first transition to the node named toNodeName or null if no such transition.

Parameters:
toNodeName -
Returns:

getTransitionsTo

List<IWorkflowTransition> getTransitionsTo(String toNodeName)
Returns the list of transition from current node to a node named toNameName.

Parameters:
toNodeName -
Returns:
an unmodifiable list of transitions

getToTasks

List<IHumanTask> getToTasks()
Deprecated. use getOutgoingTransitions() instead

List of tasks that are reachable using the Outgoing Transitions

Returns:

getIncomingTransitions

List<IWorkflowTransition> getIncomingTransitions()
List of incoming transitions

Returns:


Copyright © 2015. All Rights Reserved.