|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.ade.galleries.shared.CmsSitemapEntryBean
public class CmsSitemapEntryBean
A sitemap entry bean.
| Constructor Summary | |
|---|---|
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)
Constructor. |
| Method Summary | |
|---|---|
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 |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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)
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 entryprotected CmsSitemapEntryBean()
| Method Detail |
|---|
public void addChild(CmsSitemapEntryBean child)
I_CmsGalleryTreeEntry
addChild in interface I_CmsGalleryTreeEntry<CmsSitemapEntryBean>child - the child to addI_CmsGalleryTreeEntry.addChild(java.lang.Object)public java.util.List<CmsSitemapEntryBean> getChildren()
null if not loaded.
getChildren in interface I_CmsGalleryTreeEntry<CmsSitemapEntryBean>public java.lang.String getDisplayName()
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 root
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||