Class BaseActionDefinitionModel
java.lang.Object
com.flowable.action.api.repository.BaseActionDefinitionModel
- All Implemented Interfaces:
ActionDefinitionModel
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected com.fasterxml.jackson.databind.JsonNode
protected String
protected String
protected String
protected String
protected String
protected String
protected boolean
protected Boolean
protected String
protected String
protected String
protected Boolean
protected String
protected String
protected Integer
protected String
protected String
protected String
protected String
Fields inherited from interface com.flowable.action.api.repository.ActionDefinitionModel
CONFIRMATION_MESSAGE_DEFINITION_KEY, CONFIRMATION_TITLE_DEFINITION_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
Optional 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()
boolean
void
void
setChannels
(List<String> channels) void
setConfig
(com.fasterxml.jackson.databind.JsonNode config) 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
setFormSameDeployment
(boolean formSameDeployment) void
void
setGroupId
(String groupId) void
void
void
void
setIgnoreConfirmationMessage
(Boolean ignoreConfirmationMessage) void
void
setMappedStates
(List<String> mappedStates) void
setMappedSubStates
(List<String> mappedSubStates) void
setMappedSubTypes
(List<String> mappedSubTypes) void
setMappedTypes
(List<String> mappedTypes) void
void
setPermissionGroups
(List<String> permissionGroups) void
setPermissionUserIdentityLinkTypes
(Set<String> permissionUserIdentityLinkTypes) void
setPriority
(Integer priority) void
void
setScopeType
(String scopeType) void
setSignalName
(String signalName) void
setSignalVariableNames
(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:
getKey
in interfaceActionDefinitionModel
-
setKey
-
getName
- Specified by:
getName
in interfaceActionDefinitionModel
-
setName
-
getDescription
- Specified by:
getDescription
in interfaceActionDefinitionModel
-
setDescription
-
getFormKey
- Specified by:
getFormKey
in interfaceActionDefinitionModel
-
setFormKey
-
isFormSameDeployment
public boolean isFormSameDeployment()- Specified by:
isFormSameDeployment
in interfaceActionDefinitionModel
-
setFormSameDeployment
public void setFormSameDeployment(boolean formSameDeployment) -
getConfirmationMessage
Description copied from interface:ActionDefinitionModel
As 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:
getConfirmationMessage
in interfaceActionDefinitionModel
- Returns:
- the optional confirmation message as an alternative to a modeled form
-
setConfirmationMessage
-
getConfirmationMessageCode
Description copied from interface:ActionDefinitionModel
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. 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_KEY
and the returned code is considered the variation for the template.- Specified by:
getConfirmationMessageCode
in 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:ActionDefinitionModel
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.- Specified by:
getConfirmationTitle
in interfaceActionDefinitionModel
- Returns:
- the optional confirmation dialog title, if the default should be overwritten
-
setConfirmationTitle
-
getConfirmationTitleCode
Description copied from interface:ActionDefinitionModel
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.- Specified by:
getConfirmationTitleCode
in interfaceActionDefinitionModel
- Returns:
- the optional confirmation dialog title code to be used with the template engine
-
setConfirmationTitleCode
-
getIgnoreConfirmationMessage
- Specified by:
getIgnoreConfirmationMessage
in interfaceActionDefinitionModel
-
setIgnoreConfirmationMessage
-
getScopeType
- Specified by:
getScopeType
in interfaceActionDefinitionModel
-
setScopeType
-
getPermissionUserIdentityLinkTypes
Description copied from interface:ActionDefinitionModel
The 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:
getPermissionUserIdentityLinkTypes
in interfaceActionDefinitionModel
- Returns:
- the types of user identity links
-
setPermissionUserIdentityLinkTypes
-
getPermissionGroups
Description copied from interface:ActionDefinitionModel
The 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:
getPermissionGroups
in interfaceActionDefinitionModel
- Returns:
- the list of permission groups
-
setPermissionGroups
-
getMappedStates
- Specified by:
getMappedStates
in interfaceActionDefinitionModel
-
setMappedStates
-
getMappedSubStates
- Specified by:
getMappedSubStates
in interfaceActionDefinitionModel
-
setMappedSubStates
-
getMappedTypes
- Specified by:
getMappedTypes
in interfaceActionDefinitionModel
-
setMappedTypes
-
getMappedSubTypes
- Specified by:
getMappedSubTypes
in interfaceActionDefinitionModel
-
setMappedSubTypes
-
getChannels
- Specified by:
getChannels
in interfaceActionDefinitionModel
-
setChannels
-
getTheme
- Specified by:
getTheme
in interfaceActionDefinitionModel
-
setTheme
-
getIcon
- Specified by:
getIcon
in interfaceActionDefinitionModel
-
setIcon
-
getPriority
- Specified by:
getPriority
in interfaceActionDefinitionModel
-
setPriority
-
getGroupId
- Specified by:
getGroupId
in interfaceActionDefinitionModel
-
setGroupId
-
getSample
Description copied from interface:ActionDefinitionModel
Returns the optional sample of how this action could look like as an extension to the description.- Specified by:
getSample
in interfaceActionDefinitionModel
- Returns:
- the optional sample for this action with sample parameter values
-
setSample
-
getHelp
Description copied from interface:ActionDefinitionModel
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.- Specified by:
getHelp
in interfaceActionDefinitionModel
- Returns:
- the optional help description for the action
-
setHelp
-
getGlobal
- Specified by:
getGlobal
in interfaceActionDefinitionModel
-
setGlobal
-
getBotKey
- Specified by:
getBotKey
in interfaceActionDefinitionModel
-
setBotKey
-
getSignalName
- Specified by:
getSignalName
in interfaceActionDefinitionModel
-
setSignalName
-
getSignalVariableNames
- Specified by:
getSignalVariableNames
in interfaceActionDefinitionModel
-
setSignalVariableNames
-
getI18n
- Specified by:
getI18n
in interfaceActionDefinitionModel
-
setI18n
-
getConfig
public com.fasterxml.jackson.databind.JsonNode getConfig()Description copied from interface:ActionDefinitionModel
Optional configuration parameters for the action. Allows to add action/bot implementation specific configurations.- Specified by:
getConfig
in interfaceActionDefinitionModel
-
setConfig
public void setConfig(com.fasterxml.jackson.databind.JsonNode config)
-