public interface TaskFlowDefinition extends TaskFlowDefinitionBase, PageFlow
TaskFlowDefinition
getter methods provide a combined view
of the metadata contained in the task flow definition and the task flow
template that it extends.Modifier and Type | Method and Description |
---|---|
DataControlScopeType |
getDataControlScopeType()
Specifies data control scope for the task flow.
|
java.lang.String |
getSavePointRestoreFinalizer()
Get the save point restore finalizer.
|
java.util.Map<java.lang.String,Outcome> |
getTaskFlowOutcomes()
Returns a
Map of Outcome definitions
keyed by an outcome name. |
TaskFlowReentry |
getTaskFlowReentry()
Specifies task flow reentry metadata for a task flow.
|
TaskFlowId |
getTemplateId()
Gets the task flow ID of a template this task flow is based on.
|
TransactionType |
getTransactionType() |
Visibility |
getVisibility()
Returns the visibility in formation for this taskflow.
|
boolean |
isCritical()
Returns true if the task flow is marked as critical.
|
boolean |
isTemplate()
Returns true, if this task flow metadata represents a template.
|
boolean |
isTrain()
Task flows can be defined to be trains.
|
boolean |
setCritical(boolean critical)
If critical setting for the task flow matches the critical value,
a warning will be logged.
|
boolean |
setDataControlScopeType(DataControlScopeType type)
Sets the data control scope for the task flow to shared or isolated.
|
boolean |
setDefaultActivityId(java.lang.String activityId)
Sets the default activity for this bounded task flow.
|
boolean |
setFinalizer(java.lang.String finalizer)
Sets or removes task flow finalizer.
|
boolean |
setPerformSavePoint(boolean savePoint)
Changes no-save-point setting for the task flow.
|
boolean |
setSavePointRestoreFinalizer(java.lang.String finalizer)
Adds or removes save point restore finalizer to this task flow.
|
boolean |
setTaskFlowReentry(TaskFlowReentry reentry)
Sets or removes task flow reentry for the back button behavior.
|
boolean |
setTemplateId(TaskFlowId templateId) |
boolean |
setTrain(boolean train)
Makes this task flow a train.
|
boolean |
setTransactionType(TransactionType type)
Sets a new transaction type for the task flow definition.
|
boolean |
setUsePageFragments(boolean usePageFragments)
Sets use-page-fragments value for this task flow.
|
boolean |
setVisibility(Visibility visibility)
Adds, removes, or modifies visibility for this task flow.
|
boolean |
shouldPerformSavePoint()
When ADFc task flow is entered, ADFm savepoint can be performed.
|
boolean |
usePageFragments() |
addActivityAfter, addActivityBefore, addReturnValue, addTaskFlowInputParameter, getDefaultActivityId, getFinalizer, getInitializer, getInputParameters, getReturnValues, getTaskFlowId, removeReturnValue, removeTaskFlowInputParameter, setInitializer
addControlFlowRule, getControlFlowRule, getControlFlowRules, getExceptionHandlerId, getSecurity, removeControlFlowRule, setExceptionHandlerId
addActivity, addManagedBean, getActivities, getManagedBeans, getViewActivity, removeActivity, removeManagedBean
getDescription, getDisplayName, getLargeIcon, getSmallIcon, getUIInfo, setDescription, setDisplayName, setLargeIcon, setSmallIcon
getParsingContext, validate
getIdAttribute, setIdAttribute
getNode
TaskFlowId getTemplateId()
boolean setTemplateId(TaskFlowId templateId)
boolean isTemplate()
java.util.Map<java.lang.String,Outcome> getTaskFlowOutcomes()
Map
of Outcome
definitions
keyed by an outcome name.DataControlScopeType getDataControlScopeType()
TaskFlowReentry getTaskFlowReentry()
TaskFlowReentry
java.lang.String getSavePointRestoreFinalizer()
boolean isTrain()
boolean isCritical()
boolean usePageFragments()
TransactionType getTransactionType()
TransactionType
boolean shouldPerformSavePoint()
Visibility getVisibility()
Visibility
boolean setDefaultActivityId(java.lang.String activityId)
setDefaultActivityId
in interface TaskFlowDefinitionBase
activityId
- the default activity id. Cannot be null.boolean setUsePageFragments(boolean usePageFragments)
usePageFragments
- the new use-page-fragments valueboolean setTrain(boolean train)
train
- the new value for the train settingboolean setCritical(boolean critical)
critical
- the new value for the critical flagboolean setDataControlScopeType(DataControlScopeType type)
type
- the new value for the data control scopeboolean setFinalizer(java.lang.String finalizer)
setFinalizer
in interface TaskFlowDefinitionBase
finalizer
- the new value for the task flow finalizer, or null, if finalizer should be removed.boolean setSavePointRestoreFinalizer(java.lang.String finalizer)
finalizer
- the new value of the save point finalizerboolean setTaskFlowReentry(TaskFlowReentry reentry)
reentry
- the new reentry valueboolean setTransactionType(TransactionType type)
type
- a new transaction typeboolean setPerformSavePoint(boolean savePoint)
savePoint
- a new value for should perform save point settingboolean setVisibility(Visibility visibility)
visibility
- the new value for visibility