public class CmsVfsEntryBean extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable, I_CmsGalleryTreeEntry<CmsVfsEntryBean>
| 限定符 | 构造器和说明 |
|---|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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 |
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.
|
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()
public void addChild(CmsVfsEntryBean child)
I_CmsGalleryTreeEntryaddChild 在接口中 I_CmsGalleryTreeEntry<CmsVfsEntryBean>child - the child to addI_CmsGalleryTreeEntry.addChild(java.lang.Object)public java.util.List<CmsVfsEntryBean> getChildren()
I_CmsGalleryTreeEntrygetChildren 在接口中 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 setChildren(java.util.List<CmsVfsEntryBean> children)
children - the list of childrenpublic 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