public class CmsSitemapCategoryData extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
| Constructor and Description |
|---|
CmsSitemapCategoryData()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(CmsCategoryTreeEntry item)
Adds a new category entry.
|
com.google.common.collect.Multimap<java.lang.Boolean,CmsCategoryTreeEntry> |
getEntriesIndexedByLocality()
Gets a multimap of the top-level entries, indexed by whether they are local categories or not.
|
CmsCategoryTreeEntry |
getEntryById(CmsUUID id)
Gets the category bean by id.
|
void |
setBasePath(java.lang.String basePath)
Sets the base path.
|
public CmsSitemapCategoryData()
public void add(CmsCategoryTreeEntry item)
item - the category entrypublic com.google.common.collect.Multimap<java.lang.Boolean,CmsCategoryTreeEntry> getEntriesIndexedByLocality()
A category counts as local if all of its parent categories are defined in the current sitemap.
public CmsCategoryTreeEntry getEntryById(CmsUUID id)
id - a structure idpublic void setBasePath(java.lang.String basePath)
basePath - the base path