Interface Category
- All Superinterfaces:
BusinessObject
- All Known Implementing Classes:
CategoryBean
Interface representing a category within the system. A category is a
organization of products that have a common trait.
When the application needs to create an instance that implements
Category
,
BusinessObjectFactory
finds the name of the Java class to instantiate from the
"categoryImplementer" setting in the appComponents.properties
file.
The default "categoryImplementer" is
CategoryBean
.
- Author:
- David Tobey
-
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 interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
-
Method Details
-
getCategoryID
int getCategoryID() -
setCategoryID
void setCategoryID(int categoryID) -
getCode
String getCode() -
setCode
-
getName
String getName() -
setName
-
getIsActive
boolean getIsActive() -
setIsActive
void setIsActive(boolean isActive) -
getCategoryTreeID
int getCategoryTreeID() -
setCategoryTreeID
void setCategoryTreeID(int categoryTreeID) -
getKeywords
String getKeywords() -
setKeywords
-
getExtra1
String getExtra1() -
setExtra1
-
getExtra2
String getExtra2() -
setExtra2
-
getExtra3
String getExtra3() -
setExtra3
-
getDescription
String getDescription() -
setDescription
-
getHeader
String getHeader() -
setHeader
-
getSmallImage
String getSmallImage() -
setSmallImage
-
getMediumImage
String getMediumImage() -
setMediumImage
-
getLargeImage
String getLargeImage() -
setLargeImage
-
getParent
Category getParent() -
setParent
-
getParentCategory
Integer getParentCategory() -
setParentCategory
-
getCategoryOrder
int getCategoryOrder() -
setCategoryOrder
void setCategoryOrder(int categoryOrder) -
getProductListCollection
Collection getProductListCollection() -
setProductListCollection
-
getParentCollection
Collection getParentCollection() -
setParentCollection
-
getParentString
String getParentString() -
setParentString
-
getSubcategoryCollection
Collection getSubcategoryCollection() -
setSubcategoryCollection
-
getItemsPerPage
int getItemsPerPage() -
setItemsPerPage
void setItemsPerPage(int itemsPerPage) -
getFirstRow
int getFirstRow() -
setFirstRow
void setFirstRow(int firstRow) -
getItemCount
int getItemCount() -
setItemCount
void setItemCount(int itemCount) -
getCategorySettings
Map getCategorySettings() -
setCategorySettings
-
getProductCategories
Collection getProductCategories() -
setProductCategories
-
getProducts
Collection getProducts() -
setProducts
-
getCategoryLevel
int getCategoryLevel() -
setCategoryLevel
void setCategoryLevel(int categoryLevel) -
getIsContentPage
boolean getIsContentPage() -
setIsContentPage
void setIsContentPage(boolean isContentPage)
-