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 |
global |
protected String |
groupId |
protected String |
help |
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.
|
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() |
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 |
setGlobal(Boolean global) |
void |
setGroupId(String groupId) |
void |
setHelp(String help) |
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 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 ActionDefinitionModelpublic void setKey(String key)
public String getName()
getName in interface ActionDefinitionModelpublic void setName(String name)
public String getDescription()
getDescription in interface ActionDefinitionModelpublic void setDescription(String description)
public String getFormKey()
getFormKey in interface ActionDefinitionModelpublic void setFormKey(String formKey)
public String getConfirmationMessage()
ActionDefinitionModelgetConfirmationMessage in interface ActionDefinitionModelpublic void setConfirmationMessage(String confirmationMessage)
public String getConfirmationMessageCode()
ActionDefinitionModelActionDefinitionModel.CONFIRMATION_MESSAGE_DEFINITION_KEY and the returned code is considered the variation for the template.getConfirmationMessageCode in interface ActionDefinitionModelpublic void setConfirmationMessageCode(String confirmationMessageCode)
public String getConfirmationTitle()
ActionDefinitionModelgetConfirmationTitle in interface ActionDefinitionModelpublic void setConfirmationTitle(String confirmationTitle)
public String getConfirmationTitleCode()
ActionDefinitionModelgetConfirmationTitleCode in interface ActionDefinitionModelpublic void setConfirmationTitleCode(String confirmationTitleCode)
public Boolean getIgnoreConfirmationMessage()
getIgnoreConfirmationMessage in interface ActionDefinitionModelpublic void setIgnoreConfirmationMessage(Boolean ignoreConfirmationMessage)
public String getScopeType()
getScopeType in interface ActionDefinitionModelpublic void setScopeType(String scopeType)
public Set<String> getPermissionUserIdentityLinkTypes()
ActionDefinitionModelActionDefinitionModel.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 ActionDefinitionModelpublic void setPermissionUserIdentityLinkTypes(Set<String> permissionUserIdentityLinkTypes)
public List<String> getPermissionGroups()
ActionDefinitionModelActionDefinitionModel.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 ActionDefinitionModelpublic List<String> getMappedStates()
getMappedStates in interface ActionDefinitionModelpublic List<String> getMappedSubStates()
getMappedSubStates in interface ActionDefinitionModelpublic List<String> getMappedTypes()
getMappedTypes in interface ActionDefinitionModelpublic List<String> getMappedSubTypes()
getMappedSubTypes in interface ActionDefinitionModelpublic List<String> getChannels()
getChannels in interface ActionDefinitionModelpublic String getTheme()
getTheme in interface ActionDefinitionModelpublic void setTheme(String theme)
public String getIcon()
getIcon in interface ActionDefinitionModelpublic void setIcon(String icon)
public Integer getPriority()
getPriority in interface ActionDefinitionModelpublic void setPriority(Integer priority)
public String getGroupId()
getGroupId in interface ActionDefinitionModelpublic void setGroupId(String groupId)
public String getSample()
ActionDefinitionModelgetSample in interface ActionDefinitionModelpublic void setSample(String sample)
public String getHelp()
ActionDefinitionModelgetHelp in interface ActionDefinitionModelpublic void setHelp(String help)
public Boolean getGlobal()
getGlobal in interface ActionDefinitionModelpublic void setGlobal(Boolean global)
public String getBotKey()
getBotKey in interface ActionDefinitionModelpublic void setBotKey(String botKey)
public String getSignalName()
getSignalName in interface ActionDefinitionModelpublic void setSignalName(String signalName)
public List<String> getSignalVariableNames()
getSignalVariableNames in interface ActionDefinitionModelCopyright © 2019. All rights reserved.