Class GeneratedWorkflowActionTemplate

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

public abstract class GeneratedWorkflowActionTemplate extends AbstractWorkflowAction
Generated class for type WorkflowActionTemplate.
See Also:
  • Field Details

    • INCOMINGLINKTEMPLATES

      public static final String INCOMINGLINKTEMPLATES
      Qualifier of the WorkflowActionTemplate.incomingLinkTemplates attribute
      See Also:
    • INCOMINGLINKTEMPLATESSTR

      public static final String INCOMINGLINKTEMPLATESSTR
      Qualifier of the WorkflowActionTemplate.incomingLinkTemplatesStr attribute
      See Also:
    • CREATIONTYPE

      public static final String CREATIONTYPE
      Qualifier of the WorkflowActionTemplate.creationType attribute
      See Also:
    • WORKFLOWPOS

      public static final String WORKFLOWPOS
      Qualifier of the WorkflowActionTemplate.workflowPOS attribute
      See Also:
    • WORKFLOW

      public static final String WORKFLOW
      Qualifier of the WorkflowActionTemplate.workflow attribute
      See Also:
    • DECISIONTEMPLATES

      public static final String DECISIONTEMPLATES
      Qualifier of the WorkflowActionTemplate.decisionTemplates attribute
      See Also:
    • INCOMINGTEMPLATEDECISIONS

      public static final String INCOMINGTEMPLATEDECISIONS
      Qualifier of the WorkflowActionTemplate.incomingTemplateDecisions attribute
      See Also:
    • WORKFLOWACTIONTEMPLATELINKTEMPLATERELATION_SRC_ORDERED

      protected static String WORKFLOWACTIONTEMPLATELINKTEMPLATERELATION_SRC_ORDERED
      Relation ordering override parameter constants for WorkflowActionTemplateLinkTemplateRelation from ((workflow))
    • WORKFLOWACTIONTEMPLATELINKTEMPLATERELATION_TGT_ORDERED

      protected static String WORKFLOWACTIONTEMPLATELINKTEMPLATERELATION_TGT_ORDERED
    • WORKFLOWACTIONTEMPLATELINKTEMPLATERELATION_MARKMODIFIED

      protected static String WORKFLOWACTIONTEMPLATELINKTEMPLATERELATION_MARKMODIFIED
      Relation disable markmodifed parameter constants for WorkflowActionTemplateLinkTemplateRelation from ((workflow))
    • WORKFLOWHANDLER

      protected static final BidirectionalOneToManyHandler<GeneratedWorkflowActionTemplate> WORKFLOWHANDLER
      BidirectionalOneToManyHandler for handling 1:n WORKFLOW's relation attributes from 'one' side.
    • DECISIONTEMPLATESHANDLER

      protected static final OneToManyHandler<WorkflowDecisionTemplate> DECISIONTEMPLATESHANDLER
      OneToManyHandler for handling 1:n DECISIONTEMPLATES's relation attributes from 'many' side.
    • DEFAULT_INITIAL_ATTRIBUTES

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

    • GeneratedWorkflowActionTemplate

      public GeneratedWorkflowActionTemplate()
  • Method Details

    • getDefaultAttributeModes

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

      protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
      Description copied from class: Item
      Has to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) during ComposedType.newInstance(Map).

      In case this method uses any of the attribute values during creation it is required to override Item.getNonInitialAttributes(SessionContext, ItemAttributeMap) too.
      Sn example:

      
       public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext
       ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return
       man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) );
       // here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes(
       SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret =
       super.getNonInitialAttributes( ctx, allAttributes );
       // remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
      
       
      Overrides:
      createItem in class AbstractWorkflowAction
      Parameters:
      ctx - the current session context which this item is created within
      type - the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )
      Returns:
      the new item instance
      Throws:
      JaloBusinessException - indicates an error during creation - any changes will be rollbacked
    • getCreationType

      public abstract ComposedType getCreationType(SessionContext ctx)
      Generated method - Getter of the WorkflowActionTemplate.creationType attribute.
      Returns:
      the creationType
    • getCreationType

      public ComposedType getCreationType()
      Generated method - Getter of the WorkflowActionTemplate.creationType attribute.
      Returns:
      the creationType
    • setCreationType

      public abstract void setCreationType(SessionContext ctx, ComposedType value)
      Generated method - Setter of the WorkflowActionTemplate.creationType attribute.
      Parameters:
      value - the creationType
    • setCreationType

      public void setCreationType(ComposedType value)
      Generated method - Setter of the WorkflowActionTemplate.creationType attribute.
      Parameters:
      value - the creationType
    • getDecisionTemplates

      public Collection<WorkflowDecisionTemplate> getDecisionTemplates(SessionContext ctx)
      Generated method - Getter of the WorkflowActionTemplate.decisionTemplates attribute.
      Returns:
      the decisionTemplates - list of all decision templates of the action template
    • getDecisionTemplates

      public Collection<WorkflowDecisionTemplate> getDecisionTemplates()
      Generated method - Getter of the WorkflowActionTemplate.decisionTemplates attribute.
      Returns:
      the decisionTemplates - list of all decision templates of the action template
    • setDecisionTemplates

      public void setDecisionTemplates(SessionContext ctx, Collection<WorkflowDecisionTemplate> value)
      Generated method - Setter of the WorkflowActionTemplate.decisionTemplates attribute.
      Parameters:
      value - the decisionTemplates - list of all decision templates of the action template
    • setDecisionTemplates

      public void setDecisionTemplates(Collection<WorkflowDecisionTemplate> value)
      Generated method - Setter of the WorkflowActionTemplate.decisionTemplates attribute.
      Parameters:
      value - the decisionTemplates - list of all decision templates of the action template
    • addToDecisionTemplates

      public void addToDecisionTemplates(SessionContext ctx, WorkflowDecisionTemplate value)
      Generated method - Adds value to decisionTemplates.
      Parameters:
      value - the item to add to decisionTemplates - list of all decision templates of the action template
    • addToDecisionTemplates

      public void addToDecisionTemplates(WorkflowDecisionTemplate value)
      Generated method - Adds value to decisionTemplates.
      Parameters:
      value - the item to add to decisionTemplates - list of all decision templates of the action template
    • removeFromDecisionTemplates

      public void removeFromDecisionTemplates(SessionContext ctx, WorkflowDecisionTemplate value)
      Generated method - Removes value from decisionTemplates.
      Parameters:
      value - the item to remove from decisionTemplates - list of all decision templates of the action template
    • removeFromDecisionTemplates

      public void removeFromDecisionTemplates(WorkflowDecisionTemplate value)
      Generated method - Removes value from decisionTemplates.
      Parameters:
      value - the item to remove from decisionTemplates - list of all decision templates of the action template
    • getIncomingLinkTemplates

      public abstract List<Link> getIncomingLinkTemplates(SessionContext ctx)
      Generated method - Getter of the WorkflowActionTemplate.incomingLinkTemplates attribute.
      Returns:
      the incomingLinkTemplates
    • getIncomingLinkTemplates

      public List<Link> getIncomingLinkTemplates()
      Generated method - Getter of the WorkflowActionTemplate.incomingLinkTemplates attribute.
      Returns:
      the incomingLinkTemplates
    • getIncomingLinkTemplatesStr

      public abstract String getIncomingLinkTemplatesStr(SessionContext ctx)
      Generated method - Getter of the WorkflowActionTemplate.incomingLinkTemplatesStr attribute.
      Returns:
      the incomingLinkTemplatesStr
    • getIncomingLinkTemplatesStr

      public String getIncomingLinkTemplatesStr()
      Generated method - Getter of the WorkflowActionTemplate.incomingLinkTemplatesStr attribute.
      Returns:
      the incomingLinkTemplatesStr
    • getIncomingTemplateDecisions

      public Collection<WorkflowDecisionTemplate> getIncomingTemplateDecisions(SessionContext ctx)
      Generated method - Getter of the WorkflowActionTemplate.incomingTemplateDecisions attribute.
      Returns:
      the incomingTemplateDecisions
    • getIncomingTemplateDecisions

      public Collection<WorkflowDecisionTemplate> getIncomingTemplateDecisions()
      Generated method - Getter of the WorkflowActionTemplate.incomingTemplateDecisions attribute.
      Returns:
      the incomingTemplateDecisions
    • getIncomingTemplateDecisionsCount

      public long getIncomingTemplateDecisionsCount(SessionContext ctx)
    • getIncomingTemplateDecisionsCount

      public long getIncomingTemplateDecisionsCount()
    • setIncomingTemplateDecisions

      public void setIncomingTemplateDecisions(SessionContext ctx, Collection<WorkflowDecisionTemplate> value)
      Generated method - Setter of the WorkflowActionTemplate.incomingTemplateDecisions attribute.
      Parameters:
      value - the incomingTemplateDecisions
    • setIncomingTemplateDecisions

      public void setIncomingTemplateDecisions(Collection<WorkflowDecisionTemplate> value)
      Generated method - Setter of the WorkflowActionTemplate.incomingTemplateDecisions attribute.
      Parameters:
      value - the incomingTemplateDecisions
    • addToIncomingTemplateDecisions

      public void addToIncomingTemplateDecisions(SessionContext ctx, WorkflowDecisionTemplate value)
      Generated method - Adds value to incomingTemplateDecisions.
      Parameters:
      value - the item to add to incomingTemplateDecisions
    • addToIncomingTemplateDecisions

      public void addToIncomingTemplateDecisions(WorkflowDecisionTemplate value)
      Generated method - Adds value to incomingTemplateDecisions.
      Parameters:
      value - the item to add to incomingTemplateDecisions
    • removeFromIncomingTemplateDecisions

      public void removeFromIncomingTemplateDecisions(SessionContext ctx, WorkflowDecisionTemplate value)
      Generated method - Removes value from incomingTemplateDecisions.
      Parameters:
      value - the item to remove from incomingTemplateDecisions
    • removeFromIncomingTemplateDecisions

      public void removeFromIncomingTemplateDecisions(WorkflowDecisionTemplate value)
      Generated method - Removes value from incomingTemplateDecisions.
      Parameters:
      value - the item to remove from incomingTemplateDecisions
    • 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 GeneratedAbstractWorkflowAction
    • getWorkflow

      public WorkflowTemplate getWorkflow(SessionContext ctx)
      Generated method - Getter of the WorkflowActionTemplate.workflow attribute.
      Returns:
      the workflow - workflow template to which the action template belongs
    • getWorkflow

      public WorkflowTemplate getWorkflow()
      Generated method - Getter of the WorkflowActionTemplate.workflow attribute.
      Returns:
      the workflow - workflow template to which the action template belongs
    • setWorkflow

      protected void setWorkflow(SessionContext ctx, WorkflowTemplate value)
      Generated method - Setter of the WorkflowActionTemplate.workflow attribute.
      Parameters:
      value - the workflow - workflow template to which the action template belongs
    • setWorkflow

      protected void setWorkflow(WorkflowTemplate value)
      Generated method - Setter of the WorkflowActionTemplate.workflow attribute.
      Parameters:
      value - the workflow - workflow template to which the action template belongs