com.softslate.commerce.businessobjects.product
Class CategoryBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.product.CategoryBean
- All Implemented Interfaces:
- BusinessObject, Category, java.io.Serializable
public class CategoryBean
- extends BaseBusinessObject
- implements Category, java.io.Serializable
Object representing a category within the system. CategoryBean
is the default implementation of the Category
interface for
the application.
The database stores categories in the sscCategory
table, and
this interface can be used to represent a single row of that table. The
Hibernate configuration file CategoryBean.hbm.xml
maps that
table's columns to the properties in this object.
- Author:
- David Tobey
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
static org.apache.commons.logging.Log log
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
categoryID
private int categoryID
categoryLevel
private int categoryLevel
categoryOrder
private int categoryOrder
categorySettings
private java.util.Map categorySettings
categoryTreeID
private int categoryTreeID
code
private java.lang.String code
description
private java.lang.String description
extra1
private java.lang.String extra1
extra2
private java.lang.String extra2
extra3
private java.lang.String extra3
firstRow
private int firstRow
footer
private java.lang.String footer
header
private java.lang.String header
isActive
private boolean isActive
isContentPage
private boolean isContentPage
itemCount
private int itemCount
itemsPerPage
private int itemsPerPage
keywords
private java.lang.String keywords
largeImage
private java.lang.String largeImage
mediumImage
private java.lang.String mediumImage
name
private java.lang.String name
parent
private Category parent
parentCategory
private java.lang.Integer parentCategory
parentCollection
private java.util.Collection parentCollection
parentString
private java.lang.String parentString
productCategories
private java.util.Collection productCategories
productListCollection
private java.util.Collection productListCollection
products
private java.util.Collection products
smallImage
private java.lang.String smallImage
subcategoryCollection
private java.util.Collection subcategoryCollection
CategoryBean
public CategoryBean()
getCategoryID
public int getCategoryID()
- Specified by:
getCategoryID
in interface Category
getCategoryLevel
public int getCategoryLevel()
- Specified by:
getCategoryLevel
in interface Category
getCategoryOrder
public int getCategoryOrder()
- Specified by:
getCategoryOrder
in interface Category
getCategorySettings
public java.util.Map getCategorySettings()
- Specified by:
getCategorySettings
in interface Category
getCategoryTreeID
public int getCategoryTreeID()
- Specified by:
getCategoryTreeID
in interface Category
getCode
public java.lang.String getCode()
- Specified by:
getCode
in interface Category
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface Category
getExtra1
public java.lang.String getExtra1()
- Specified by:
getExtra1
in interface Category
getExtra2
public java.lang.String getExtra2()
- Specified by:
getExtra2
in interface Category
getExtra3
public java.lang.String getExtra3()
- Specified by:
getExtra3
in interface Category
getFirstRow
public int getFirstRow()
- Specified by:
getFirstRow
in interface Category
getFooter
public java.lang.String getFooter()
- Specified by:
getFooter
in interface Category
getHeader
public java.lang.String getHeader()
- Specified by:
getHeader
in interface Category
getIsActive
public boolean getIsActive()
- Specified by:
getIsActive
in interface Category
getItemCount
public int getItemCount()
- Specified by:
getItemCount
in interface Category
getItemsPerPage
public int getItemsPerPage()
- Specified by:
getItemsPerPage
in interface Category
getKeywords
public java.lang.String getKeywords()
- Specified by:
getKeywords
in interface Category
getLargeImage
public java.lang.String getLargeImage()
- Specified by:
getLargeImage
in interface Category
getMediumImage
public java.lang.String getMediumImage()
- Specified by:
getMediumImage
in interface Category
getName
public java.lang.String getName()
- Specified by:
getName
in interface Category
getParent
public Category getParent()
- Specified by:
getParent
in interface Category
getParentCategory
public java.lang.Integer getParentCategory()
- Specified by:
getParentCategory
in interface Category
getParentCollection
public java.util.Collection getParentCollection()
- Specified by:
getParentCollection
in interface Category
getParentString
public java.lang.String getParentString()
- Specified by:
getParentString
in interface Category
getProductCategories
public java.util.Collection getProductCategories()
- Specified by:
getProductCategories
in interface Category
getProductListCollection
public java.util.Collection getProductListCollection()
- Specified by:
getProductListCollection
in interface Category
getProducts
public java.util.Collection getProducts()
- Specified by:
getProducts
in interface Category
getSmallImage
public java.lang.String getSmallImage()
- Specified by:
getSmallImage
in interface Category
getSubcategoryCollection
public java.util.Collection getSubcategoryCollection()
- Specified by:
getSubcategoryCollection
in interface Category
setCategoryID
public void setCategoryID(int categoryID)
- Specified by:
setCategoryID
in interface Category
setCategoryLevel
public void setCategoryLevel(int categoryLevel)
- Specified by:
setCategoryLevel
in interface Category
setCategoryOrder
public void setCategoryOrder(int categoryOrder)
- Specified by:
setCategoryOrder
in interface Category
setCategorySettings
public void setCategorySettings(java.util.Map categorySettings)
- Specified by:
setCategorySettings
in interface Category
setCategoryTreeID
public void setCategoryTreeID(int categoryTreeID)
- Specified by:
setCategoryTreeID
in interface Category
setCode
public void setCode(java.lang.String code)
- Specified by:
setCode
in interface Category
setDescription
public void setDescription(java.lang.String description)
- Specified by:
setDescription
in interface Category
setExtra1
public void setExtra1(java.lang.String extra1)
- Specified by:
setExtra1
in interface Category
setExtra2
public void setExtra2(java.lang.String extra2)
- Specified by:
setExtra2
in interface Category
setExtra3
public void setExtra3(java.lang.String extra3)
- Specified by:
setExtra3
in interface Category
setFirstRow
public void setFirstRow(int firstRow)
- Specified by:
setFirstRow
in interface Category
setFooter
public void setFooter(java.lang.String footer)
- Specified by:
setFooter
in interface Category
setHeader
public void setHeader(java.lang.String header)
- Specified by:
setHeader
in interface Category
setIsActive
public void setIsActive(boolean isActive)
- Specified by:
setIsActive
in interface Category
setItemCount
public void setItemCount(int itemCount)
- Specified by:
setItemCount
in interface Category
setItemsPerPage
public void setItemsPerPage(int itemsPerPage)
- Specified by:
setItemsPerPage
in interface Category
setKeywords
public void setKeywords(java.lang.String keywords)
- Specified by:
setKeywords
in interface Category
setLargeImage
public void setLargeImage(java.lang.String largeImage)
- Specified by:
setLargeImage
in interface Category
setMediumImage
public void setMediumImage(java.lang.String mediumImage)
- Specified by:
setMediumImage
in interface Category
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interface Category
setParent
public void setParent(Category parent)
- Specified by:
setParent
in interface Category
setParentCategory
public void setParentCategory(java.lang.Integer parentCategory)
- Specified by:
setParentCategory
in interface Category
setParentCollection
public void setParentCollection(java.util.Collection parentCollection)
- Specified by:
setParentCollection
in interface Category
setParentString
public void setParentString(java.lang.String parentString)
- Specified by:
setParentString
in interface Category
setProductCategories
public void setProductCategories(java.util.Collection productCategories)
- Specified by:
setProductCategories
in interface Category
setProductListCollection
public void setProductListCollection(java.util.Collection productListCollection)
- Specified by:
setProductListCollection
in interface Category
setProducts
public void setProducts(java.util.Collection products)
- Specified by:
setProducts
in interface Category
setSmallImage
public void setSmallImage(java.lang.String smallImage)
- Specified by:
setSmallImage
in interface Category
setSubcategoryCollection
public void setSubcategoryCollection(java.util.Collection subcategoryCollection)
- Specified by:
setSubcategoryCollection
in interface Category
getIsContentPage
public boolean getIsContentPage()
- Specified by:
getIsContentPage
in interface Category
setIsContentPage
public void setIsContentPage(boolean isContentPage)
- Specified by:
setIsContentPage
in interface Category
Copyright © SoftSlate, LLC 20032005