Class Type


  • public class Type
    extends Object
    • Constructor Detail

      • Type

        protected Type​(String id)
      • Type

        public Type()
    • Method Detail

      • addSubType

        public void addSubType​(List<SubType> subTypes)
      • getActions

        public String[] getActions()
      • setActions

        public void setActions​(String[] actions)
      • getIcon

        public String getIcon()
      • setIcon

        public void setIcon​(String icon)
      • getBigIcon

        public String getBigIcon()
      • setBigIcon

        public void setBigIcon​(String bigIcon)
      • getBigIconExpanded

        public String getBigIconExpanded()
      • setBigIconExpanded

        public void setBigIconExpanded​(String bigIconExpanded)
      • getLabel

        public String getLabel()
      • setLabel

        public void setLabel​(String label)
      • getId

        public String getId()
      • setId

        public void setId​(String id)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • getCategory

        public String getCategory()
      • setCategory

        public void setCategory​(String category)
      • getLayouts

        public String[] getLayouts​(String mode)
        Returns layout names given a mode.
      • getLayouts

        public Map<String,​Layouts> getLayouts()
        Returns the layouts map
      • getDefaultView

        public String getDefaultView()
      • setDefaultView

        public void setDefaultView​(String defaultView)
      • getCreateView

        public String getCreateView()
      • setCreateView

        public void setCreateView​(String createView)
      • getEditView

        public String getEditView()
      • setEditView

        public void setEditView​(String editView)
      • getViews

        public TypeView[] getViews()
      • setViews

        public void setViews​(TypeView[] views)
      • setView

        public void setView​(TypeView view)
      • getDeniedSubTypes

        public String[] getDeniedSubTypes()
      • setDeniedSubTypes

        public void setDeniedSubTypes​(String[] deniedSubTypes)
      • setAllowedSubTypes

        public void setAllowedSubTypes​(Map<String,​SubType> allowedSubTypes)
      • getRemove

        public boolean getRemove()
      • setRemove

        public void setRemove​(boolean remove)
      • getIconExpanded

        public String getIconExpanded()
      • setIconExpanded

        public void setIconExpanded​(String iconExpanded)
      • getContentViews

        public String[] getContentViews​(String category)
        Return content views defined on this document type for given category
        Since:
        5.4
      • clone

        public Type clone()
        Clone method to handle hot reload
        Overrides:
        clone in class Object
        Since:
        5.6