public class BaseActionDefinitionModel extends Object implements ActionDefinitionModel
Modifier and Type | Field and Description |
---|---|
protected String |
botKey |
protected List<String> |
channels |
protected String |
confirmationMessage |
protected String |
confirmationMessageCode |
protected String |
confirmationTitle |
protected String |
confirmationTitleCode |
protected String |
description |
protected String |
formKey |
protected boolean |
formSameDeployment |
protected Boolean |
global |
protected String |
groupId |
protected String |
help |
protected Map<String,Map<String,String>> |
i18n |
protected String |
icon |
protected Boolean |
ignoreConfirmationMessage |
protected String |
key |
protected List<String> |
mappedStates |
protected List<String> |
mappedSubStates |
protected List<String> |
mappedSubTypes |
protected List<String> |
mappedTypes |
protected String |
name |
protected List<String> |
permissionGroups |
protected Set<String> |
permissionUserIdentityLinkTypes |
protected Integer |
priority |
protected String |
sample |
protected String |
scopeType |
protected String |
signalName |
protected List<String> |
signalVariableNames |
protected String |
theme |
CONFIRMATION_MESSAGE_DEFINITION_KEY, CONFIRMATION_TITLE_DEFINITION_KEY
Constructor and Description |
---|
BaseActionDefinitionModel() |
Modifier and Type | Method and Description |
---|---|
String |
getBotKey() |
List<String> |
getChannels() |
String |
getConfirmationMessage()
As an alternative to a modeled form, a simple confirmation message might be provided by the action definition.
|
String |
getConfirmationMessageCode()
As an alternative to a modeled form or fixed confirmation message, you can also specify a confirmation code to be used with the template engine to render.
|
String |
getConfirmationTitle()
As an optional addition to the confirmation message (also see comments there), you can specify the title for the confirmation dialog, if the default
is not sufficient.
|
String |
getConfirmationTitleCode()
Instead of the optional confirmation title, you can also specify a confirmation title code to use the template engine for the title of the confirmation
dialog.
|
String |
getDescription() |
String |
getFormKey() |
Boolean |
getGlobal() |
String |
getGroupId() |
String |
getHelp()
Returns the more extended description or help for the action, which is optional and might describe more details
about the action, its purpose and parameters.
|
Map<String,Map<String,String>> |
getI18n() |
String |
getIcon() |
Boolean |
getIgnoreConfirmationMessage() |
String |
getKey() |
List<String> |
getMappedStates() |
List<String> |
getMappedSubStates() |
List<String> |
getMappedSubTypes() |
List<String> |
getMappedTypes() |
String |
getName() |
List<String> |
getPermissionGroups()
The permissions groups that have permission to see the action.
|
Set<String> |
getPermissionUserIdentityLinkTypes()
The types of user identity links that have permission to see the action.
|
Integer |
getPriority() |
String |
getSample()
Returns the optional sample of how this action could look like as an extension to the description.
|
String |
getScopeType() |
String |
getSignalName() |
List<String> |
getSignalVariableNames() |
String |
getTheme() |
boolean |
isFormSameDeployment() |
void |
setBotKey(String botKey) |
void |
setChannels(List<String> channels) |
void |
setConfirmationMessage(String confirmationMessage) |
void |
setConfirmationMessageCode(String confirmationMessageCode) |
void |
setConfirmationTitle(String confirmationTitle) |
void |
setConfirmationTitleCode(String confirmationTitleCode) |
void |
setDescription(String description) |
void |
setFormKey(String formKey) |
void |
setFormSameDeployment(boolean formSameDeployment) |
void |
setGlobal(Boolean global) |
void |
setGroupId(String groupId) |
void |
setHelp(String help) |
void |
setI18n(Map<String,Map<String,String>> i18n) |
void |
setIcon(String icon) |
void |
setIgnoreConfirmationMessage(Boolean ignoreConfirmationMessage) |
void |
setKey(String key) |
void |
setMappedStates(List<String> mappedStates) |
void |
setMappedSubStates(List<String> mappedSubStates) |
void |
setMappedSubTypes(List<String> mappedSubTypes) |
void |
setMappedTypes(List<String> mappedTypes) |
void |
setName(String name) |
void |
setPermissionGroups(List<String> permissionGroups) |
void |
setPermissionUserIdentityLinkTypes(Set<String> permissionUserIdentityLinkTypes) |
void |
setPriority(Integer priority) |
void |
setSample(String sample) |
void |
setScopeType(String scopeType) |
void |
setSignalName(String signalName) |
void |
setSignalVariableNames(List<String> signalVariableNames) |
void |
setTheme(String theme) |
protected String key
protected String name
protected String description
protected String formKey
protected boolean formSameDeployment
protected String confirmationMessage
protected String confirmationMessageCode
protected String confirmationTitle
protected String confirmationTitleCode
protected Boolean ignoreConfirmationMessage
protected String scopeType
protected String theme
protected String icon
protected Integer priority
protected String groupId
protected String sample
protected String help
protected Boolean global
protected String botKey
protected String signalName
public String getKey()
getKey
in interface ActionDefinitionModel
public void setKey(String key)
public String getName()
getName
in interface ActionDefinitionModel
public void setName(String name)
public String getDescription()
getDescription
in interface ActionDefinitionModel
public void setDescription(String description)
public String getFormKey()
getFormKey
in interface ActionDefinitionModel
public void setFormKey(String formKey)
public boolean isFormSameDeployment()
isFormSameDeployment
in interface ActionDefinitionModel
public void setFormSameDeployment(boolean formSameDeployment)
public String getConfirmationMessage()
ActionDefinitionModel
getConfirmationMessage
in interface ActionDefinitionModel
public void setConfirmationMessage(String confirmationMessage)
public String getConfirmationMessageCode()
ActionDefinitionModel
ActionDefinitionModel.CONFIRMATION_MESSAGE_DEFINITION_KEY
and the returned code is considered the variation for the template.getConfirmationMessageCode
in interface ActionDefinitionModel
public void setConfirmationMessageCode(String confirmationMessageCode)
public String getConfirmationTitle()
ActionDefinitionModel
getConfirmationTitle
in interface ActionDefinitionModel
public void setConfirmationTitle(String confirmationTitle)
public String getConfirmationTitleCode()
ActionDefinitionModel
getConfirmationTitleCode
in interface ActionDefinitionModel
public void setConfirmationTitleCode(String confirmationTitleCode)
public Boolean getIgnoreConfirmationMessage()
getIgnoreConfirmationMessage
in interface ActionDefinitionModel
public void setIgnoreConfirmationMessage(Boolean ignoreConfirmationMessage)
public String getScopeType()
getScopeType
in interface ActionDefinitionModel
public void setScopeType(String scopeType)
public Set<String> getPermissionUserIdentityLinkTypes()
ActionDefinitionModel
ActionDefinitionModel.getPermissionGroups()
when checking for permissions.
If a user is not a member of the ActionDefinitionModel.getPermissionGroups()
, but has an identity link type
within this list, then the user will have access to the action.getPermissionUserIdentityLinkTypes
in interface ActionDefinitionModel
public void setPermissionUserIdentityLinkTypes(Set<String> permissionUserIdentityLinkTypes)
public List<String> getPermissionGroups()
ActionDefinitionModel
ActionDefinitionModel.getPermissionUserIdentityLinkTypes()
when checking
for permissions.
If a user is not a member of the permissions groups, but has an identity link type
part of ActionDefinitionModel.getPermissionUserIdentityLinkTypes()
, then the user will have
access to the action.getPermissionGroups
in interface ActionDefinitionModel
public List<String> getMappedStates()
getMappedStates
in interface ActionDefinitionModel
public List<String> getMappedSubStates()
getMappedSubStates
in interface ActionDefinitionModel
public List<String> getMappedTypes()
getMappedTypes
in interface ActionDefinitionModel
public List<String> getMappedSubTypes()
getMappedSubTypes
in interface ActionDefinitionModel
public List<String> getChannels()
getChannels
in interface ActionDefinitionModel
public String getTheme()
getTheme
in interface ActionDefinitionModel
public void setTheme(String theme)
public String getIcon()
getIcon
in interface ActionDefinitionModel
public void setIcon(String icon)
public Integer getPriority()
getPriority
in interface ActionDefinitionModel
public void setPriority(Integer priority)
public String getGroupId()
getGroupId
in interface ActionDefinitionModel
public void setGroupId(String groupId)
public String getSample()
ActionDefinitionModel
getSample
in interface ActionDefinitionModel
public void setSample(String sample)
public String getHelp()
ActionDefinitionModel
getHelp
in interface ActionDefinitionModel
public void setHelp(String help)
public Boolean getGlobal()
getGlobal
in interface ActionDefinitionModel
public void setGlobal(Boolean global)
public String getBotKey()
getBotKey
in interface ActionDefinitionModel
public void setBotKey(String botKey)
public String getSignalName()
getSignalName
in interface ActionDefinitionModel
public void setSignalName(String signalName)
public List<String> getSignalVariableNames()
getSignalVariableNames
in interface ActionDefinitionModel
public Map<String,Map<String,String>> getI18n()
getI18n
in interface ActionDefinitionModel