public interface ActionDefinition
isMandatory()
) with the
difference that a mandatory action definition needs to be executed at some time and is most likely assigned to a
certain user or user group.
/remind
)getScopeType()
to return the explicit id of the conversation where the
action should be made available (e.g. if the conversation is a case, existing tasks can be exposed over
an action definition that way)getName()
: the name of the action (most likely mapped to the slash-action menu in the conversation)getFormKey()
.
The form is most likely rendered within a conversation or as a dialog and its data is then sent along as the payload
of the action.
TODO: rewrite the description to adapt to the new action engineModifier and Type | Method and Description |
---|---|
List<ActionDefinitionLink> |
getActionDefinitionLinks()
Returns the action definition links that are linked to the action definition.
|
String |
getAssignedGroupId()
Returns the id of the assigned group of this object.
|
String |
getAssigneeId()
Returns the id of the assignee of this object.
|
String |
getBotKey()
Returns the key of the bot this action is implemented.
|
Set<String> |
getCandidateGroupIds()
Returns a set view of the optional list of candidate group ids of this object.
|
Set<String> |
getCandidateUserIds()
Returns a set view of the optional list of candidate user ids of this object.
|
Date |
getCreationTime()
Returns the creation timestamp of this data object.
|
String |
getCreatorId()
Returns the id of the user creating this data object.
|
String |
getDeploymentId() |
String |
getFormKey()
If this action has an attached form definition, this method returns the form key of it with which the form
definition might be requested through Form Engine.
|
String |
getId() |
String |
getKey() |
String |
getName()
Returns the name of this action which is also used as the slash action name (e.g.
|
String |
getOwnerId()
Returns the id of the owner of this object, most likely representing the user actually creating it or being
created as part of an operation that user executed.
|
String |
getResourceName() |
String |
getScopeType()
Returns the type of scope if this action definition is bound to a certain type of scoped objects (e.g.
|
String |
getTenantId() |
String |
getUpdaterId()
Returns the optional id of the user having last modified this data object, if any,
null otherwise. |
Date |
getUpdateTime()
Returns the timestamp of the last update of this data object, in most cases where events are immutable, this
timestamp is the same as the creation timestamp, but must never be
null . |
int |
getVersion() |
boolean |
isGlobal()
Whether the action definition is global
|
boolean |
isMandatory()
Returns
true if this is a mandatory action definition, which means it has to be executed (as an action)
at some point (most likely it is then backed by a user task or anything which needs to be completed somehow). |
String getId()
String getKey()
int getVersion()
String getDeploymentId()
String getTenantId()
String getBotKey()
boolean isMandatory()
true
if this is a mandatory action definition, which means it has to be executed (as an action)
at some point (most likely it is then backed by a user task or anything which needs to be completed somehow).
This is an optional flag and defaults to false
if not provided explicitly.true
if this action definition is mandatoryString getName()
String getResourceName()
String getFormKey()
String getScopeType()
boolean isGlobal()
true
if the AD is global, false
otherwiseDate getCreationTime()
Date getUpdateTime()
null
.String getCreatorId()
String getUpdaterId()
null
otherwise.String getOwnerId()
String getAssigneeId()
String getAssignedGroupId()
Set<String> getCandidateUserIds()
Set<String> getCandidateGroupIds()
List<ActionDefinitionLink> getActionDefinitionLinks()