Class CmsSitemapEntryBean

    • Constructor Detail

      • CmsSitemapEntryBean

        public CmsSitemapEntryBean​(java.lang.String rootPath,
                                   java.lang.String sitePath,
                                   CmsUUID structureId,
                                   java.lang.String title,
                                   java.lang.String type,
                                   boolean isFolder,
                                   boolean isRoot,
                                   boolean isHiddenEntry)
        Constructor.

        Parameters:
        rootPath - the root path
        sitePath - the site path
        structureId - the entry id
        title - the title
        type - the resource type
        isFolder - true if this entry represents a folder
        isRoot - true if this is a site root entry
        isHiddenEntry - true if this is a hidden entry
    • Method Detail

      • getDisplayName

        public java.lang.String getDisplayName()
        Gets the name which should be displayed in the widget representing this VFS entry.

        Returns:
        the name to display
      • getRootPath

        public java.lang.String getRootPath()
        Gets the root path of the sitemap entry.

        Returns:
        the root path of the sitemap entry
      • getSitePath

        public java.lang.String getSitePath()
        Returns the site path of this VFS tree.
        Returns:
        the site path
      • getSiteRoot

        public java.lang.String getSiteRoot()
        Gets the site root.

        Returns:
        the site root
      • getStructureId

        public CmsUUID getStructureId()
        Returns the entry structure id.

        Returns:
        the entry structure id
      • getType

        public java.lang.String getType()
        Returns the type.

        Returns:
        the type
      • hasChildren

        public boolean hasChildren()
        Returns if the children of this entry have been loaded.

        Returns:
        true if the children of this entry have been loaded
      • isFolder

        public boolean isFolder()
        Returns the isFolder.

        Returns:
        the isFolder
      • isHiddenEntry

        public boolean isHiddenEntry()
        Returns if this is a hidden entry.

        Returns:
        true if this is a hidden entry
      • isRoot

        public boolean isRoot()
        Returns true if this entry is a top-level entry.

        Returns:
        true if this is a top-level entry
      • isSearchMatch

        public boolean isSearchMatch()
        Returns true if this is a search match.

        Returns:
        true if this is a search match
      • setChildren

        public void setChildren​(java.util.List<CmsSitemapEntryBean> children)
        Sets the children of this entry.

        Parameters:
        children - the children
      • setSearchMatch

        public void setSearchMatch​(boolean isSearchMatch)
        Marks this entry as a search match.

        Parameters:
        isSearchMatch - true if this is a search match
      • setSiteRoot

        public void setSiteRoot​(java.lang.String siteRoot)
        Sets the site root for this bean.

        Parameters:
        siteRoot - the site root
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()