public interface IWFTransition
| Modifier and Type | Method and Description |
|---|---|
java.util.List<IWFAction> |
getActions()
Returns the list of actions executed during the transition operation.
|
java.lang.String |
getBodyKeyToNotifyActionCompleted()
Returns application text key that is used as a template for body of notification that is sent to the
user who submitted a background transition when that transition has completed.
|
java.lang.String |
getBodyKeyToNotifyAssignees()
Returns application text key that is used as a template for notification body to assignees.
|
java.lang.String |
getBodyKeyToNotifySubscribers()
Returns application text key that is used as a template for notification body to subscribers.
|
java.lang.String |
getBodyKeyToNotifyWorkflowCompleted()
Returns application text key that is used as a template for body of notification that is sent to the
oversight and other actors when the workflow has completed.
|
java.lang.String |
getCommentPromptKey()
Returns application text key that is used as a prompt for the transition comment.
|
WFTransitionCommentRequirementType |
getCommentRequirement()
Returns whether the user is required to provide a comment when transitioning the workflow,
or if it is optional or not available.
|
IWFConditionEval |
getCondition()
Returns the condition that tells if this transition is available for users to select on the task view.
|
java.lang.String |
getName()
Returns name of the transition
|
java.lang.String |
getNameLabel()
Returns the localized name label of the transition
for the user session
|
java.util.List<ILabel> |
getNameLabels()
Returns the transition name labels for all locales
|
java.lang.String |
getSubjectKeyToNotifyActionCompleted()
Returns application text key that is used as a template for subject of notification that is sent to the
user who submitted a background transition when that transition has completed.
|
java.lang.String |
getSubjectKeyToNotifyAssignees()
Returns application text key that is used as a template for notification subject to assignees.
|
java.lang.String |
getSubjectKeyToNotifySubscribers()
Returns application text key that is used as a template for notification subject to subscribers.
|
java.lang.String |
getSubjectKeyToNotifyWorkflowCompleted()
Returns application text key that is used as a template for subject of notification that is sent to the
oversight and other actors when the workflow has completed.
|
java.lang.String |
getTarget()
Returns the target activity name.
|
boolean |
isBackground()
Returns true when the workflow transition is executed in the background.
|
boolean |
isDefault()
Returns whether this is the default transition.
|
boolean |
isNotifyAssignees()
Returns true when the workflow transition sends notifications to assignees.
|
boolean |
isNotifySubscribers()
Returns true when the workflow transition sends notifications to subscribers.
|
void |
setActions(java.util.List<IWFAction> actions)
Assigns the list of actions.
|
void |
setBackground(boolean background)
Sets if the workflow transition is executed in the background
|
void |
setBodyKeyToNotifyActionCompleted(java.lang.String bodyKey)
Sets application text key that is used as a template for body of notification that is sent to the
user who submitted a background transition when that transition has completed.
|
void |
setBodyKeyToNotifyAssignees(java.lang.String bodyKey)
Sets application text key that is used as a template for notification body to assignees.
|
void |
setBodyKeyToNotifySubscribers(java.lang.String bodyKey)
Sets application text key that is used as a template for notification body to subscribers.
|
void |
setBodyKeyToNotifyWorkflowCompleted(java.lang.String bodyKey)
Sets application text key that is used as a template for body of notification that is sent to the
oversight and other actors when the workflow has completed.
|
void |
setCommentPromptKey(java.lang.String commentPromptKey)
Sets application text key that is used as a prompt for the transition comment.
|
void |
setCommentRequirement(WFTransitionCommentRequirementType commentRequirement)
Sets whether the user is required to provide a comment when transitioning the workflow,
or if it is optional or not available.
|
void |
setCondition(IWFConditionEval condition)
Assigns the condition for the transition availability.
|
void |
setDefault(boolean isDefault)
Assigns whether this is the default transition.
|
void |
setName(java.lang.String transitionName)
Assigns the name of the transition
|
void |
setNameLabels(java.util.List<ILabel> nameLabels)
Sets the list of transition name labels
|
void |
setNotifyAssignees(boolean notify)
Sets if the workflow transition sends notifications to assignees.
|
void |
setNotifySubscribers(boolean notify)
Sets if the workflow transition sends notifications to subscribers.
|
void |
setSubjectKeyToNotifyActionCompleted(java.lang.String subjectKey)
Sets application text key that is used as a template for subject of notification that is sent to the
user who submitted a background transition when that transition has completed.
|
void |
setSubjectKeyToNotifyAssignees(java.lang.String subjectKey)
Sets application text key that is used as a template for notification subject to assignees.
|
void |
setSubjectKeyToNotifySubscribers(java.lang.String subjectKey)
Sets application text key that is used as a template for notification subject to subscribers.
|
void |
setSubjectKeyToNotifyWorkflowCompleted(java.lang.String subjectKey)
Sets application text key that is used as a template for subject of notification that is sent to the
oversight and other actors when the workflow has completed.
|
void |
setTarget(java.lang.String targetTaskName)
Assigns the target activity name.
|
java.lang.String getName()
void setName(java.lang.String transitionName)
transitionName - java.lang.String getNameLabel()
java.util.List<ILabel> getNameLabels()
ILabel the transition name labelvoid setNameLabels(java.util.List<ILabel> nameLabels)
nameLabels - the list of ILabeljava.lang.String getTarget()
void setTarget(java.lang.String targetTaskName)
targetTaskName - boolean isDefault()
WFActivityType.gateway ) defaults to the transition
when the condition of other transition is not met.void setDefault(boolean isDefault)
isDefault - java.util.List<IWFAction> getActions()
void setActions(java.util.List<IWFAction> actions)
actions - IWFConditionEval getCondition()
void setCondition(IWFConditionEval condition)
condition - boolean isBackground()
void setBackground(boolean background)
background - boolean isNotifyAssignees()
void setNotifyAssignees(boolean notify)
notify - boolean isNotifySubscribers()
void setNotifySubscribers(boolean notify)
notify - java.lang.String getSubjectKeyToNotifyAssignees()
void setSubjectKeyToNotifyAssignees(java.lang.String subjectKey)
subjectKey - java.lang.String getBodyKeyToNotifyAssignees()
void setBodyKeyToNotifyAssignees(java.lang.String bodyKey)
bodyKey - java.lang.String getSubjectKeyToNotifySubscribers()
void setSubjectKeyToNotifySubscribers(java.lang.String subjectKey)
subjectKey - java.lang.String getBodyKeyToNotifySubscribers()
void setBodyKeyToNotifySubscribers(java.lang.String bodyKey)
bodyKey - java.lang.String getSubjectKeyToNotifyActionCompleted()
void setSubjectKeyToNotifyActionCompleted(java.lang.String subjectKey)
subjectKey - java.lang.String getBodyKeyToNotifyActionCompleted()
void setBodyKeyToNotifyActionCompleted(java.lang.String bodyKey)
subjectKey - java.lang.String getSubjectKeyToNotifyWorkflowCompleted()
void setSubjectKeyToNotifyWorkflowCompleted(java.lang.String subjectKey)
subjectKey - java.lang.String getBodyKeyToNotifyWorkflowCompleted()
void setBodyKeyToNotifyWorkflowCompleted(java.lang.String bodyKey)
subjectKey - WFTransitionCommentRequirementType getCommentRequirement()
void setCommentRequirement(WFTransitionCommentRequirementType commentRequirement)
commentRequirement - java.lang.String getCommentPromptKey()
void setCommentPromptKey(java.lang.String commentPromptKey)
commentPromptKey -
Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2020. All Rights Reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.