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

All Superinterfaces:
IShape, IUniquelyNamed, IWorkflowNode, Serializable
All Known Subinterfaces:
IDETask, IDupsTask

public interface IHumanTask
extends IWorkflowNode, IUniquelyNamed, Serializable


Field Summary
static String HUMAN_TASK_PREFIX
           
 
Fields inherited from interface com.semarchy.mdm.runtime.model.logical.IUniquelyNamed
SEP
 
Method Summary
 String getAssignedToRoleName()
           
 IWorkflowTransition getCancelTransition()
          The first Transition to Cancel Node or null if not isCancelEnabled()
 String getDisplayName(Locale pLocale)
           
 IWorkflowTransition getSubmitTransition()
          The first Transition to Submit Node or null if not isSubmitEnabled()
 IWorkflowTransition getTransitionFromStart()
          Returns the transition from Start node to current node if task is isStartTask() or null if task is not a start task.
 IHumanWorkflow getWorkflow()
          The workflow to which this task belongs
 boolean isCancelEnabled()
          Returns true if workflow can be canceled from this task.
 boolean isStartTask()
          Returns true if workflow can be started to this task.
 boolean isSubmitEnabled()
          Returns true if workflow can be submitted from this task.
 
Methods inherited from interface com.semarchy.mdm.runtime.model.logical.IWorkflowNode
getFirstTransitionTo, getIncomingTransitions, getName, getOutgoingTransition, getOutgoingTransitions, getToTasks, getTransitionsTo, getTransitionTo
 
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
 

Field Detail

HUMAN_TASK_PREFIX

static final String HUMAN_TASK_PREFIX
See Also:
Constant Field Values
Method Detail

getWorkflow

IHumanWorkflow getWorkflow()
The workflow to which this task belongs

Specified by:
getWorkflow in interface IWorkflowNode
Returns:

getAssignedToRoleName

String getAssignedToRoleName()
Returns:

isStartTask

boolean isStartTask()
Returns true if workflow can be started to this task.

Returns:

isSubmitEnabled

boolean isSubmitEnabled()
Returns true if workflow can be submitted from this task.

Returns:

isCancelEnabled

boolean isCancelEnabled()
Returns true if workflow can be canceled from this task.

Returns:

getDisplayName

String getDisplayName(Locale pLocale)

getSubmitTransition

IWorkflowTransition getSubmitTransition()
The first Transition to Submit Node or null if not isSubmitEnabled()

Returns:

getCancelTransition

IWorkflowTransition getCancelTransition()
The first Transition to Cancel Node or null if not isCancelEnabled()

Returns:

getTransitionFromStart

IWorkflowTransition getTransitionFromStart()
Returns the transition from Start node to current node if task is isStartTask() or null if task is not a start task.

Returns:


Copyright © 2015. All Rights Reserved.