| |
|
| org.blojsom.blog.Category
All known Subclasses: org.blojsom.blog.database.DatabaseCategory,
Category | public interface Category (Code) | | Category
author: David Czarnecki since: blojsom 3.0 version: $Id: Category.java,v 1.4 2007/01/17 02:35:16 czarneckid Exp $ |
getDescription | String getDescription()(Code) | | Retrieves the description of this category
The description of the category |
getEncodedName | String getEncodedName()(Code) | | Return the category name encoded for a link
Category name encoded as UTF-8 with preserved "/" and "+" characters |
getMetaData | Map getMetaData()(Code) | | Retrieves the meta-data associated with this category
The properties associated with the category as meta-data, or null if no metadata exists |
getName | String getName()(Code) | | Return the category name
Category name |
getParentCategoryId | Integer getParentCategoryId()(Code) | | Get the blog parent category ID
Parent category ID |
setBlogId | void setBlogId(Integer blogId)(Code) | | Set the blog ID
Parameters: blogId - Blog ID |
setDescription | void setDescription(String desc)(Code) | | Sets the description of this category
Parameters: desc - The new description of the category |
setId | void setId(Integer id)(Code) | | Set the category ID
Parameters: id - Category ID |
setMetaData | void setMetaData(Map metadata)(Code) | | Set the meta-data associated with this category
Parameters: metadata - The map to be associated with the category as meta-data |
setName | void setName(String name)(Code) | | Set a new name for this category
Parameters: name - Category name |
setParentCategoryId | void setParentCategoryId(Integer id)(Code) | | Se the parent category ID
Parameters: parentCategoryId - Parent category ID |
|
|
|