Class Template

  • All Implemented Interfaces:
    Serializable

    public class Template
    extends ExtensibleObject
    A template collects a set of attributesets ant is itself an extensible object.
    Since:
    4.0
    Author:
    Marco Meschieri - LogicalDOC
    See Also:
    Serialized Form
    • Field Detail

      • TYPE_DEFAULT

        public static int TYPE_DEFAULT
    • Constructor Detail

      • Template

        public Template()
    • Method Detail

      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • getReadonly

        public int getReadonly()
      • setReadonly

        public void setReadonly​(int readonly)
      • getType

        public int getType()
      • setType

        public void setType​(int type)
      • setTemplateGroups

        public void setTemplateGroups​(Set<TemplateGroup> templateGroups)
      • addTemplateGroup

        public void addTemplateGroup​(TemplateGroup tg)
        Adds a new element, substituting a previous one with the same groupId.
        Parameters:
        tg - the template group
      • getWorkflowGroup

        public TemplateGroup getWorkflowGroup​(long groupId)
      • getValidation

        public String getValidation()
      • setValidation

        public void setValidation​(String validation)