Class GUITemplate

  • All Implemented Interfaces:
    Serializable

    public class GUITemplate
    extends Object
    implements Serializable
    This user interface bean to model a document template
    Since:
    6.0
    Author:
    Marco Meschieri - LogicalDOC
    See Also:
    Serialized Form
    • Field Detail

      • TYPE_DEFAULT

        public static int TYPE_DEFAULT
    • Constructor Detail

      • GUITemplate

        public GUITemplate()
    • Method Detail

      • getId

        public long getId()
      • setId

        public void setId​(long id)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • appendAttribute

        public void appendAttribute​(GUIAttribute a)
      • removeAttribute

        public void removeAttribute​(String name)
      • reorderAttributes

        public void reorderAttributes​(List<String> names)
      • getAttributesOrderedByPosition

        public GUIAttribute[] getAttributesOrderedByPosition()
      • setAttributes

        public void setAttributes​(GUIAttribute[] attributes)
      • isReadonly

        public boolean isReadonly()
      • setReadonly

        public void setReadonly​(boolean readonly)
      • getType

        public int getType()
      • setType

        public void setType​(int type)
      • getRights

        public GUIRight[] getRights()
      • setRights

        public void setRights​(GUIRight[] rights)
      • getPermissions

        public String[] getPermissions()
      • setPermissions

        public void setPermissions​(String[] permissions)
      • isWrite

        public boolean isWrite()
      • hasPermission

        public boolean hasPermission​(String permission)