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 SummaryFields 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.ActionDefinitionModelCONFIRMATION_MESSAGE_DEFINITION_KEY, CONFIRMATION_TITLE_DEFINITION_KEY
- 
Constructor SummaryConstructors Constructor Description BaseActionDefinitionModel()
- 
Method SummaryModifier 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- 
keyprotected java.lang.String key
- 
nameprotected java.lang.String name
- 
descriptionprotected java.lang.String description
- 
formKeyprotected java.lang.String formKey
- 
formSameDeploymentprotected boolean formSameDeployment
- 
confirmationMessageprotected java.lang.String confirmationMessage
- 
confirmationMessageCodeprotected java.lang.String confirmationMessageCode
- 
confirmationTitleprotected java.lang.String confirmationTitle
- 
confirmationTitleCodeprotected java.lang.String confirmationTitleCode
- 
ignoreConfirmationMessageprotected java.lang.Boolean ignoreConfirmationMessage
- 
scopeTypeprotected java.lang.String scopeType
- 
permissionUserIdentityLinkTypesprotected java.util.Set<java.lang.String> permissionUserIdentityLinkTypes
- 
permissionGroupsprotected java.util.List<java.lang.String> permissionGroups
- 
mappedStatesprotected java.util.List<java.lang.String> mappedStates
- 
mappedSubStatesprotected java.util.List<java.lang.String> mappedSubStates
- 
mappedTypesprotected java.util.List<java.lang.String> mappedTypes
- 
mappedSubTypesprotected java.util.List<java.lang.String> mappedSubTypes
- 
channelsprotected java.util.List<java.lang.String> channels
- 
themeprotected java.lang.String theme
- 
iconprotected java.lang.String icon
- 
priorityprotected java.lang.Integer priority
- 
groupIdprotected java.lang.String groupId
- 
sampleprotected java.lang.String sample
- 
helpprotected java.lang.String help
- 
globalprotected java.lang.Boolean global
- 
botKeyprotected java.lang.String botKey
- 
signalNameprotected java.lang.String signalName
- 
signalVariableNamesprotected java.util.List<java.lang.String> signalVariableNames
- 
i18nprotected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> i18n
 
- 
- 
Constructor Details- 
BaseActionDefinitionModelpublic BaseActionDefinitionModel()
 
- 
- 
Method Details- 
getKeypublic java.lang.String getKey()- Specified by:
- getKeyin interface- ActionDefinitionModel
 
- 
setKeypublic void setKey(java.lang.String key)
- 
getNamepublic java.lang.String getName()- Specified by:
- getNamein interface- ActionDefinitionModel
 
- 
setNamepublic void setName(java.lang.String name)
- 
getDescriptionpublic java.lang.String getDescription()- Specified by:
- getDescriptionin interface- ActionDefinitionModel
 
- 
setDescriptionpublic void setDescription(java.lang.String description)
- 
getFormKeypublic java.lang.String getFormKey()- Specified by:
- getFormKeyin interface- ActionDefinitionModel
 
- 
setFormKeypublic void setFormKey(java.lang.String formKey)
- 
isFormSameDeploymentpublic boolean isFormSameDeployment()- Specified by:
- isFormSameDeploymentin interface- ActionDefinitionModel
 
- 
setFormSameDeploymentpublic void setFormSameDeployment(boolean formSameDeployment)
- 
getConfirmationMessagepublic 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 interface- ActionDefinitionModel
- Returns:
- the optional confirmation message as an alternative to a modeled form
 
- 
setConfirmationMessagepublic void setConfirmationMessage(java.lang.String confirmationMessage)
- 
getConfirmationMessageCodepublic 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 interface- ActionDefinitionModel
- Returns:
- the optional confirmation message code if the template engine should be used to render the confirmation message for this action definition
 
- 
setConfirmationMessageCodepublic void setConfirmationMessageCode(java.lang.String confirmationMessageCode)
- 
getConfirmationTitlepublic 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 interface- ActionDefinitionModel
- Returns:
- the optional confirmation dialog title, if the default should be overwritten
 
- 
setConfirmationTitlepublic void setConfirmationTitle(java.lang.String confirmationTitle)
- 
getConfirmationTitleCodepublic 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 interface- ActionDefinitionModel
- Returns:
- the optional confirmation dialog title code to be used with the template engine
 
- 
setConfirmationTitleCodepublic void setConfirmationTitleCode(java.lang.String confirmationTitleCode)
- 
getIgnoreConfirmationMessagepublic java.lang.Boolean getIgnoreConfirmationMessage()- Specified by:
- getIgnoreConfirmationMessagein interface- ActionDefinitionModel
 
- 
setIgnoreConfirmationMessagepublic void setIgnoreConfirmationMessage(java.lang.Boolean ignoreConfirmationMessage)
- 
getScopeTypepublic java.lang.String getScopeType()- Specified by:
- getScopeTypein interface- ActionDefinitionModel
 
- 
setScopeTypepublic void setScopeType(java.lang.String scopeType)
- 
getPermissionUserIdentityLinkTypespublic 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 interface- ActionDefinitionModel
- Returns:
- the types of user identity links
 
- 
setPermissionUserIdentityLinkTypespublic void setPermissionUserIdentityLinkTypes(java.util.Set<java.lang.String> permissionUserIdentityLinkTypes)
- 
getPermissionGroupspublic 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 interface- ActionDefinitionModel
- Returns:
- the list of permission groups
 
- 
setPermissionGroupspublic void setPermissionGroups(java.util.List<java.lang.String> permissionGroups)
- 
getMappedStatespublic java.util.List<java.lang.String> getMappedStates()- Specified by:
- getMappedStatesin interface- ActionDefinitionModel
 
- 
setMappedStatespublic void setMappedStates(java.util.List<java.lang.String> mappedStates)
- 
getMappedSubStatespublic java.util.List<java.lang.String> getMappedSubStates()- Specified by:
- getMappedSubStatesin interface- ActionDefinitionModel
 
- 
setMappedSubStatespublic void setMappedSubStates(java.util.List<java.lang.String> mappedSubStates)
- 
getMappedTypespublic java.util.List<java.lang.String> getMappedTypes()- Specified by:
- getMappedTypesin interface- ActionDefinitionModel
 
- 
setMappedTypespublic void setMappedTypes(java.util.List<java.lang.String> mappedTypes)
- 
getMappedSubTypespublic java.util.List<java.lang.String> getMappedSubTypes()- Specified by:
- getMappedSubTypesin interface- ActionDefinitionModel
 
- 
setMappedSubTypespublic void setMappedSubTypes(java.util.List<java.lang.String> mappedSubTypes)
- 
getChannelspublic java.util.List<java.lang.String> getChannels()- Specified by:
- getChannelsin interface- ActionDefinitionModel
 
- 
setChannelspublic void setChannels(java.util.List<java.lang.String> channels)
- 
getThemepublic java.lang.String getTheme()- Specified by:
- getThemein interface- ActionDefinitionModel
 
- 
setThemepublic void setTheme(java.lang.String theme)
- 
getIconpublic java.lang.String getIcon()- Specified by:
- getIconin interface- ActionDefinitionModel
 
- 
setIconpublic void setIcon(java.lang.String icon)
- 
getPrioritypublic java.lang.Integer getPriority()- Specified by:
- getPriorityin interface- ActionDefinitionModel
 
- 
setPrioritypublic void setPriority(java.lang.Integer priority)
- 
getGroupIdpublic java.lang.String getGroupId()- Specified by:
- getGroupIdin interface- ActionDefinitionModel
 
- 
setGroupIdpublic void setGroupId(java.lang.String groupId)
- 
getSamplepublic 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 interface- ActionDefinitionModel
- Returns:
- the optional sample for this action with sample parameter values
 
- 
setSamplepublic void setSample(java.lang.String sample)
- 
getHelppublic 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 interface- ActionDefinitionModel
- Returns:
- the optional help description for the action
 
- 
setHelppublic void setHelp(java.lang.String help)
- 
getGlobalpublic java.lang.Boolean getGlobal()- Specified by:
- getGlobalin interface- ActionDefinitionModel
 
- 
setGlobalpublic void setGlobal(java.lang.Boolean global)
- 
getBotKeypublic java.lang.String getBotKey()- Specified by:
- getBotKeyin interface- ActionDefinitionModel
 
- 
setBotKeypublic void setBotKey(java.lang.String botKey)
- 
getSignalNamepublic java.lang.String getSignalName()- Specified by:
- getSignalNamein interface- ActionDefinitionModel
 
- 
setSignalNamepublic void setSignalName(java.lang.String signalName)
- 
getSignalVariableNamespublic java.util.List<java.lang.String> getSignalVariableNames()- Specified by:
- getSignalVariableNamesin interface- ActionDefinitionModel
 
- 
setSignalVariableNamespublic void setSignalVariableNames(java.util.List<java.lang.String> signalVariableNames)
- 
getI18npublic java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getI18n()- Specified by:
- getI18nin interface- ActionDefinitionModel
 
- 
setI18npublic void setI18n(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> i18n)
 
-