public class ActionDefinitionEntityImpl extends AbstractActionEngineEntity implements ActionDefinitionEntity
Modifier and Type | Field and Description |
---|---|
protected List<ActionDefinitionLink> |
actionDefinitionLinks |
protected boolean |
actionDefinitionLinksInitialized |
protected String |
botKey |
protected Date |
creationTime |
protected String |
creatorId |
protected String |
deploymentId |
protected String |
formKey |
protected boolean |
global |
protected List<IdentityLinkEntity> |
identityLinks
The identity links for the action definition.
|
protected boolean |
identityLinksInitialized |
protected String |
key |
protected boolean |
mandatory |
protected String |
name |
protected String |
resourceName |
protected String |
scopeType |
protected String |
tenantId |
protected String |
updaterId |
protected Date |
updateTime |
protected int |
version |
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
Constructor and Description |
---|
ActionDefinitionEntityImpl() |
Modifier 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.
|
List<IdentityLinkEntity> |
getIdentityLinks() |
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.
|
Object |
getPersistentState() |
List<ActionDefinitionLink> |
getQueryActionDefinitionLinks()
Getter used by MyBatis when querying action definitions with action definition links.
|
List<IdentityLinkEntity> |
getQueryIdentityLinks()
Getter used by MyBatis when querying action definitions with identity links.
|
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). |
void |
setActionDefinitionLinks(List<ActionDefinitionLink> actionDefinitionLinks) |
void |
setBotKey(String botKey) |
void |
setCreationTime(Date creationTime) |
void |
setCreatorId(String creatorId) |
void |
setDeploymentId(String deploymentId) |
void |
setFormKey(String formKey) |
void |
setGlobal(boolean global) |
void |
setIdentityLinks(List<IdentityLinkEntity> identityLinks) |
void |
setKey(String key) |
void |
setMandatory(boolean mandatory) |
void |
setName(String name) |
void |
setQueryActionDefinitionLinks(List<ActionDefinitionLink> actionDefinitionLinks)
Setter used by MyBatis when querying action definitions with action definition links.
|
void |
setQueryIdentityLinks(List<IdentityLinkEntity> identityLinks)
Setter used by MyBatis when querying action definitions with identity links.
|
void |
setResourceName(String resourceName) |
void |
setScopeType(String scopeType) |
void |
setTenantId(String tenantId) |
void |
setUpdaterId(String updaterId) |
void |
setUpdateTime(Date updateTime) |
void |
setVersion(int version) |
getIdPrefix
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
getRevision, getRevisionNext, setRevision
protected String key
protected int version
protected String deploymentId
protected String tenantId
protected String botKey
protected boolean mandatory
protected String name
protected String resourceName
protected String scopeType
protected String formKey
protected boolean global
protected Date creationTime
protected Date updateTime
protected String creatorId
protected String updaterId
protected boolean identityLinksInitialized
protected boolean actionDefinitionLinksInitialized
protected List<IdentityLinkEntity> identityLinks
protected List<ActionDefinitionLink> actionDefinitionLinks
public String getKey()
getKey
in interface ActionDefinition
public void setKey(String key)
setKey
in interface ActionDefinitionEntity
public int getVersion()
getVersion
in interface ActionDefinition
public void setVersion(int version)
setVersion
in interface ActionDefinitionEntity
public String getDeploymentId()
getDeploymentId
in interface ActionDefinition
public void setDeploymentId(String deploymentId)
setDeploymentId
in interface ActionDefinitionEntity
public String getTenantId()
getTenantId
in interface ActionDefinition
public void setTenantId(String tenantId)
setTenantId
in interface ActionDefinitionEntity
public String getBotKey()
ActionDefinition
getBotKey
in interface ActionDefinition
public void setBotKey(String botKey)
setBotKey
in interface ActionDefinitionEntity
public boolean isMandatory()
ActionDefinition
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.isMandatory
in interface ActionDefinition
true
if this action definition is mandatorypublic void setMandatory(boolean mandatory)
setMandatory
in interface ActionDefinitionEntity
public String getName()
ActionDefinition
getName
in interface ActionDefinition
public void setName(String name)
setName
in interface ActionDefinitionEntity
public String getResourceName()
getResourceName
in interface ActionDefinition
public void setResourceName(String resourceName)
setResourceName
in interface ActionDefinitionEntity
public String getScopeType()
ActionDefinition
getScopeType
in interface ActionDefinition
public void setScopeType(String scopeType)
setScopeType
in interface ActionDefinitionEntity
public String getFormKey()
ActionDefinition
getFormKey
in interface ActionDefinition
public void setFormKey(String formKey)
setFormKey
in interface ActionDefinitionEntity
public boolean isGlobal()
ActionDefinition
isGlobal
in interface ActionDefinition
true
if the AD is global, false
otherwisepublic void setGlobal(boolean global)
setGlobal
in interface ActionDefinitionEntity
public Date getCreationTime()
ActionDefinition
getCreationTime
in interface ActionDefinition
public void setCreationTime(Date creationTime)
setCreationTime
in interface ActionDefinitionEntity
public Date getUpdateTime()
ActionDefinition
null
.getUpdateTime
in interface ActionDefinition
public void setUpdateTime(Date updateTime)
setUpdateTime
in interface ActionDefinitionEntity
public String getCreatorId()
ActionDefinition
getCreatorId
in interface ActionDefinition
public void setCreatorId(String creatorId)
setCreatorId
in interface ActionDefinitionEntity
public String getUpdaterId()
ActionDefinition
null
otherwise.getUpdaterId
in interface ActionDefinition
public void setUpdaterId(String updaterId)
setUpdaterId
in interface ActionDefinitionEntity
public String getOwnerId()
ActionDefinition
getOwnerId
in interface ActionDefinition
public String getAssigneeId()
ActionDefinition
getAssigneeId
in interface ActionDefinition
public String getAssignedGroupId()
ActionDefinition
getAssignedGroupId
in interface ActionDefinition
public Set<String> getCandidateUserIds()
ActionDefinition
getCandidateUserIds
in interface ActionDefinition
public Set<String> getCandidateGroupIds()
ActionDefinition
getCandidateGroupIds
in interface ActionDefinition
public List<IdentityLinkEntity> getIdentityLinks()
getIdentityLinks
in interface ActionDefinitionEntity
public void setIdentityLinks(List<IdentityLinkEntity> identityLinks)
setIdentityLinks
in interface ActionDefinitionEntity
public List<IdentityLinkEntity> getQueryIdentityLinks()
public void setQueryIdentityLinks(List<IdentityLinkEntity> identityLinks)
public List<ActionDefinitionLink> getActionDefinitionLinks()
ActionDefinition
getActionDefinitionLinks
in interface ActionDefinition
public void setActionDefinitionLinks(List<ActionDefinitionLink> actionDefinitionLinks)
setActionDefinitionLinks
in interface ActionDefinitionEntity
public List<ActionDefinitionLink> getQueryActionDefinitionLinks()
public void setQueryActionDefinitionLinks(List<ActionDefinitionLink> actionDefinitionLinks)
public Object getPersistentState()
getPersistentState
in interface Entity