|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.ade.galleries.shared.CmsVfsEntryBean
public class CmsVfsEntryBean
Represents a single VFS resource entry for use by the VFS tab of the galleries.
| Constructor Summary | |
|---|---|
protected |
CmsVfsEntryBean()
Hidden default constructor. |
|
CmsVfsEntryBean(java.lang.String rootPath,
CmsUUID structureId,
java.lang.String title,
boolean isRoot,
boolean editable,
java.util.List<CmsVfsEntryBean> preloadedChildren)
Creates a new VFS entry bean. |
| Method Summary | |
|---|---|
void |
addChild(CmsVfsEntryBean child)
Adds a new child to the node. |
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. |
CmsUUID |
getStructureId()
Returns the structure id. |
boolean |
isEditable()
Returns the editable flag. |
boolean |
isRoot()
Returns true if this entry is a top-level entry. |
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 |
|---|
public CmsVfsEntryBean(java.lang.String rootPath,
CmsUUID structureId,
java.lang.String title,
boolean isRoot,
boolean editable,
java.util.List<CmsVfsEntryBean> preloadedChildren)
rootPath - the root pathstructureId - the structure idtitle - the folder titleisRoot - flag indicating whether this is entry should be displayed at the top level of the treeeditable - true if the user has write permissions to the folderpreloadedChildren - the preloaded child nodesprotected CmsVfsEntryBean()
| Method Detail |
|---|
public void addChild(CmsVfsEntryBean child)
I_CmsGalleryTreeEntry
addChild in interface I_CmsGalleryTreeEntry<CmsVfsEntryBean>child - the child to addI_CmsGalleryTreeEntry.addChild(java.lang.Object)public java.util.List<CmsVfsEntryBean> getChildren()
I_CmsGalleryTreeEntry
getChildren in interface I_CmsGalleryTreeEntry<CmsVfsEntryBean>I_CmsGalleryTreeEntry.getChildren()public java.lang.String getDisplayName()
public java.lang.String getRootPath()
public java.lang.String getSiteRoot()
public CmsUUID getStructureId()
public boolean isEditable()
public boolean isRoot()
public void setEditable(boolean editable)
editable - true if the user has write permissions to the folderpublic void setSiteRoot(java.lang.String siteRoot)
siteRoot - the site root of this tree entry
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||