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

Method Summary
 int getCategoryID()
           
 int getCategoryOrder()
           
 java.util.Map getCategorySettings()
           
 int getCategoryTreeID()
           
 java.lang.String getCode()
           
 java.lang.String getDescription()
           
 java.lang.String getExtra1()
           
 java.lang.String getExtra2()
           
 java.lang.String getExtra3()
           
 int getFirstRow()
           
 java.lang.String getFooter()
           
 java.lang.String getHeader()
           
 boolean getIsActive()
           
 int getItemCount()
           
 int getItemsPerPage()
           
 java.lang.String getKeywords()
           
 java.lang.String getLargeImage()
           
 java.lang.String getMediumImage()
           
 java.lang.String getName()
           
 int getParentCategory()
           
 java.util.Collection getParentCollection()
           
 java.lang.String getParentString()
           
 java.util.Collection getProductListCollection()
           
 java.lang.String getSmallImage()
           
 java.util.Collection getSubcategoryCollection()
           
 void setCategoryID(int categoryID)
           
 void setCategoryOrder(int categoryOrder)
           
 void setCategorySettings(java.util.Map categorySettings)
           
 void setCategoryTreeID(int categoryTreeID)
           
 void setCode(java.lang.String code)
           
 void setDescription(java.lang.String description)
           
 void setExtra1(java.lang.String extra1)
           
 void setExtra2(java.lang.String extra2)
           
 void setExtra3(java.lang.String extra3)
           
 void setFirstRow(int firstRow)
           
 void setFooter(java.lang.String footer)
           
 void setHeader(java.lang.String header)
           
 void setIsActive(boolean isActive)
           
 void setItemCount(int itemCount)
           
 void setItemsPerPage(int itemsPerPage)
           
 void setKeywords(java.lang.String keywords)
           
 void setLargeImage(java.lang.String largeImage)
           
 void setMediumImage(java.lang.String mediumImage)
           
 void setName(java.lang.String name)
           
 void setParentCategory(int parentCategory)
           
 void setParentCollection(java.util.Collection parentCollection)
           
 void setParentString(java.lang.String parentString)
           
 void setProductListCollection(java.util.Collection productListCollection)
           
 void setSmallImage(java.lang.String smallImage)
           
 void setSubcategoryCollection(java.util.Collection subcategoryCollection)
           
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
 

Method Detail

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. 2003–2005