public class CmsCategoryBean extends java.lang.Object implements I_CmsHasTitle, I_CmsHasPath, com.google.gwt.user.client.rpc.IsSerializable, I_CmsHasIconClasses
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BIG_ICON_CLASSES
The big category type icon classes.
|
static java.lang.String |
SMALL_ICON_CLASSES
The small category type icon classes.
|
| Modifier | Constructor and Description |
|---|---|
protected |
CmsCategoryBean()
Constructor for serialization only.
|
|
CmsCategoryBean(CmsCategory category)
Constructor.
|
|
CmsCategoryBean(CmsCategoryTreeEntry categoryTreeEntry)
Constructor.
|
|
CmsCategoryBean(CmsUUID id,
java.lang.String title,
java.lang.String description,
java.lang.String path,
java.lang.String basePath,
java.lang.String rootPath)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBasePath()
Returns the base path.
|
java.lang.String |
getBigIconClasses()
Returns the big icon CSS classes.
|
java.lang.String |
getDescription()
Returns the description.
|
CmsUUID |
getId()
Returns the id.
|
java.lang.String |
getPath()
Returns the category path.
|
java.lang.String |
getRootPath()
Returns the root path.
|
java.lang.String |
getSitePath()
Returns the category site path.
|
java.lang.String |
getSmallIconClasses()
Returns the small icon CSS classes.
|
java.lang.String |
getTitle()
Returns the title.
|
boolean |
matchesFilter(java.lang.String filter)
Returns if the category matches the given filter.
|
void |
setDescription(java.lang.String description)
Sets the description.
|
void |
setPath(java.lang.String path)
Sets the category path.
|
void |
setSitePath(java.lang.String sitePath)
Sets the category site path.
|
void |
setTitle(java.lang.String title)
Sets the title.
|
public static final java.lang.String BIG_ICON_CLASSES
public static final java.lang.String SMALL_ICON_CLASSES
public CmsCategoryBean(CmsCategory category)
category - the server-side categorypublic CmsCategoryBean(CmsCategoryTreeEntry categoryTreeEntry)
categoryTreeEntry - the category tree entry to copypublic CmsCategoryBean(CmsUUID id, java.lang.String title, java.lang.String description, java.lang.String path, java.lang.String basePath, java.lang.String rootPath)
id - the category idtitle - the title to setdescription - the subtitle to setpath - the category pathbasePath - the category base pathrootPath - the category root pathprotected CmsCategoryBean()
public java.lang.String getBasePath()
public java.lang.String getBigIconClasses()
I_CmsHasIconClassesgetBigIconClasses in interface I_CmsHasIconClassesI_CmsHasIconClasses.getBigIconClasses()public java.lang.String getDescription()
public java.lang.String getPath()
getPath in interface I_CmsHasPathpublic java.lang.String getRootPath()
public java.lang.String getSitePath()
public java.lang.String getSmallIconClasses()
I_CmsHasIconClassesgetSmallIconClasses in interface I_CmsHasIconClassesI_CmsHasIconClasses.getSmallIconClasses()public java.lang.String getTitle()
getTitle in interface I_CmsHasTitlepublic boolean matchesFilter(java.lang.String filter)
filter - the filter to matchtrue if the gallery matches the given filter.public void setDescription(java.lang.String description)
description - the description to setpublic void setPath(java.lang.String path)
path - the category path to setpublic void setSitePath(java.lang.String sitePath)
sitePath - category site pathpublic void setTitle(java.lang.String title)
title - the title to set