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

All Superinterfaces:
IUniquelyNamed, Serializable
All Known Subinterfaces:
IDataEntryWorkflow, IDupsWorkflow

public interface IHumanWorkflow
extends IUniquelyNamed, Serializable


Field Summary
static String HUMAN_WORKFLOW_PREFIX
           
 
Fields inherited from interface com.semarchy.mdm.runtime.model.logical.IUniquelyNamed
SEP
 
Method Summary
 String getAdminRoleName()
          The role required to administrate the workflow
 IApplication getApplication()
          Deprecated. caller should keep track of application in other ways
 IBuiltInNode getCancelNode()
          Get the IBuiltInNode with BuiltInNodeType.CANCEL type
 IBuiltInNode getEndNode()
          Get the IBuiltInNode with BuiltInNodeType.END type
 String getInitiatorRoleName()
          The role required to initiate the workflow
 String getName()
          The Name fo the workflow
 com.semarchy.mdm.runtime.model.logical.impl.WorkflowNodeImpl getNode(String pName)
           
 List<IWorkflowNode> getNodes()
          The nodes in the workflow
 IModelJob getOnSubmitJob()
          The IModelJob used to process the data on submit
 Integer getPosInParent()
          Getter for owned property PosInParent:
 IBuiltInNode getStartNode()
          Get the IBuiltInNode with BuiltInNodeType.START type
 List<IHumanTask> getStartTasks()
           
 IBuiltInNode getSubmitNode()
          Get the IBuiltInNode with BuiltInNodeType.SUBMIT type
 IHumanTask getTask(String pName)
           
 List<IHumanTask> getTasks()
          The user defined tasks that are contained in the workflow
 boolean isAdministrator(LogicalModelAuthorizations modelAuthorizations)
          Return true if a user with the given authrozations is authorized to administer the workflow.
 boolean isAllowPropertiesEdition()
          Getter for owned property AllowPropertiesEdition:
 boolean isQuickAction()
          Getter for owned property QuickAction:
 boolean isShowTransitionLabel()
          Getter for owned property ShowTransitionLabel:
 boolean isStartable(LogicalModelAuthorizations modelAuthorizations)
           
 
Methods inherited from interface com.semarchy.mdm.runtime.model.logical.IUniquelyNamed
getPrefixedUniqueName, getUniqueName
 

Field Detail

HUMAN_WORKFLOW_PREFIX

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

getName

String getName()
The Name fo the workflow

Returns:

getInitiatorRoleName

String getInitiatorRoleName()
The role required to initiate the workflow

Returns:

getAdminRoleName

String getAdminRoleName()
The role required to administrate the workflow

Returns:

getOnSubmitJob

IModelJob getOnSubmitJob()
The IModelJob used to process the data on submit

Returns:

getNodes

List<IWorkflowNode> getNodes()
The nodes in the workflow

Returns:

getNode

com.semarchy.mdm.runtime.model.logical.impl.WorkflowNodeImpl getNode(String pName)
                                                                     throws NoSuchNodeException
Throws:
NoSuchNodeException

getTasks

List<IHumanTask> getTasks()
The user defined tasks that are contained in the workflow

Returns:

getTask

IHumanTask getTask(String pName)
                   throws NoSuchTaskException
Throws:
NoSuchTaskException

getStartTasks

List<IHumanTask> getStartTasks()

getStartNode

IBuiltInNode getStartNode()
Get the IBuiltInNode with BuiltInNodeType.START type

Returns:

getCancelNode

IBuiltInNode getCancelNode()
Get the IBuiltInNode with BuiltInNodeType.CANCEL type

Returns:

getSubmitNode

IBuiltInNode getSubmitNode()
Get the IBuiltInNode with BuiltInNodeType.SUBMIT type

Returns:

getEndNode

IBuiltInNode getEndNode()
Get the IBuiltInNode with BuiltInNodeType.END type

Returns:

getApplication

IApplication getApplication()
Deprecated. caller should keep track of application in other ways

The application in which this workflow is defined

Returns:

isShowTransitionLabel

boolean isShowTransitionLabel()

Getter for owned property ShowTransitionLabel:

Show Label On Transition

Returns:
value of this property

isQuickAction

boolean isQuickAction()

Getter for owned property QuickAction:

Indicates wether this Workflow is available in quick actions section

Returns:
value of this property

isAllowPropertiesEdition

boolean isAllowPropertiesEdition()

Getter for owned property AllowPropertiesEdition:

Indicates whether the workflow label, priority and startup comment is editable for the initiator

Returns:
value of this property

getPosInParent

Integer getPosInParent()

Getter for owned property PosInParent:

The attribute position in its parent section

Returns:
value of this property

isAdministrator

boolean isAdministrator(LogicalModelAuthorizations modelAuthorizations)
Return true if a user with the given authrozations is authorized to administer the workflow.

Parameters:
modelAuthorizations -
Returns:

isStartable

boolean isStartable(LogicalModelAuthorizations modelAuthorizations)


Copyright © 2015. All Rights Reserved.