com.softslate.commerce.businessobjects.product
Interface Category
- All Superinterfaces:
- BusinessObject
- All Known Implementing Classes:
- CategoryBean
- public interface Category
- extends BusinessObject
Interface representing a category within the system. A category is a
organization of products that have a common trait.
The database stores categories in the npcCategory
table, and
this interface can be used to represent a single row of that table. Each of
the columns in npcCategory
map to getters and setters in this
interface.
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 npcSetting
database
table.
The default "categoryImplementer" is
CategoryBean
.
- Author:
- David Tobey
getCategoryID
public int getCategoryID()
setCategoryID
public void setCategoryID(int categoryID)
getCode
public java.lang.String getCode()
setCode
public void setCode(java.lang.String code)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getIsActive
public boolean getIsActive()
setIsActive
public void setIsActive(boolean isActive)
getCategoryTreeID
public int getCategoryTreeID()
setCategoryTreeID
public void setCategoryTreeID(int categoryTreeID)
getKeywords
public java.lang.String getKeywords()
setKeywords
public void setKeywords(java.lang.String keywords)
getExtra1
public java.lang.String getExtra1()
setExtra1
public void setExtra1(java.lang.String extra1)
getExtra2
public java.lang.String getExtra2()
setExtra2
public void setExtra2(java.lang.String extra2)
getExtra3
public java.lang.String getExtra3()
setExtra3
public void setExtra3(java.lang.String extra3)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
getHeader
public java.lang.String getHeader()
setHeader
public void setHeader(java.lang.String header)
getFooter
public java.lang.String getFooter()
setFooter
public void setFooter(java.lang.String footer)
getSmallImage
public java.lang.String getSmallImage()
setSmallImage
public void setSmallImage(java.lang.String smallImage)
getMediumImage
public java.lang.String getMediumImage()
setMediumImage
public void setMediumImage(java.lang.String mediumImage)
getLargeImage
public java.lang.String getLargeImage()
setLargeImage
public void setLargeImage(java.lang.String largeImage)
getParentCategory
public int getParentCategory()
setParentCategory
public void setParentCategory(int parentCategory)
getCategoryOrder
public int getCategoryOrder()
setCategoryOrder
public void setCategoryOrder(int categoryOrder)
getProductListCollection
public java.util.Collection getProductListCollection()
setProductListCollection
public void setProductListCollection(java.util.Collection productListCollection)
getParentCollection
public java.util.Collection getParentCollection()
setParentCollection
public void setParentCollection(java.util.Collection parentCollection)
getParentString
public java.lang.String getParentString()
setParentString
public void setParentString(java.lang.String parentString)
getSubcategoryCollection
public java.util.Collection getSubcategoryCollection()
setSubcategoryCollection
public void setSubcategoryCollection(java.util.Collection subcategoryCollection)
getItemsPerPage
public int getItemsPerPage()
setItemsPerPage
public void setItemsPerPage(int itemsPerPage)
getFirstRow
public int getFirstRow()
setFirstRow
public void setFirstRow(int firstRow)
getItemCount
public int getItemCount()
setItemCount
public void setItemCount(int itemCount)
getCategorySettings
public java.util.Map getCategorySettings()
setCategorySettings
public void setCategorySettings(java.util.Map categorySettings)
Copyright © SoftSlate, Inc. 20032005