Class WorkflowDecisionTemplateModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class WorkflowDecisionTemplateModel
    extends AbstractWorkflowDecisionModel
    Generated model class for type WorkflowDecisionTemplate first defined at extension workflow.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _WORKFLOWACTIONTEMPLATEDECISIONSTEMPLATERELATION

        public static final java.lang.String _WORKFLOWACTIONTEMPLATEDECISIONSTEMPLATERELATION
        Generated relation code constant for relation WorkflowActionTemplateDecisionsTemplateRelation defining source attribute actionTemplate in extension workflow.
        See Also:
        Constant Field Values
      • PARENTWORKFLOWTEMPLATE

        public static final java.lang.String PARENTWORKFLOWTEMPLATE
        Generated constant - Attribute key of WorkflowDecisionTemplate.parentWorkflowTemplate attribute defined at extension workflow.
        See Also:
        Constant Field Values
      • ACTIONTEMPLATE

        public static final java.lang.String ACTIONTEMPLATE
        Generated constant - Attribute key of WorkflowDecisionTemplate.actionTemplate attribute defined at extension workflow.
        See Also:
        Constant Field Values
      • TOTEMPLATEACTIONS

        public static final java.lang.String TOTEMPLATEACTIONS
        Generated constant - Attribute key of WorkflowDecisionTemplate.toTemplateActions attribute defined at extension workflow.
        See Also:
        Constant Field Values
    • Constructor Detail

      • WorkflowDecisionTemplateModel

        public WorkflowDecisionTemplateModel()
        Generated constructor - Default constructor for generic creation.
      • WorkflowDecisionTemplateModel

        public WorkflowDecisionTemplateModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • WorkflowDecisionTemplateModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public WorkflowDecisionTemplateModel​(java.lang.String _code,
                                             ItemModel _owner)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _code - initial attribute declared by type AbstractWorkflowDecision at extension workflow
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getActionTemplate

        @Accessor(qualifier="actionTemplate",
                  type=GETTER)
        public WorkflowActionTemplateModel getActionTemplate()
        Generated method - Getter of the WorkflowDecisionTemplate.actionTemplate attribute defined at extension workflow.
        Returns:
        the actionTemplate - reference to the action template this decision belongs to
      • getParentWorkflowTemplate

        @Accessor(qualifier="parentWorkflowTemplate",
                  type=GETTER)
        public WorkflowTemplateModel getParentWorkflowTemplate()
        Generated method - Getter of the WorkflowDecisionTemplate.parentWorkflowTemplate attribute defined at extension workflow.
        Returns:
        the parentWorkflowTemplate
      • getToTemplateActions

        @Accessor(qualifier="toTemplateActions",
                  type=GETTER)
        public java.util.Collection<WorkflowActionTemplateModel> getToTemplateActions()
        Generated method - Getter of the WorkflowDecisionTemplate.toTemplateActions attribute defined at extension workflow. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the toTemplateActions - list of actions that will be activated then the decision gets chosen
      • setActionTemplate

        @Accessor(qualifier="actionTemplate",
                  type=SETTER)
        public void setActionTemplate​(WorkflowActionTemplateModel value)
        Generated method - Setter of WorkflowDecisionTemplate.actionTemplate attribute defined at extension workflow.
        Parameters:
        value - the actionTemplate - reference to the action template this decision belongs to
      • setToTemplateActions

        @Accessor(qualifier="toTemplateActions",
                  type=SETTER)
        public void setToTemplateActions​(java.util.Collection<WorkflowActionTemplateModel> value)
        Generated method - Setter of WorkflowDecisionTemplate.toTemplateActions attribute defined at extension workflow.
        Parameters:
        value - the toTemplateActions - list of actions that will be activated then the decision gets chosen