Class CmsCategoryBean

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BIG_ICON_CLASSES
      The big category type icon classes.
      static java.lang.String SMALL_ICON_CLASSES
      The small category type icon classes.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBasePath()
      Returns the base path.
      java.lang.String getBigIconClasses()
      Returns the big icon CSS classes.
      java.lang.String getDescription()
      Returns the description.
      CmsUUID getId()
      Returns the id.
      java.lang.String getPath()
      Returns the category path.
      java.lang.String getRootPath()
      Returns the root path.
      java.lang.String getSitePath()
      Returns the category site path.
      java.lang.String getSmallIconClasses()
      Returns the small icon CSS classes.
      java.lang.String getTitle()
      Returns the title.
      boolean matchesFilter​(java.lang.String filter)
      Returns if the category matches the given filter.
      void setDescription​(java.lang.String description)
      Sets the description.
      void setPath​(java.lang.String path)
      Sets the category path.
      void setSitePath​(java.lang.String sitePath)
      Sets the category site path.
      void setTitle​(java.lang.String title)
      Sets the title.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CmsCategoryBean

        public CmsCategoryBean​(CmsUUID id,
                               java.lang.String title,
                               java.lang.String description,
                               java.lang.String path,
                               java.lang.String basePath,
                               java.lang.String rootPath)
        The constructor.

        Parameters:
        id - the category id
        title - the title to set
        description - the subtitle to set
        path - the category path
        basePath - the category base path
        rootPath - the category root path
      • CmsCategoryBean

        protected CmsCategoryBean()
        Constructor for serialization only.

    • Method Detail

      • getBasePath

        public java.lang.String getBasePath()
        Returns the base path.

        Returns:
        the base path
      • getDescription

        public java.lang.String getDescription()
        Returns the description.

        Returns:
        the description
      • getId

        public CmsUUID getId()
        Returns the id.

        Returns:
        the id
      • getPath

        public java.lang.String getPath()
        Returns the category path.

        Specified by:
        getPath in interface I_CmsHasPath
        Returns:
        the category path
      • getRootPath

        public java.lang.String getRootPath()
        Returns the root path.

        Returns:
        the root path
      • getSitePath

        public java.lang.String getSitePath()
        Returns the category site path.

        Returns:
        the category site path
      • matchesFilter

        public boolean matchesFilter​(java.lang.String filter)
        Returns if the category matches the given filter.

        Parameters:
        filter - the filter to match
        Returns:
        true if the gallery matches the given filter.

      • setDescription

        public void setDescription​(java.lang.String description)
        Sets the description.

        Parameters:
        description - the description to set
      • setPath

        public void setPath​(java.lang.String path)
        Sets the category path.

        Parameters:
        path - the category path to set
      • setSitePath

        public void setSitePath​(java.lang.String sitePath)
        Sets the category site path.

        Parameters:
        sitePath - category site path
      • setTitle

        public void setTitle​(java.lang.String title)
        Sets the title.

        Parameters:
        title - the title to set