Class WorkflowTemplate

  • All Implemented Interfaces:
    Serializable, Cloneable

    public class WorkflowTemplate
    extends com.logicaldoc.core.PersistentObject
    implements Cloneable
    Model of a workflow template
    Since:
    6.0
    Author:
    Marco Meschieri - LogicalDOC
    See Also:
    Serialized Form
    • Constructor Detail

      • WorkflowTemplate

        public WorkflowTemplate()
    • Method Detail

      • setName

        public void setName​(String name)
      • getName

        public String getName()
      • setDeployed

        public void setDeployed​(int deployed)
      • getDeployed

        public int getDeployed()
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • getStartState

        public String getStartState()
      • setStartState

        public void setStartState​(String startState)
      • getScheme

        public String getScheme()
      • setScheme

        public void setScheme​(String scheme)
      • getSchemeDraft

        public String getSchemeDraft()
      • setSchemeDraft

        public void setSchemeDraft​(String schemeDraft)
      • getVersion

        public int getVersion()
      • setVersion

        public void setVersion​(int version)
      • getDate

        public Date getDate()
      • setDate

        public void setDate​(Date date)
      • getLabel

        public String getLabel()
      • setLabel

        public void setLabel​(String label)
      • setWorkflowGroups

        public void setWorkflowGroups​(Set<WorkflowGroup> workflowGroups)
      • getWorkflowGroupIds

        public long[] getWorkflowGroupIds()
      • setWorkflowGroup

        public void setWorkflowGroup​(long[] groups)
        Adds WorkflowGroup object given in a String array to the ArrayList of WorkflowGroups.
        Parameters:
        groups - array of group ids
      • addWorkflowGroup

        public void addWorkflowGroup​(WorkflowGroup mg)
        Adds a new element, substituting a previous one with the same groupId.
        Parameters:
        mg - the workflow group
      • getWorkflowGroup

        public WorkflowGroup getWorkflowGroup​(long groupId)
      • toString

        public String toString()
        Overrides:
        toString in class com.logicaldoc.core.PersistentObject