Class CmsCategoryTreeEntry

java.lang.Object
org.opencms.gwt.shared.CmsCategoryBean
org.opencms.gwt.shared.CmsCategoryTreeEntry
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable, I_CmsHasIconClasses, I_CmsHasPath, I_CmsHasTitle

Recursive category tree entry.

Since:
8.0.0
  • Constructor Details

  • Method Details

    • addChild

      public void addChild(CmsCategoryTreeEntry child)
      Adds a child entry.

      Parameters:
      child - the child to add
    • getChildren

      Returns the children.

      Returns:
      the children
    • getForcedVisible

      Gets the 'forced visible' status.

      A category tree entry with this status set to 'true' should be shown even if it is marked as hidden.

      Returns:
      the 'forced visible' status
    • getTitleOrName

      Gets the title of the category, or the name if the title is not set.

      Returns:
      the title or name
    • setChildren

      public void setChildren(List<CmsCategoryTreeEntry> children)
      Sets the children.

      Parameters:
      children - the children to set
    • setForcedVisible

      public void setForcedVisible(Boolean visibility)
      Sets the 'forced visible' status.
      Parameters:
      visibility - the new value