public interface IWFActivity
Interface that represents an activity definition. An activity is a piece of work that forms one logical step within a process. A user or automated process is expected to perform one of a transition available for this activity.
| Modifier and Type | Method and Description |
|---|---|
void |
addPostAction(IWFAction action)
Append an action to the list of post-actions.
|
void |
addPreAction(IWFAction action)
Append an action to the list of pre-actions.
|
void |
addTransition(IWFTransition transition)
Append a transition to the list
|
WFAccessType |
getAccessType()
Returns the access control type of the activity definition.
|
java.lang.String |
getBulkGridViewName()
Returns the grid view to use when performing bulk transitions.
|
java.util.List<IWFTransition> |
getBulkTransitions()
If bulk execution is enabled for this activity, get the list of transitions which can be performed in bulk.
|
IRespViewGuidance |
getGuidanceOverride()
Returns the guidance of the task focused user interface to override help topic and help text, including localized ones.
|
Id |
getId()
Returns unique identifier of the process definition
|
java.lang.String |
getName()
Returns name of the process definition
|
java.lang.String |
getNameLabel()
Returns the localized name label of the activity
for the user session
|
java.util.List<ILabel> |
getNameLabels()
Returns the activity name labels for all locales
|
IWFActivityNotificationDefinition |
getNotification()
Get the notification details for the stage
|
java.lang.Boolean |
getNotifyOversight()
Deprecated.
|
java.util.List<IRespViewField> |
getObjectFieldOverrides()
Returns the object fields of the task focused user interface to override visibility, editability, and importance.
|
java.util.List<IWFAction> |
getPostActions()
Returns the list of actions performed right before the workflow transitions out of the activity.
|
java.util.List<IWFAction> |
getPreActions()
Returns the list of actions performed right after the workflow transitions in to the activity.
|
java.util.List<IRespViewSection> |
getSectionOverrides()
Returns the sections of the task focused user interface to override visibility and collapsed state.
|
IWFTransition |
getTransition(java.lang.String transitionName)
Returns a transition for given name.
|
java.util.List<IWFTransition> |
getTransitions()
Returns the list of transitions that users can possibly select to process.
|
WFActivityType |
getType()
Returns the type of the activity definition.
|
java.lang.String |
getViewName()
Returns the name of the view used by the task focused user interface, when a GRC object is on this activity.
|
java.lang.Boolean |
isBulkEnabled()
Returns whether the activity has transitions which can be performed in bulk.
|
void |
setAccessType(WFAccessType accessType)
Assigns the access control type of the activity definition.
|
void |
setBulkEnabled(java.lang.Boolean bulkEnabled)
Assigns whether the activity has transitions which can be performed in bulk.
|
void |
setBulkGridViewName(java.lang.String gridViewName)
Set the name of the grid view to use when performing bulk transitions.
|
void |
setBulkTransitions(java.util.List<java.lang.String> transitionNames)
If bulk execution is enabled for this activity, set the list of transitions which can be performed in bulk.
|
void |
setGuidanceOverride(IRespViewGuidance guidanceOverride)
Assigns the guidance of the task forcust user interface to override help topic and help text.
|
void |
setNameLabels(java.util.List<ILabel> nameLabels)
Sets the list of activity name labels
|
void |
setNotification(IWFActivityNotificationDefinition notification)
Set the notification details for the stage
|
void |
setNotifyOversight(java.lang.Boolean notifyOversight)
Deprecated.
no need to set the notify oversight since it is removed from end stage.
|
void |
setObjectFieldOverrides(java.util.List<IRespViewField> objectFieldOverrides)
Assigns the object fields of the task focused user interface to override visibility, editability, and importance.
|
void |
setPostActions(java.util.List<IWFAction> postActions)
Assigns the list of actions performed before the workflow transitions out of the activity.
|
void |
setPreActions(java.util.List<IWFAction> preActions)
Assigns the list of actions performed after the workflow transitions in to the activity.
|
void |
setSectionOverrides(java.util.List<IRespViewSection> sectionOverrides)
Assigns the sections of the task focused user interface to override visibility and collapsed state.
|
void |
setTransitions(java.util.List<IWFTransition> transitions)
Assigns the list of transitions that users can possibly select to process.
|
void |
setType(WFActivityType type)
Assigns the type of the activity definition.
|
void |
setViewName(java.lang.String viewName)
Assigns the name of the view used by the task focused user interface.
|
Id getId()
java.lang.String getName()
java.lang.String getNameLabel()
java.util.List<ILabel> getNameLabels()
ILabel the activity name labelvoid setNameLabels(java.util.List<ILabel> nameLabels)
nameLabels - the list of ILabelWFActivityType getType()
WFActivityTypevoid setType(WFActivityType type)
type - WFAccessType getAccessType()
WFAccessTypevoid setAccessType(WFAccessType accessType)
accessType - java.util.List<IWFAction> getPreActions()
IWorkflowService.processTransition(Id, String).void setPreActions(java.util.List<IWFAction> preActions)
preActions - void addPreAction(IWFAction action)
action - java.util.List<IWFAction> getPostActions()
IWorkflowService.processTransition(Id, String).void setPostActions(java.util.List<IWFAction> postActions)
postActions - void addPostAction(IWFAction action)
action - java.util.List<IWFTransition> getTransitions()
IWFTransition getTransition(java.lang.String transitionName)
transitionName - void setTransitions(java.util.List<IWFTransition> transitions)
transitions - void addTransition(IWFTransition transition)
transition - java.lang.String getViewName()
void setViewName(java.lang.String viewName)
viewName - IRespViewGuidance getGuidanceOverride()
void setGuidanceOverride(IRespViewGuidance guidanceOverride)
guidanceOverride - java.util.List<IRespViewField> getObjectFieldOverrides()
void setObjectFieldOverrides(java.util.List<IRespViewField> objectFieldOverrides)
objectFieldOverrides - java.util.List<IRespViewSection> getSectionOverrides()
void setSectionOverrides(java.util.List<IRespViewSection> sectionOverrides)
sectionOverrides - java.lang.Boolean getNotifyOversight()
void setNotifyOversight(java.lang.Boolean notifyOversight)
notifyOversight - void setNotification(IWFActivityNotificationDefinition notification)
notification - IWFActivityNotificationDefinition getNotification()
java.lang.Boolean isBulkEnabled()
void setBulkEnabled(java.lang.Boolean bulkEnabled)
bulkEnabled - java.lang.String getBulkGridViewName()
void setBulkGridViewName(java.lang.String gridViewName)
gridViewName - java.util.List<IWFTransition> getBulkTransitions()
void setBulkTransitions(java.util.List<java.lang.String> transitionNames)
transitionNames -
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.