Class BaseActionDefinitionModel
java.lang.Object
com.flowable.action.api.repository.BaseActionDefinitionModel
- All Implemented Interfaces:
ActionDefinitionModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected com.fasterxml.jackson.databind.JsonNodeprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected Booleanprotected Stringprotected Stringprotected Stringprotected Booleanprotected Stringprotected Stringprotected Integerprotected Stringprotected Stringprotected Stringprotected StringFields inherited from interface com.flowable.action.api.repository.ActionDefinitionModel
CONFIRMATION_MESSAGE_DEFINITION_KEY, CONFIRMATION_TITLE_DEFINITION_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodeOptional configuration parameters for the action.As an alternative to a modeled form, a simple confirmation message might be provided by the action definition.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.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.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.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.getI18n()getIcon()getKey()getName()The permissions groups that have permission to see the action.The types of user identity links that have permission to see the action.Returns the optional sample of how this action could look like as an extension to the description.getTheme()booleanvoidvoidsetChannels(List<String> channels) voidsetConfig(com.fasterxml.jackson.databind.JsonNode config) voidsetConfirmationMessage(String confirmationMessage) voidsetConfirmationMessageCode(String confirmationMessageCode) voidsetConfirmationTitle(String confirmationTitle) voidsetConfirmationTitleCode(String confirmationTitleCode) voidsetDescription(String description) voidsetFormKey(String formKey) voidsetFormSameDeployment(boolean formSameDeployment) voidvoidsetGroupId(String groupId) voidvoidvoidvoidsetIgnoreConfirmationMessage(Boolean ignoreConfirmationMessage) voidvoidsetMappedStates(List<String> mappedStates) voidsetMappedSubStates(List<String> mappedSubStates) voidsetMappedSubTypes(List<String> mappedSubTypes) voidsetMappedTypes(List<String> mappedTypes) voidvoidsetPermissionGroups(List<String> permissionGroups) voidsetPermissionUserIdentityLinkTypes(Set<String> permissionUserIdentityLinkTypes) voidsetPriority(Integer priority) voidvoidsetScopeType(String scopeType) voidsetSignalName(String signalName) voidsetSignalVariableNames(List<String> signalVariableNames) void
-
Field Details
-
key
-
name
-
description
-
formKey
-
formSameDeployment
protected boolean formSameDeployment -
confirmationMessage
-
confirmationMessageCode
-
confirmationTitle
-
confirmationTitleCode
-
ignoreConfirmationMessage
-
scopeType
-
permissionUserIdentityLinkTypes
-
permissionGroups
-
mappedStates
-
mappedSubStates
-
mappedTypes
-
mappedSubTypes
-
channels
-
theme
-
icon
-
priority
-
groupId
-
sample
-
help
-
global
-
botKey
-
signalName
-
signalVariableNames
-
i18n
-
config
protected com.fasterxml.jackson.databind.JsonNode config
-
-
Constructor Details
-
BaseActionDefinitionModel
public BaseActionDefinitionModel()
-
-
Method Details
-
getKey
- Specified by:
getKeyin interfaceActionDefinitionModel
-
setKey
-
getName
- Specified by:
getNamein interfaceActionDefinitionModel
-
setName
-
getDescription
- Specified by:
getDescriptionin interfaceActionDefinitionModel
-
setDescription
-
getFormKey
- Specified by:
getFormKeyin interfaceActionDefinitionModel
-
setFormKey
-
isFormSameDeployment
public boolean isFormSameDeployment()- Specified by:
isFormSameDeploymentin interfaceActionDefinitionModel
-
setFormSameDeployment
public void setFormSameDeployment(boolean formSameDeployment) -
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
-
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
-
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
-
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
-
getIgnoreConfirmationMessage
- Specified by:
getIgnoreConfirmationMessagein interfaceActionDefinitionModel
-
setIgnoreConfirmationMessage
-
getScopeType
- Specified by:
getScopeTypein interfaceActionDefinitionModel
-
setScopeType
-
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
-
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
-
getMappedStates
- Specified by:
getMappedStatesin interfaceActionDefinitionModel
-
setMappedStates
-
getMappedSubStates
- Specified by:
getMappedSubStatesin interfaceActionDefinitionModel
-
setMappedSubStates
-
getMappedTypes
- Specified by:
getMappedTypesin interfaceActionDefinitionModel
-
setMappedTypes
-
getMappedSubTypes
- Specified by:
getMappedSubTypesin interfaceActionDefinitionModel
-
setMappedSubTypes
-
getChannels
- Specified by:
getChannelsin interfaceActionDefinitionModel
-
setChannels
-
getTheme
- Specified by:
getThemein interfaceActionDefinitionModel
-
setTheme
-
getIcon
- Specified by:
getIconin interfaceActionDefinitionModel
-
setIcon
-
getPriority
- Specified by:
getPriorityin interfaceActionDefinitionModel
-
setPriority
-
getGroupId
- Specified by:
getGroupIdin interfaceActionDefinitionModel
-
setGroupId
-
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
-
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
-
getGlobal
- Specified by:
getGlobalin interfaceActionDefinitionModel
-
setGlobal
-
getBotKey
- Specified by:
getBotKeyin interfaceActionDefinitionModel
-
setBotKey
-
getSignalName
- Specified by:
getSignalNamein interfaceActionDefinitionModel
-
setSignalName
-
getSignalVariableNames
- Specified by:
getSignalVariableNamesin interfaceActionDefinitionModel
-
setSignalVariableNames
-
getI18n
- Specified by:
getI18nin interfaceActionDefinitionModel
-
setI18n
-
getConfig
public com.fasterxml.jackson.databind.JsonNode getConfig()Description copied from interface:ActionDefinitionModelOptional configuration parameters for the action. Allows to add action/bot implementation specific configurations.- Specified by:
getConfigin interfaceActionDefinitionModel
-
setConfig
public void setConfig(com.fasterxml.jackson.databind.JsonNode config)
-