Class GeneratedWorkflowTemplate

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
WorkflowTemplate

public abstract class GeneratedWorkflowTemplate extends Job
Generated class for type WorkflowTemplate.
See Also:
  • Field Details

    • NAME

      public static final String NAME
      Qualifier of the WorkflowTemplate.name attribute
      See Also:
    • DESCRIPTION

      public static final String DESCRIPTION
      Qualifier of the WorkflowTemplate.description attribute
      See Also:
    • ACTIVATIONSCRIPT

      public static final String ACTIVATIONSCRIPT
      Qualifier of the WorkflowTemplate.activationScript attribute
      See Also:
    • ACTIONS

      public static final String ACTIONS
      Qualifier of the WorkflowTemplate.actions attribute
      See Also:
    • VISIBLEFORPRINCIPALS

      public static final String VISIBLEFORPRINCIPALS
      Qualifier of the WorkflowTemplate.visibleForPrincipals attribute
      See Also:
    • WORKFLOWTEMPLATE2PRINCIPALRELATION_SRC_ORDERED

      protected static String WORKFLOWTEMPLATE2PRINCIPALRELATION_SRC_ORDERED
      Relation ordering override parameter constants for WorkflowTemplate2PrincipalRelation from ((workflow))
    • WORKFLOWTEMPLATE2PRINCIPALRELATION_TGT_ORDERED

      protected static String WORKFLOWTEMPLATE2PRINCIPALRELATION_TGT_ORDERED
    • WORKFLOWTEMPLATE2PRINCIPALRELATION_MARKMODIFIED

      protected static String WORKFLOWTEMPLATE2PRINCIPALRELATION_MARKMODIFIED
      Relation disable markmodifed parameter constants for WorkflowTemplate2PrincipalRelation from ((workflow))
    • ACTIONSHANDLER

      protected static final OneToManyHandler<WorkflowActionTemplate> ACTIONSHANDLER
      OneToManyHandler for handling 1:n ACTIONS's relation attributes from 'many' side.
    • DEFAULT_INITIAL_ATTRIBUTES

      protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
  • Constructor Details

    • GeneratedWorkflowTemplate

      public GeneratedWorkflowTemplate()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class GeneratedJob
    • getActions

      public List<WorkflowActionTemplate> getActions(SessionContext ctx)
      Generated method - Getter of the WorkflowTemplate.actions attribute.
      Returns:
      the actions - n-part of the WorkflowTemplateActionTemplateRelation; set of action templates from which a action will be created and set to the workflow created by the workflow template each
    • getActions

      public List<WorkflowActionTemplate> getActions()
      Generated method - Getter of the WorkflowTemplate.actions attribute.
      Returns:
      the actions - n-part of the WorkflowTemplateActionTemplateRelation; set of action templates from which a action will be created and set to the workflow created by the workflow template each
    • setActions

      public void setActions(SessionContext ctx, List<WorkflowActionTemplate> value)
      Generated method - Setter of the WorkflowTemplate.actions attribute.
      Parameters:
      value - the actions - n-part of the WorkflowTemplateActionTemplateRelation; set of action templates from which a action will be created and set to the workflow created by the workflow template each
    • setActions

      public void setActions(List<WorkflowActionTemplate> value)
      Generated method - Setter of the WorkflowTemplate.actions attribute.
      Parameters:
      value - the actions - n-part of the WorkflowTemplateActionTemplateRelation; set of action templates from which a action will be created and set to the workflow created by the workflow template each
    • addToActions

      public void addToActions(SessionContext ctx, WorkflowActionTemplate value)
      Generated method - Adds value to actions.
      Parameters:
      value - the item to add to actions - n-part of the WorkflowTemplateActionTemplateRelation; set of action templates from which a action will be created and set to the workflow created by the workflow template each
    • addToActions

      public void addToActions(WorkflowActionTemplate value)
      Generated method - Adds value to actions.
      Parameters:
      value - the item to add to actions - n-part of the WorkflowTemplateActionTemplateRelation; set of action templates from which a action will be created and set to the workflow created by the workflow template each
    • removeFromActions

      public void removeFromActions(SessionContext ctx, WorkflowActionTemplate value)
      Generated method - Removes value from actions.
      Parameters:
      value - the item to remove from actions - n-part of the WorkflowTemplateActionTemplateRelation; set of action templates from which a action will be created and set to the workflow created by the workflow template each
    • removeFromActions

      public void removeFromActions(WorkflowActionTemplate value)
      Generated method - Removes value from actions.
      Parameters:
      value - the item to remove from actions - n-part of the WorkflowTemplateActionTemplateRelation; set of action templates from which a action will be created and set to the workflow created by the workflow template each
    • getActivationScript

      public String getActivationScript(SessionContext ctx)
      Generated method - Getter of the WorkflowTemplate.activationScript attribute.
      Returns:
      the activationScript - Java code used to automatically trigger a Workflow
    • getActivationScript

      public String getActivationScript()
      Generated method - Getter of the WorkflowTemplate.activationScript attribute.
      Returns:
      the activationScript - Java code used to automatically trigger a Workflow
    • setActivationScript

      public void setActivationScript(SessionContext ctx, String value)
      Generated method - Setter of the WorkflowTemplate.activationScript attribute.
      Parameters:
      value - the activationScript - Java code used to automatically trigger a Workflow
    • setActivationScript

      public void setActivationScript(String value)
      Generated method - Setter of the WorkflowTemplate.activationScript attribute.
      Parameters:
      value - the activationScript - Java code used to automatically trigger a Workflow
    • getDescription

      public String getDescription(SessionContext ctx)
      Generated method - Getter of the WorkflowTemplate.description attribute.
      Returns:
      the description - description of the workflows created by the template; will be copied to a created workflow initially
    • getDescription

      public String getDescription()
      Generated method - Getter of the WorkflowTemplate.description attribute.
      Returns:
      the description - description of the workflows created by the template; will be copied to a created workflow initially
    • getAllDescription

      public Map<Language,String> getAllDescription(SessionContext ctx)
      Generated method - Getter of the WorkflowTemplate.description attribute.
      Returns:
      the localized description - description of the workflows created by the template; will be copied to a created workflow initially
    • getAllDescription

      public Map<Language,String> getAllDescription()
      Generated method - Getter of the WorkflowTemplate.description attribute.
      Returns:
      the localized description - description of the workflows created by the template; will be copied to a created workflow initially
    • setDescription

      public void setDescription(SessionContext ctx, String value)
      Generated method - Setter of the WorkflowTemplate.description attribute.
      Parameters:
      value - the description - description of the workflows created by the template; will be copied to a created workflow initially
    • setDescription

      public void setDescription(String value)
      Generated method - Setter of the WorkflowTemplate.description attribute.
      Parameters:
      value - the description - description of the workflows created by the template; will be copied to a created workflow initially
    • setAllDescription

      public void setAllDescription(SessionContext ctx, Map<Language,String> value)
      Generated method - Setter of the WorkflowTemplate.description attribute.
      Parameters:
      value - the description - description of the workflows created by the template; will be copied to a created workflow initially
    • setAllDescription

      public void setAllDescription(Map<Language,String> value)
      Generated method - Setter of the WorkflowTemplate.description attribute.
      Parameters:
      value - the description - description of the workflows created by the template; will be copied to a created workflow initially
    • isMarkModifiedDisabled

      @Deprecated(since="2105", forRemoval=true) public boolean isMarkModifiedDisabled(Item referencedItem)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      isMarkModifiedDisabled in class Item
    • getName

      public String getName(SessionContext ctx)
      Generated method - Getter of the WorkflowTemplate.name attribute.
      Returns:
      the name - name of the workflows created by the template; will be copied to a created workflow initially
    • getName

      public String getName()
      Generated method - Getter of the WorkflowTemplate.name attribute.
      Returns:
      the name - name of the workflows created by the template; will be copied to a created workflow initially
    • getAllName

      public Map<Language,String> getAllName(SessionContext ctx)
      Generated method - Getter of the WorkflowTemplate.name attribute.
      Returns:
      the localized name - name of the workflows created by the template; will be copied to a created workflow initially
    • getAllName

      public Map<Language,String> getAllName()
      Generated method - Getter of the WorkflowTemplate.name attribute.
      Returns:
      the localized name - name of the workflows created by the template; will be copied to a created workflow initially
    • setName

      public void setName(SessionContext ctx, String value)
      Generated method - Setter of the WorkflowTemplate.name attribute.
      Parameters:
      value - the name - name of the workflows created by the template; will be copied to a created workflow initially
    • setName

      public void setName(String value)
      Generated method - Setter of the WorkflowTemplate.name attribute.
      Parameters:
      value - the name - name of the workflows created by the template; will be copied to a created workflow initially
    • setAllName

      public void setAllName(SessionContext ctx, Map<Language,String> value)
      Generated method - Setter of the WorkflowTemplate.name attribute.
      Parameters:
      value - the name - name of the workflows created by the template; will be copied to a created workflow initially
    • setAllName

      public void setAllName(Map<Language,String> value)
      Generated method - Setter of the WorkflowTemplate.name attribute.
      Parameters:
      value - the name - name of the workflows created by the template; will be copied to a created workflow initially
    • getVisibleForPrincipals

      public Collection<Principal> getVisibleForPrincipals(SessionContext ctx)
      Generated method - Getter of the WorkflowTemplate.visibleForPrincipals attribute.
      Returns:
      the visibleForPrincipals
    • getVisibleForPrincipals

      public Collection<Principal> getVisibleForPrincipals()
      Generated method - Getter of the WorkflowTemplate.visibleForPrincipals attribute.
      Returns:
      the visibleForPrincipals
    • getVisibleForPrincipalsCount

      public long getVisibleForPrincipalsCount(SessionContext ctx)
    • getVisibleForPrincipalsCount

      public long getVisibleForPrincipalsCount()
    • setVisibleForPrincipals

      public void setVisibleForPrincipals(SessionContext ctx, Collection<Principal> value)
      Generated method - Setter of the WorkflowTemplate.visibleForPrincipals attribute.
      Parameters:
      value - the visibleForPrincipals
    • setVisibleForPrincipals

      public void setVisibleForPrincipals(Collection<Principal> value)
      Generated method - Setter of the WorkflowTemplate.visibleForPrincipals attribute.
      Parameters:
      value - the visibleForPrincipals
    • addToVisibleForPrincipals

      public void addToVisibleForPrincipals(SessionContext ctx, Principal value)
      Generated method - Adds value to visibleForPrincipals.
      Parameters:
      value - the item to add to visibleForPrincipals
    • addToVisibleForPrincipals

      public void addToVisibleForPrincipals(Principal value)
      Generated method - Adds value to visibleForPrincipals.
      Parameters:
      value - the item to add to visibleForPrincipals
    • removeFromVisibleForPrincipals

      public void removeFromVisibleForPrincipals(SessionContext ctx, Principal value)
      Generated method - Removes value from visibleForPrincipals.
      Parameters:
      value - the item to remove from visibleForPrincipals
    • removeFromVisibleForPrincipals

      public void removeFromVisibleForPrincipals(Principal value)
      Generated method - Removes value from visibleForPrincipals.
      Parameters:
      value - the item to remove from visibleForPrincipals