Class BaseActionDefinitionModel
- java.lang.Object
- 
- com.flowable.action.api.repository.BaseActionDefinitionModel
 
- 
- All Implemented Interfaces:
- ActionDefinitionModel
 
 public class BaseActionDefinitionModel extends Object implements ActionDefinitionModel 
- 
- 
Field SummaryFields Modifier and Type Field Description protected StringbotKeyprotected List<String>channelsprotected StringconfirmationMessageprotected StringconfirmationMessageCodeprotected StringconfirmationTitleprotected StringconfirmationTitleCodeprotected Stringdescriptionprotected StringformKeyprotected booleanformSameDeploymentprotected Booleanglobalprotected StringgroupIdprotected Stringhelpprotected Map<String,Map<String,String>>i18nprotected Stringiconprotected BooleanignoreConfirmationMessageprotected Stringkeyprotected List<String>mappedStatesprotected List<String>mappedSubStatesprotected List<String>mappedSubTypesprotected List<String>mappedTypesprotected Stringnameprotected List<String>permissionGroupsprotected Set<String>permissionUserIdentityLinkTypesprotected Integerpriorityprotected Stringsampleprotected StringscopeTypeprotected StringsignalNameprotected List<String>signalVariableNamesprotected Stringtheme- 
Fields inherited from interface com.flowable.action.api.repository.ActionDefinitionModelCONFIRMATION_MESSAGE_DEFINITION_KEY, CONFIRMATION_TITLE_DEFINITION_KEY
 
- 
 - 
Constructor SummaryConstructors Constructor Description BaseActionDefinitionModel()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBotKey()List<String>getChannels()StringgetConfirmationMessage()As an alternative to a modeled form, a simple confirmation message might be provided by the action definition.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.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.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.StringgetDescription()StringgetFormKey()BooleangetGlobal()StringgetGroupId()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.Map<String,Map<String,String>>getI18n()StringgetIcon()BooleangetIgnoreConfirmationMessage()StringgetKey()List<String>getMappedStates()List<String>getMappedSubStates()List<String>getMappedSubTypes()List<String>getMappedTypes()StringgetName()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.IntegergetPriority()StringgetSample()Returns the optional sample of how this action could look like as an extension to the description.StringgetScopeType()StringgetSignalName()List<String>getSignalVariableNames()StringgetTheme()booleanisFormSameDeployment()voidsetBotKey(String botKey)voidsetChannels(List<String> channels)voidsetConfirmationMessage(String confirmationMessage)voidsetConfirmationMessageCode(String confirmationMessageCode)voidsetConfirmationTitle(String confirmationTitle)voidsetConfirmationTitleCode(String confirmationTitleCode)voidsetDescription(String description)voidsetFormKey(String formKey)voidsetFormSameDeployment(boolean formSameDeployment)voidsetGlobal(Boolean global)voidsetGroupId(String groupId)voidsetHelp(String help)voidsetI18n(Map<String,Map<String,String>> i18n)voidsetIcon(String icon)voidsetIgnoreConfirmationMessage(Boolean ignoreConfirmationMessage)voidsetKey(String key)voidsetMappedStates(List<String> mappedStates)voidsetMappedSubStates(List<String> mappedSubStates)voidsetMappedSubTypes(List<String> mappedSubTypes)voidsetMappedTypes(List<String> mappedTypes)voidsetName(String name)voidsetPermissionGroups(List<String> permissionGroups)voidsetPermissionUserIdentityLinkTypes(Set<String> permissionUserIdentityLinkTypes)voidsetPriority(Integer priority)voidsetSample(String sample)voidsetScopeType(String scopeType)voidsetSignalName(String signalName)voidsetSignalVariableNames(List<String> signalVariableNames)voidsetTheme(String theme)
 
- 
- 
- 
Field Detail- 
keyprotected String key 
 - 
nameprotected String name 
 - 
descriptionprotected String description 
 - 
formKeyprotected String formKey 
 - 
formSameDeploymentprotected boolean formSameDeployment 
 - 
confirmationMessageprotected String confirmationMessage 
 - 
confirmationMessageCodeprotected String confirmationMessageCode 
 - 
confirmationTitleprotected String confirmationTitle 
 - 
confirmationTitleCodeprotected String confirmationTitleCode 
 - 
ignoreConfirmationMessageprotected Boolean ignoreConfirmationMessage 
 - 
scopeTypeprotected String scopeType 
 - 
themeprotected String theme 
 - 
iconprotected String icon 
 - 
priorityprotected Integer priority 
 - 
groupIdprotected String groupId 
 - 
sampleprotected String sample 
 - 
helpprotected String help 
 - 
globalprotected Boolean global 
 - 
botKeyprotected String botKey 
 - 
signalNameprotected String signalName 
 
- 
 - 
Method Detail- 
getKeypublic String getKey() - Specified by:
- getKeyin interface- ActionDefinitionModel
 
 - 
setKeypublic void setKey(String key) 
 - 
getNamepublic String getName() - Specified by:
- getNamein interface- ActionDefinitionModel
 
 - 
setNamepublic void setName(String name) 
 - 
getDescriptionpublic String getDescription() - Specified by:
- getDescriptionin interface- ActionDefinitionModel
 
 - 
setDescriptionpublic void setDescription(String description) 
 - 
getFormKeypublic String getFormKey() - Specified by:
- getFormKeyin interface- ActionDefinitionModel
 
 - 
setFormKeypublic void setFormKey(String formKey) 
 - 
isFormSameDeploymentpublic boolean isFormSameDeployment() - Specified by:
- isFormSameDeploymentin interface- ActionDefinitionModel
 
 - 
setFormSameDeploymentpublic void setFormSameDeployment(boolean formSameDeployment) 
 - 
getConfirmationMessagepublic 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(String confirmationMessage) 
 - 
getConfirmationMessageCodepublic 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(String confirmationMessageCode) 
 - 
getConfirmationTitlepublic 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(String confirmationTitle) 
 - 
getConfirmationTitleCodepublic 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(String confirmationTitleCode) 
 - 
getIgnoreConfirmationMessagepublic Boolean getIgnoreConfirmationMessage() - Specified by:
- getIgnoreConfirmationMessagein interface- ActionDefinitionModel
 
 - 
setIgnoreConfirmationMessagepublic void setIgnoreConfirmationMessage(Boolean ignoreConfirmationMessage) 
 - 
getScopeTypepublic String getScopeType() - Specified by:
- getScopeTypein interface- ActionDefinitionModel
 
 - 
setScopeTypepublic void setScopeType(String scopeType) 
 - 
getPermissionUserIdentityLinkTypespublic Set<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(Set<String> permissionUserIdentityLinkTypes) 
 - 
getPermissionGroupspublic List<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
 
 - 
getMappedStatespublic List<String> getMappedStates() - Specified by:
- getMappedStatesin interface- ActionDefinitionModel
 
 - 
getMappedSubStatespublic List<String> getMappedSubStates() - Specified by:
- getMappedSubStatesin interface- ActionDefinitionModel
 
 - 
getMappedTypespublic List<String> getMappedTypes() - Specified by:
- getMappedTypesin interface- ActionDefinitionModel
 
 - 
getMappedSubTypespublic List<String> getMappedSubTypes() - Specified by:
- getMappedSubTypesin interface- ActionDefinitionModel
 
 - 
getChannelspublic List<String> getChannels() - Specified by:
- getChannelsin interface- ActionDefinitionModel
 
 - 
getThemepublic String getTheme() - Specified by:
- getThemein interface- ActionDefinitionModel
 
 - 
setThemepublic void setTheme(String theme) 
 - 
getIconpublic String getIcon() - Specified by:
- getIconin interface- ActionDefinitionModel
 
 - 
setIconpublic void setIcon(String icon) 
 - 
getPrioritypublic Integer getPriority() - Specified by:
- getPriorityin interface- ActionDefinitionModel
 
 - 
setPrioritypublic void setPriority(Integer priority) 
 - 
getGroupIdpublic String getGroupId() - Specified by:
- getGroupIdin interface- ActionDefinitionModel
 
 - 
setGroupIdpublic void setGroupId(String groupId) 
 - 
getSamplepublic 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(String sample) 
 - 
getHelppublic 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(String help) 
 - 
getGlobalpublic Boolean getGlobal() - Specified by:
- getGlobalin interface- ActionDefinitionModel
 
 - 
setGlobalpublic void setGlobal(Boolean global) 
 - 
getBotKeypublic String getBotKey() - Specified by:
- getBotKeyin interface- ActionDefinitionModel
 
 - 
setBotKeypublic void setBotKey(String botKey) 
 - 
getSignalNamepublic String getSignalName() - Specified by:
- getSignalNamein interface- ActionDefinitionModel
 
 - 
setSignalNamepublic void setSignalName(String signalName) 
 - 
getSignalVariableNamespublic List<String> getSignalVariableNames() - Specified by:
- getSignalVariableNamesin interface- ActionDefinitionModel
 
 - 
getI18npublic Map<String,Map<String,String>> getI18n() - Specified by:
- getI18nin interface- ActionDefinitionModel
 
 
- 
 
-