Class GeneratedWorkflowActionTemplate

    • Field Detail

      • INCOMINGLINKTEMPLATES

        public static final java.lang.String INCOMINGLINKTEMPLATES
        Qualifier of the WorkflowActionTemplate.incomingLinkTemplates attribute
        See Also:
        Constant Field Values
      • INCOMINGLINKTEMPLATESSTR

        public static final java.lang.String INCOMINGLINKTEMPLATESSTR
        Qualifier of the WorkflowActionTemplate.incomingLinkTemplatesStr attribute
        See Also:
        Constant Field Values
      • CREATIONTYPE

        public static final java.lang.String CREATIONTYPE
        Qualifier of the WorkflowActionTemplate.creationType attribute
        See Also:
        Constant Field Values
      • WORKFLOWPOS

        public static final java.lang.String WORKFLOWPOS
        Qualifier of the WorkflowActionTemplate.workflowPOS attribute
        See Also:
        Constant Field Values
      • WORKFLOW

        public static final java.lang.String WORKFLOW
        Qualifier of the WorkflowActionTemplate.workflow attribute
        See Also:
        Constant Field Values
      • DECISIONTEMPLATES

        public static final java.lang.String DECISIONTEMPLATES
        Qualifier of the WorkflowActionTemplate.decisionTemplates attribute
        See Also:
        Constant Field Values
      • INCOMINGTEMPLATEDECISIONS

        public static final java.lang.String INCOMINGTEMPLATEDECISIONS
        Qualifier of the WorkflowActionTemplate.incomingTemplateDecisions attribute
        See Also:
        Constant Field Values
      • WORKFLOWACTIONTEMPLATELINKTEMPLATERELATION_SRC_ORDERED

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

        protected static java.lang.String WORKFLOWACTIONTEMPLATELINKTEMPLATERELATION_TGT_ORDERED
      • WORKFLOWACTIONTEMPLATELINKTEMPLATERELATION_MARKMODIFIED

        protected static java.lang.String WORKFLOWACTIONTEMPLATELINKTEMPLATERELATION_MARKMODIFIED
        Relation disable markmodifed parameter constants for WorkflowActionTemplateLinkTemplateRelation from ((workflow))
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedWorkflowActionTemplate

        public GeneratedWorkflowActionTemplate()
    • Method Detail

      • 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 java.util.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 java.util.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,
                                         java.util.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​(java.util.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 java.util.List<Link> getIncomingLinkTemplates​(SessionContext ctx)
        Generated method - Getter of the WorkflowActionTemplate.incomingLinkTemplates attribute.
        Returns:
        the incomingLinkTemplates
      • getIncomingLinkTemplates

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

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

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

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

        public java.util.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,
                                                 java.util.Collection<WorkflowDecisionTemplate> value)
        Generated method - Setter of the WorkflowActionTemplate.incomingTemplateDecisions attribute.
        Parameters:
        value - the incomingTemplateDecisions
      • setIncomingTemplateDecisions

        public void setIncomingTemplateDecisions​(java.util.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
      • 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