public class CmsCategoryBean extends java.lang.Object implements I_CmsHasTitle, I_CmsHasPath, com.google.gwt.user.client.rpc.IsSerializable
限定符 | 构造器和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getBasePath()
Returns the base path.
|
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 |
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 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 getDescription()
public CmsUUID getId()
public java.lang.String getPath()
getPath
在接口中 I_CmsHasPath
public java.lang.String getRootPath()
public java.lang.String getSitePath()
public java.lang.String getTitle()
getTitle
在接口中 I_CmsHasTitle
public 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