Class CategoryBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.product.CategoryBean
- All Implemented Interfaces:
BusinessObject,Category,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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate intprivate Mapprivate intprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate intprivate Stringprivate Stringprivate booleanprivate booleanprivate intprivate intprivate Stringprivate String(package private) static org.apache.commons.logging.Logprivate Stringprivate Stringprivate Categoryprivate Integerprivate Collectionprivate Stringprivate Collectionprivate Collectionprivate Collectionprivate static final longprivate Stringprivate Collection -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintintgetCode()intbooleanbooleanintintgetName()voidsetCategoryID(int categoryID) voidsetCategoryLevel(int categoryLevel) voidsetCategoryOrder(int categoryOrder) voidsetCategorySettings(Map categorySettings) voidsetCategoryTreeID(int categoryTreeID) voidvoidsetDescription(String description) voidvoidvoidvoidsetFirstRow(int firstRow) voidvoidvoidsetIsActive(boolean isActive) voidsetIsContentPage(boolean isContentPage) voidsetItemCount(int itemCount) voidsetItemsPerPage(int itemsPerPage) voidsetKeywords(String keywords) voidsetLargeImage(String largeImage) voidsetMediumImage(String mediumImage) voidvoidvoidsetParentCategory(Integer parentCategory) voidsetParentCollection(Collection parentCollection) voidsetParentString(String parentString) voidsetProductCategories(Collection productCategories) voidsetProductListCollection(Collection productListCollection) voidsetProducts(Collection products) voidsetSmallImage(String smallImage) voidsetSubcategoryCollection(Collection subcategoryCollection) Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
initializeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
-
Field Details
-
log
static org.apache.commons.logging.Log log -
serialVersionUID
private static final long serialVersionUID- See Also:
-
categoryID
private int categoryID -
categoryLevel
private int categoryLevel -
categoryOrder
private int categoryOrder -
categorySettings
-
categoryTreeID
private int categoryTreeID -
code
-
description
-
extra1
-
extra2
-
extra3
-
firstRow
private int firstRow -
header
-
isActive
private boolean isActive -
isContentPage
private boolean isContentPage -
itemCount
private int itemCount -
itemsPerPage
private int itemsPerPage -
keywords
-
largeImage
-
mediumImage
-
name
-
parent
-
parentCategory
-
parentCollection
-
parentString
-
productCategories
-
productListCollection
-
products
-
smallImage
-
subcategoryCollection
-
-
Constructor Details
-
CategoryBean
public CategoryBean()
-
-
Method Details
-
getCategoryID
public int getCategoryID()- Specified by:
getCategoryIDin interfaceCategory
-
getCategoryLevel
public int getCategoryLevel()- Specified by:
getCategoryLevelin interfaceCategory
-
getCategoryOrder
public int getCategoryOrder()- Specified by:
getCategoryOrderin interfaceCategory
-
getCategorySettings
- Specified by:
getCategorySettingsin interfaceCategory
-
getCategoryTreeID
public int getCategoryTreeID()- Specified by:
getCategoryTreeIDin interfaceCategory
-
getCode
-
getDescription
- Specified by:
getDescriptionin interfaceCategory
-
getExtra1
-
getExtra2
-
getExtra3
-
getFirstRow
public int getFirstRow()- Specified by:
getFirstRowin interfaceCategory
-
getHeader
-
getIsActive
public boolean getIsActive()- Specified by:
getIsActivein interfaceCategory
-
getItemCount
public int getItemCount()- Specified by:
getItemCountin interfaceCategory
-
getItemsPerPage
public int getItemsPerPage()- Specified by:
getItemsPerPagein interfaceCategory
-
getKeywords
- Specified by:
getKeywordsin interfaceCategory
-
getLargeImage
- Specified by:
getLargeImagein interfaceCategory
-
getMediumImage
- Specified by:
getMediumImagein interfaceCategory
-
getName
-
getParent
-
getParentCategory
- Specified by:
getParentCategoryin interfaceCategory
-
getParentCollection
- Specified by:
getParentCollectionin interfaceCategory
-
getParentString
- Specified by:
getParentStringin interfaceCategory
-
getProductCategories
- Specified by:
getProductCategoriesin interfaceCategory
-
getProductListCollection
- Specified by:
getProductListCollectionin interfaceCategory
-
getProducts
- Specified by:
getProductsin interfaceCategory
-
getSmallImage
- Specified by:
getSmallImagein interfaceCategory
-
getSubcategoryCollection
- Specified by:
getSubcategoryCollectionin interfaceCategory
-
setCategoryID
public void setCategoryID(int categoryID) - Specified by:
setCategoryIDin interfaceCategory
-
setCategoryLevel
public void setCategoryLevel(int categoryLevel) - Specified by:
setCategoryLevelin interfaceCategory
-
setCategoryOrder
public void setCategoryOrder(int categoryOrder) - Specified by:
setCategoryOrderin interfaceCategory
-
setCategorySettings
- Specified by:
setCategorySettingsin interfaceCategory
-
setCategoryTreeID
public void setCategoryTreeID(int categoryTreeID) - Specified by:
setCategoryTreeIDin interfaceCategory
-
setCode
-
setDescription
- Specified by:
setDescriptionin interfaceCategory
-
setExtra1
-
setExtra2
-
setExtra3
-
setFirstRow
public void setFirstRow(int firstRow) - Specified by:
setFirstRowin interfaceCategory
-
setHeader
-
setIsActive
public void setIsActive(boolean isActive) - Specified by:
setIsActivein interfaceCategory
-
setItemCount
public void setItemCount(int itemCount) - Specified by:
setItemCountin interfaceCategory
-
setItemsPerPage
public void setItemsPerPage(int itemsPerPage) - Specified by:
setItemsPerPagein interfaceCategory
-
setKeywords
- Specified by:
setKeywordsin interfaceCategory
-
setLargeImage
- Specified by:
setLargeImagein interfaceCategory
-
setMediumImage
- Specified by:
setMediumImagein interfaceCategory
-
setName
-
setParent
-
setParentCategory
- Specified by:
setParentCategoryin interfaceCategory
-
setParentCollection
- Specified by:
setParentCollectionin interfaceCategory
-
setParentString
- Specified by:
setParentStringin interfaceCategory
-
setProductCategories
- Specified by:
setProductCategoriesin interfaceCategory
-
setProductListCollection
- Specified by:
setProductListCollectionin interfaceCategory
-
setProducts
- Specified by:
setProductsin interfaceCategory
-
setSmallImage
- Specified by:
setSmallImagein interfaceCategory
-
setSubcategoryCollection
- Specified by:
setSubcategoryCollectionin interfaceCategory
-
getIsContentPage
public boolean getIsContentPage()- Specified by:
getIsContentPagein interfaceCategory
-
setIsContentPage
public void setIsContentPage(boolean isContentPage) - Specified by:
setIsContentPagein interfaceCategory
-