Class BaseActionDefinitionModel

    • Field Detail

      • 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 Detail

      • BaseActionDefinitionModel

        public BaseActionDefinitionModel()
    • Method Detail

      • setKey

        public void setKey​(java.lang.String key)
      • setName

        public void setName​(java.lang.String name)
      • setDescription

        public void setDescription​(java.lang.String description)
      • setFormKey

        public void setFormKey​(java.lang.String formKey)
      • setFormSameDeployment

        public void setFormSameDeployment​(boolean formSameDeployment)
      • getConfirmationMessage

        public java.lang.String 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 interface ActionDefinitionModel
        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: 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 is ActionDefinitionModel.CONFIRMATION_MESSAGE_DEFINITION_KEY and the returned code is considered the variation for the template.
        Specified by:
        getConfirmationMessageCode in interface ActionDefinitionModel
        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: 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 interface ActionDefinitionModel
        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: 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 interface ActionDefinitionModel
        Returns:
        the optional confirmation dialog title code to be used with the template engine
      • setConfirmationTitleCode

        public void setConfirmationTitleCode​(java.lang.String confirmationTitleCode)
      • setIgnoreConfirmationMessage

        public void setIgnoreConfirmationMessage​(java.lang.Boolean ignoreConfirmationMessage)
      • setScopeType

        public void setScopeType​(java.lang.String scopeType)
      • setPermissionUserIdentityLinkTypes

        public void setPermissionUserIdentityLinkTypes​(java.util.Set<java.lang.String> permissionUserIdentityLinkTypes)
      • setPermissionGroups

        public void setPermissionGroups​(java.util.List<java.lang.String> permissionGroups)
      • setMappedStates

        public void setMappedStates​(java.util.List<java.lang.String> mappedStates)
      • setMappedSubStates

        public void setMappedSubStates​(java.util.List<java.lang.String> mappedSubStates)
      • setMappedTypes

        public void setMappedTypes​(java.util.List<java.lang.String> mappedTypes)
      • setMappedSubTypes

        public void setMappedSubTypes​(java.util.List<java.lang.String> mappedSubTypes)
      • setChannels

        public void setChannels​(java.util.List<java.lang.String> channels)
      • setTheme

        public void setTheme​(java.lang.String theme)
      • setIcon

        public void setIcon​(java.lang.String icon)
      • setPriority

        public void setPriority​(java.lang.Integer priority)
      • setGroupId

        public void setGroupId​(java.lang.String groupId)
      • getSample

        public java.lang.String 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 interface ActionDefinitionModel
        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: 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 interface ActionDefinitionModel
        Returns:
        the optional help description for the action
      • setHelp

        public void setHelp​(java.lang.String help)
      • setGlobal

        public void setGlobal​(java.lang.Boolean global)
      • setBotKey

        public void setBotKey​(java.lang.String botKey)
      • setSignalName

        public void setSignalName​(java.lang.String signalName)
      • 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:
        getI18n in interface ActionDefinitionModel
      • setI18n

        public void setI18n​(java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>> i18n)