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
Modifier and TypeFieldDescriptionprivate int
private int
private int
private Map
private int
private String
private String
private String
private String
private String
private int
private String
private String
private boolean
private boolean
private int
private int
private String
private String
(package private) static org.apache.commons.logging.Log
private String
private String
private Category
private Integer
private Collection
private String
private Collection
private Collection
private Collection
private static final long
private String
private Collection
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
getCode()
int
boolean
boolean
int
int
getName()
void
setCategoryID
(int categoryID) void
setCategoryLevel
(int categoryLevel) void
setCategoryOrder
(int categoryOrder) void
setCategorySettings
(Map categorySettings) void
setCategoryTreeID
(int categoryTreeID) void
void
setDescription
(String description) void
void
void
void
setFirstRow
(int firstRow) void
void
void
setIsActive
(boolean isActive) void
setIsContentPage
(boolean isContentPage) void
setItemCount
(int itemCount) void
setItemsPerPage
(int itemsPerPage) void
setKeywords
(String keywords) void
setLargeImage
(String largeImage) void
setMediumImage
(String mediumImage) void
void
void
setParentCategory
(Integer parentCategory) void
setParentCollection
(Collection parentCollection) void
setParentString
(String parentString) void
setProductCategories
(Collection productCategories) void
setProductListCollection
(Collection productListCollection) void
setProducts
(Collection products) void
setSmallImage
(String smallImage) void
setSubcategoryCollection
(Collection subcategoryCollection) Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
initialize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getCategoryID
in interfaceCategory
-
getCategoryLevel
public int getCategoryLevel()- Specified by:
getCategoryLevel
in interfaceCategory
-
getCategoryOrder
public int getCategoryOrder()- Specified by:
getCategoryOrder
in interfaceCategory
-
getCategorySettings
- Specified by:
getCategorySettings
in interfaceCategory
-
getCategoryTreeID
public int getCategoryTreeID()- Specified by:
getCategoryTreeID
in interfaceCategory
-
getCode
-
getDescription
- Specified by:
getDescription
in interfaceCategory
-
getExtra1
-
getExtra2
-
getExtra3
-
getFirstRow
public int getFirstRow()- Specified by:
getFirstRow
in interfaceCategory
-
getHeader
-
getIsActive
public boolean getIsActive()- Specified by:
getIsActive
in interfaceCategory
-
getItemCount
public int getItemCount()- Specified by:
getItemCount
in interfaceCategory
-
getItemsPerPage
public int getItemsPerPage()- Specified by:
getItemsPerPage
in interfaceCategory
-
getKeywords
- Specified by:
getKeywords
in interfaceCategory
-
getLargeImage
- Specified by:
getLargeImage
in interfaceCategory
-
getMediumImage
- Specified by:
getMediumImage
in interfaceCategory
-
getName
-
getParent
-
getParentCategory
- Specified by:
getParentCategory
in interfaceCategory
-
getParentCollection
- Specified by:
getParentCollection
in interfaceCategory
-
getParentString
- Specified by:
getParentString
in interfaceCategory
-
getProductCategories
- Specified by:
getProductCategories
in interfaceCategory
-
getProductListCollection
- Specified by:
getProductListCollection
in interfaceCategory
-
getProducts
- Specified by:
getProducts
in interfaceCategory
-
getSmallImage
- Specified by:
getSmallImage
in interfaceCategory
-
getSubcategoryCollection
- Specified by:
getSubcategoryCollection
in interfaceCategory
-
setCategoryID
public void setCategoryID(int categoryID) - Specified by:
setCategoryID
in interfaceCategory
-
setCategoryLevel
public void setCategoryLevel(int categoryLevel) - Specified by:
setCategoryLevel
in interfaceCategory
-
setCategoryOrder
public void setCategoryOrder(int categoryOrder) - Specified by:
setCategoryOrder
in interfaceCategory
-
setCategorySettings
- Specified by:
setCategorySettings
in interfaceCategory
-
setCategoryTreeID
public void setCategoryTreeID(int categoryTreeID) - Specified by:
setCategoryTreeID
in interfaceCategory
-
setCode
-
setDescription
- Specified by:
setDescription
in interfaceCategory
-
setExtra1
-
setExtra2
-
setExtra3
-
setFirstRow
public void setFirstRow(int firstRow) - Specified by:
setFirstRow
in interfaceCategory
-
setHeader
-
setIsActive
public void setIsActive(boolean isActive) - Specified by:
setIsActive
in interfaceCategory
-
setItemCount
public void setItemCount(int itemCount) - Specified by:
setItemCount
in interfaceCategory
-
setItemsPerPage
public void setItemsPerPage(int itemsPerPage) - Specified by:
setItemsPerPage
in interfaceCategory
-
setKeywords
- Specified by:
setKeywords
in interfaceCategory
-
setLargeImage
- Specified by:
setLargeImage
in interfaceCategory
-
setMediumImage
- Specified by:
setMediumImage
in interfaceCategory
-
setName
-
setParent
-
setParentCategory
- Specified by:
setParentCategory
in interfaceCategory
-
setParentCollection
- Specified by:
setParentCollection
in interfaceCategory
-
setParentString
- Specified by:
setParentString
in interfaceCategory
-
setProductCategories
- Specified by:
setProductCategories
in interfaceCategory
-
setProductListCollection
- Specified by:
setProductListCollection
in interfaceCategory
-
setProducts
- Specified by:
setProducts
in interfaceCategory
-
setSmallImage
- Specified by:
setSmallImage
in interfaceCategory
-
setSubcategoryCollection
- Specified by:
setSubcategoryCollection
in interfaceCategory
-
getIsContentPage
public boolean getIsContentPage()- Specified by:
getIsContentPage
in interfaceCategory
-
setIsContentPage
public void setIsContentPage(boolean isContentPage) - Specified by:
setIsContentPage
in interfaceCategory
-