Class CmsVfsEntryBean

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected CmsVfsEntryBean()
      Hidden default constructor.
        CmsVfsEntryBean​(java.lang.String rootPath, CmsUUID structureId, java.lang.String title, java.lang.String iconClasses, boolean isRoot, boolean editable, java.util.List<CmsVfsEntryBean> preloadedChildren, boolean isMatch)
      Creates a new VFS entry bean.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addChild​(CmsVfsEntryBean child)
      Adds a new child to the node.
      java.lang.String getBigIconClasses()
      Returns the big icon CSS classes.
      java.util.List<CmsVfsEntryBean> getChildren()
      Gets the children of this node.
      java.lang.String getDisplayName()
      Gets the name which should be displayed in the widget representing this VFS entry.
      java.lang.String getRootPath()
      Gets the root path of the VFS entry.
      java.lang.String getSiteRoot()
      Gets the site root of this tree entry.
      java.lang.String getSmallIconClasses()
      Returns the small icon CSS classes.
      CmsUUID getStructureId()
      Returns the structure id.
      boolean isEditable()
      Returns the editable flag.
      boolean isRoot()
      Returns true if this entry is a top-level entry.
      boolean isSearchMatch()
      Returns true if this entry bean is a search match.
      void setChildren​(java.util.List<CmsVfsEntryBean> children)
      Sets the list of children.
      void setEditable​(boolean editable)
      Sets if the user has write permissions to the folder.
      void setSiteRoot​(java.lang.String siteRoot)
      Sets the site root of this tree entry.
      • Methods inherited from class java.lang.Object

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

      • CmsVfsEntryBean

        public CmsVfsEntryBean​(java.lang.String rootPath,
                               CmsUUID structureId,
                               java.lang.String title,
                               java.lang.String iconClasses,
                               boolean isRoot,
                               boolean editable,
                               java.util.List<CmsVfsEntryBean> preloadedChildren,
                               boolean isMatch)
        Creates a new VFS entry bean.

        Parameters:
        rootPath - the root path
        structureId - the structure id
        title - the folder title
        iconClasses - the resource icon classes
        isRoot - flag indicating whether this is entry should be displayed at the top level of the tree
        editable - true if the user has write permissions to the folder
        preloadedChildren - the preloaded child nodes
        isMatch - true if this entry bean is a search match for the filter string the user entered