public class CmsSitemapEntryBean extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable, I_CmsGalleryTreeEntry<CmsSitemapEntryBean>
限定符 | 构造器和说明 |
---|---|
protected |
CmsSitemapEntryBean()
Constructor for serialization only.
|
|
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,
boolean isNavLevel)
Constructor.
|
限定符和类型 | 方法和说明 |
---|---|
void |
addChild(CmsSitemapEntryBean child)
Adds a new child to the node.
|
java.util.List<CmsSitemapEntryBean> |
getChildren()
Returns the children of this entry or
null if not loaded. |
java.lang.String |
getDisplayName()
Gets the name which should be displayed in the widget representing this VFS entry.
|
java.lang.String |
getImageType()
Returns the type name used to determine the icon (may be different from the actual type.
|
java.lang.String |
getRootPath()
Gets the root path of the sitemap entry.
|
java.lang.String |
getSitePath()
Returns the site path of this VFS tree.
|
java.lang.String |
getSiteRoot()
Gets the site root.
|
CmsUUID |
getStructureId()
Returns the entry structure id.
|
java.lang.String |
getType()
Returns the type.
|
boolean |
hasChildren()
Returns if the children of this entry have been loaded.
|
boolean |
isFolder()
Returns the isFolder.
|
boolean |
isHiddenEntry()
Returns if this is a hidden entry.
|
boolean |
isRoot()
Returns true if this entry is a top-level entry.
|
void |
setChildren(java.util.List<CmsSitemapEntryBean> children)
Sets the children of this entry.
|
void |
setSiteRoot(java.lang.String siteRoot)
Sets the site root for this bean.
|
java.lang.String |
toString() |
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, boolean isNavLevel)
rootPath
- the root pathsitePath
- the site pathstructureId
- the entry idtitle
- the titletype
- the resource typeisFolder
- true
if this entry represents a folderisRoot
- true
if this is a site root entryisHiddenEntry
- true
if this is a hidden entryisNavLevel
- true
if this is a navigation levelprotected CmsSitemapEntryBean()
public void addChild(CmsSitemapEntryBean child)
I_CmsGalleryTreeEntry
addChild
在接口中 I_CmsGalleryTreeEntry<CmsSitemapEntryBean>
child
- the child to addI_CmsGalleryTreeEntry.addChild(java.lang.Object)
public java.util.List<CmsSitemapEntryBean> getChildren()
null
if not loaded.getChildren
在接口中 I_CmsGalleryTreeEntry<CmsSitemapEntryBean>
public java.lang.String getDisplayName()
public java.lang.String getImageType()
public java.lang.String getRootPath()
public java.lang.String getSitePath()
public java.lang.String getSiteRoot()
public CmsUUID getStructureId()
public java.lang.String getType()
public boolean hasChildren()
true
if the children of this entry have been loadedpublic boolean isFolder()
public boolean isHiddenEntry()
true
if this is a hidden entrypublic boolean isRoot()
public void setChildren(java.util.List<CmsSitemapEntryBean> children)
children
- the childrenpublic void setSiteRoot(java.lang.String siteRoot)
siteRoot
- the site rootpublic java.lang.String toString()
toString
在类中 java.lang.Object
Object.toString()