Class BaseActionDefinitionModel
java.lang.Object
com.flowable.action.api.repository.BaseActionDefinitionModel
- All Implemented Interfaces:
ActionDefinitionModel
public class BaseActionDefinitionModel extends java.lang.Object implements ActionDefinitionModel
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringbotKeyprotected java.util.List<java.lang.String>channelsprotected java.lang.StringconfirmationMessageprotected java.lang.StringconfirmationMessageCodeprotected java.lang.StringconfirmationTitleprotected java.lang.StringconfirmationTitleCodeprotected java.lang.Stringdescriptionprotected java.lang.StringformKeyprotected booleanformSameDeploymentprotected java.lang.Booleanglobalprotected java.lang.StringgroupIdprotected java.lang.Stringhelpprotected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>i18nprotected java.lang.Stringiconprotected java.lang.BooleanignoreConfirmationMessageprotected java.lang.Stringkeyprotected java.util.List<java.lang.String>mappedStatesprotected java.util.List<java.lang.String>mappedSubStatesprotected java.util.List<java.lang.String>mappedSubTypesprotected java.util.List<java.lang.String>mappedTypesprotected java.lang.Stringnameprotected java.util.List<java.lang.String>permissionGroupsprotected java.util.Set<java.lang.String>permissionUserIdentityLinkTypesprotected java.lang.Integerpriorityprotected java.lang.Stringsampleprotected java.lang.StringscopeTypeprotected java.lang.StringsignalNameprotected java.util.List<java.lang.String>signalVariableNamesprotected java.lang.StringthemeFields inherited from interface com.flowable.action.api.repository.ActionDefinitionModel
CONFIRMATION_MESSAGE_DEFINITION_KEY, CONFIRMATION_TITLE_DEFINITION_KEY -
Constructor Summary
Constructors Constructor Description BaseActionDefinitionModel() -
Method Summary
Modifier and Type Method Description java.lang.StringgetBotKey()java.util.List<java.lang.String>getChannels()java.lang.StringgetConfirmationMessage()As an alternative to a modeled form, a simple confirmation message might be provided by the action definition.java.lang.StringgetConfirmationMessageCode()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.java.lang.StringgetConfirmationTitle()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.java.lang.StringgetConfirmationTitleCode()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.java.lang.StringgetDescription()java.lang.StringgetFormKey()java.lang.BooleangetGlobal()java.lang.StringgetGroupId()java.lang.StringgetHelp()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.java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>getI18n()java.lang.StringgetIcon()java.lang.BooleangetIgnoreConfirmationMessage()java.lang.StringgetKey()java.util.List<java.lang.String>getMappedStates()java.util.List<java.lang.String>getMappedSubStates()java.util.List<java.lang.String>getMappedSubTypes()java.util.List<java.lang.String>getMappedTypes()java.lang.StringgetName()java.util.List<java.lang.String>getPermissionGroups()The permissions groups that have permission to see the action.java.util.Set<java.lang.String>getPermissionUserIdentityLinkTypes()The types of user identity links that have permission to see the action.java.lang.IntegergetPriority()java.lang.StringgetSample()Returns the optional sample of how this action could look like as an extension to the description.java.lang.StringgetScopeType()java.lang.StringgetSignalName()java.util.List<java.lang.String>getSignalVariableNames()java.lang.StringgetTheme()booleanisFormSameDeployment()voidsetBotKey(java.lang.String botKey)voidsetChannels(java.util.List<java.lang.String> channels)voidsetConfirmationMessage(java.lang.String confirmationMessage)voidsetConfirmationMessageCode(java.lang.String confirmationMessageCode)voidsetConfirmationTitle(java.lang.String confirmationTitle)voidsetConfirmationTitleCode(java.lang.String confirmationTitleCode)voidsetDescription(java.lang.String description)voidsetFormKey(java.lang.String formKey)voidsetFormSameDeployment(boolean formSameDeployment)voidsetGlobal(java.lang.Boolean global)voidsetGroupId(java.lang.String groupId)voidsetHelp(java.lang.String help)voidsetI18n(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> i18n)voidsetIcon(java.lang.String icon)voidsetIgnoreConfirmationMessage(java.lang.Boolean ignoreConfirmationMessage)voidsetKey(java.lang.String key)voidsetMappedStates(java.util.List<java.lang.String> mappedStates)voidsetMappedSubStates(java.util.List<java.lang.String> mappedSubStates)voidsetMappedSubTypes(java.util.List<java.lang.String> mappedSubTypes)voidsetMappedTypes(java.util.List<java.lang.String> mappedTypes)voidsetName(java.lang.String name)voidsetPermissionGroups(java.util.List<java.lang.String> permissionGroups)voidsetPermissionUserIdentityLinkTypes(java.util.Set<java.lang.String> permissionUserIdentityLinkTypes)voidsetPriority(java.lang.Integer priority)voidsetSample(java.lang.String sample)voidsetScopeType(java.lang.String scopeType)voidsetSignalName(java.lang.String signalName)voidsetSignalVariableNames(java.util.List<java.lang.String> signalVariableNames)voidsetTheme(java.lang.String theme)
-
Field Details
-
key
protected java.lang.String key -
name
protected java.lang.String name -
description
protected java.lang.String description -
formKey
protected java.lang.String formKey -
formSameDeployment
protected boolean formSameDeployment -
confirmationMessage
protected java.lang.String confirmationMessage -
confirmationMessageCode
protected java.lang.String confirmationMessageCode -
confirmationTitle
protected java.lang.String confirmationTitle -
confirmationTitleCode
protected java.lang.String confirmationTitleCode -
ignoreConfirmationMessage
protected java.lang.Boolean ignoreConfirmationMessage -
scopeType
protected java.lang.String scopeType -
permissionUserIdentityLinkTypes
protected java.util.Set<java.lang.String> permissionUserIdentityLinkTypes -
permissionGroups
protected java.util.List<java.lang.String> permissionGroups -
mappedStates
protected java.util.List<java.lang.String> mappedStates -
mappedSubStates
protected java.util.List<java.lang.String> mappedSubStates -
mappedTypes
protected java.util.List<java.lang.String> mappedTypes -
mappedSubTypes
protected java.util.List<java.lang.String> mappedSubTypes -
channels
protected java.util.List<java.lang.String> channels -
theme
protected java.lang.String theme -
icon
protected java.lang.String icon -
priority
protected java.lang.Integer priority -
groupId
protected java.lang.String groupId -
sample
protected java.lang.String sample -
help
protected java.lang.String help -
global
protected java.lang.Boolean global -
botKey
protected java.lang.String botKey -
signalName
protected java.lang.String signalName -
signalVariableNames
protected java.util.List<java.lang.String> signalVariableNames -
i18n
protected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> i18n
-
-
Constructor Details
-
BaseActionDefinitionModel
public BaseActionDefinitionModel()
-
-
Method Details
-
getKey
public java.lang.String getKey()- Specified by:
getKeyin interfaceActionDefinitionModel
-
setKey
public void setKey(java.lang.String key) -
getName
public java.lang.String getName()- Specified by:
getNamein interfaceActionDefinitionModel
-
setName
public void setName(java.lang.String name) -
getDescription
public java.lang.String getDescription()- Specified by:
getDescriptionin interfaceActionDefinitionModel
-
setDescription
public void setDescription(java.lang.String description) -
getFormKey
public java.lang.String getFormKey()- Specified by:
getFormKeyin interfaceActionDefinitionModel
-
setFormKey
public void setFormKey(java.lang.String formKey) -
isFormSameDeployment
public boolean isFormSameDeployment()- Specified by:
isFormSameDeploymentin interfaceActionDefinitionModel
-
setFormSameDeployment
public void setFormSameDeployment(boolean formSameDeployment) -
getConfirmationMessage
public java.lang.String getConfirmationMessage()Description copied from interface:ActionDefinitionModelAs an alternative to a modeled form, a simple confirmation message might be provided by the action definition. If available, the provided message is shown to get confirmation from the user to execute the action definition. As an alternative to a fixed confirmation message, you can also specify a confirmation message code which will then be used with the template engine to render and you can use placeholders using the scoped object to make it dynamic.- Specified by:
getConfirmationMessagein interfaceActionDefinitionModel- Returns:
- the optional confirmation message as an alternative to a modeled form
-
setConfirmationMessage
public void setConfirmationMessage(java.lang.String confirmationMessage) -
getConfirmationMessageCode
public java.lang.String getConfirmationMessageCode()Description copied from interface:ActionDefinitionModelAs 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. And it might use the scoped objects data within placeholders to make it dynamic. The template definition key is fixed in this case and isActionDefinitionModel.CONFIRMATION_MESSAGE_DEFINITION_KEYand the returned code is considered the variation for the template.- Specified by:
getConfirmationMessageCodein interfaceActionDefinitionModel- Returns:
- the optional confirmation message code if the template engine should be used to render the confirmation message for this action definition
-
setConfirmationMessageCode
public void setConfirmationMessageCode(java.lang.String confirmationMessageCode) -
getConfirmationTitle
public java.lang.String getConfirmationTitle()Description copied from interface:ActionDefinitionModelAs 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.- Specified by:
getConfirmationTitlein interfaceActionDefinitionModel- Returns:
- the optional confirmation dialog title, if the default should be overwritten
-
setConfirmationTitle
public void setConfirmationTitle(java.lang.String confirmationTitle) -
getConfirmationTitleCode
public java.lang.String getConfirmationTitleCode()Description copied from interface:ActionDefinitionModelInstead 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.- Specified by:
getConfirmationTitleCodein interfaceActionDefinitionModel- Returns:
- the optional confirmation dialog title code to be used with the template engine
-
setConfirmationTitleCode
public void setConfirmationTitleCode(java.lang.String confirmationTitleCode) -
getIgnoreConfirmationMessage
public java.lang.Boolean getIgnoreConfirmationMessage()- Specified by:
getIgnoreConfirmationMessagein interfaceActionDefinitionModel
-
setIgnoreConfirmationMessage
public void setIgnoreConfirmationMessage(java.lang.Boolean ignoreConfirmationMessage) -
getScopeType
public java.lang.String getScopeType()- Specified by:
getScopeTypein interfaceActionDefinitionModel
-
setScopeType
public void setScopeType(java.lang.String scopeType) -
getPermissionUserIdentityLinkTypes
public java.util.Set<java.lang.String> getPermissionUserIdentityLinkTypes()Description copied from interface:ActionDefinitionModelThe types of user identity links that have permission to see the action. This is combined withActionDefinitionModel.getPermissionGroups()when checking for permissions. If a user is not a member of theActionDefinitionModel.getPermissionGroups(), but has an identity link type within this list, then the user will have access to the action.- Specified by:
getPermissionUserIdentityLinkTypesin interfaceActionDefinitionModel- Returns:
- the types of user identity links
-
setPermissionUserIdentityLinkTypes
public void setPermissionUserIdentityLinkTypes(java.util.Set<java.lang.String> permissionUserIdentityLinkTypes) -
getPermissionGroups
public java.util.List<java.lang.String> getPermissionGroups()Description copied from interface:ActionDefinitionModelThe permissions groups that have permission to see the action. This is combined withActionDefinitionModel.getPermissionUserIdentityLinkTypes()when checking for permissions. If a user is not a member of the permissions groups, but has an identity link type part ofActionDefinitionModel.getPermissionUserIdentityLinkTypes(), then the user will have access to the action.- Specified by:
getPermissionGroupsin interfaceActionDefinitionModel- Returns:
- the list of permission groups
-
setPermissionGroups
public void setPermissionGroups(java.util.List<java.lang.String> permissionGroups) -
getMappedStates
public java.util.List<java.lang.String> getMappedStates()- Specified by:
getMappedStatesin interfaceActionDefinitionModel
-
setMappedStates
public void setMappedStates(java.util.List<java.lang.String> mappedStates) -
getMappedSubStates
public java.util.List<java.lang.String> getMappedSubStates()- Specified by:
getMappedSubStatesin interfaceActionDefinitionModel
-
setMappedSubStates
public void setMappedSubStates(java.util.List<java.lang.String> mappedSubStates) -
getMappedTypes
public java.util.List<java.lang.String> getMappedTypes()- Specified by:
getMappedTypesin interfaceActionDefinitionModel
-
setMappedTypes
public void setMappedTypes(java.util.List<java.lang.String> mappedTypes) -
getMappedSubTypes
public java.util.List<java.lang.String> getMappedSubTypes()- Specified by:
getMappedSubTypesin interfaceActionDefinitionModel
-
setMappedSubTypes
public void setMappedSubTypes(java.util.List<java.lang.String> mappedSubTypes) -
getChannels
public java.util.List<java.lang.String> getChannels()- Specified by:
getChannelsin interfaceActionDefinitionModel
-
setChannels
public void setChannels(java.util.List<java.lang.String> channels) -
getTheme
public java.lang.String getTheme()- Specified by:
getThemein interfaceActionDefinitionModel
-
setTheme
public void setTheme(java.lang.String theme) -
getIcon
public java.lang.String getIcon()- Specified by:
getIconin interfaceActionDefinitionModel
-
setIcon
public void setIcon(java.lang.String icon) -
getPriority
public java.lang.Integer getPriority()- Specified by:
getPriorityin interfaceActionDefinitionModel
-
setPriority
public void setPriority(java.lang.Integer priority) -
getGroupId
public java.lang.String getGroupId()- Specified by:
getGroupIdin interfaceActionDefinitionModel
-
setGroupId
public void setGroupId(java.lang.String groupId) -
getSample
public java.lang.String getSample()Description copied from interface:ActionDefinitionModelReturns the optional sample of how this action could look like as an extension to the description.- Specified by:
getSamplein interfaceActionDefinitionModel- Returns:
- the optional sample for this action with sample parameter values
-
setSample
public void setSample(java.lang.String sample) -
getHelp
public java.lang.String getHelp()Description copied from interface:ActionDefinitionModelReturns the more extended description or help for the action, which is optional and might describe more details about the action, its purpose and parameters.- Specified by:
getHelpin interfaceActionDefinitionModel- Returns:
- the optional help description for the action
-
setHelp
public void setHelp(java.lang.String help) -
getGlobal
public java.lang.Boolean getGlobal()- Specified by:
getGlobalin interfaceActionDefinitionModel
-
setGlobal
public void setGlobal(java.lang.Boolean global) -
getBotKey
public java.lang.String getBotKey()- Specified by:
getBotKeyin interfaceActionDefinitionModel
-
setBotKey
public void setBotKey(java.lang.String botKey) -
getSignalName
public java.lang.String getSignalName()- Specified by:
getSignalNamein interfaceActionDefinitionModel
-
setSignalName
public void setSignalName(java.lang.String signalName) -
getSignalVariableNames
public java.util.List<java.lang.String> getSignalVariableNames()- Specified by:
getSignalVariableNamesin interfaceActionDefinitionModel
-
setSignalVariableNames
public void setSignalVariableNames(java.util.List<java.lang.String> signalVariableNames) -
getI18n
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getI18n()- Specified by:
getI18nin interfaceActionDefinitionModel
-
setI18n
public void setI18n(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> i18n)
-