Class ViewParametersModel

    • Field Detail

      • _id

        protected String _id
        The unique identifier
    • Method Detail

      • getView

        public View getView()
        Get the view
        Returns:
        the view
      • setView

        public void setView​(View view)
        Set the view
        Parameters:
        view - the view
      • getId

        public String getId()
        Description copied from interface: Model
        Retrieves the model id (an id must be unique in the family Model.getFamilyId()
        Specified by:
        getId in interface Model
        Returns:
        model id (for example the content type id for a content)
      • getFamilyId

        public String getFamilyId()
        Description copied from interface: Model
        Retrieves the Family Id (for example the extension point) Each model Id have to be unique in it's family Id
        Specified by:
        getFamilyId in interface Model
        Returns:
        content point (for example "org.ametys.cms.contenttype.ContentTypeExtensionPoint" for a content)
      • isNotEmpty

        public boolean isNotEmpty()
        Returns true if there are model items
        Returns:
        true if there are model items
      • addModelItem

        public void addModelItem​(ModelItem modelItem)
        Add a model item
        Parameters:
        modelItem - the model item
      • getInheritedModelItems

        public Collection<? extends ModelItemgetInheritedModelItems​(Page page)
        Get model item with inheritance from the page
        Parameters:
        page - the page
        Returns:
        the list of model item with inheritance