com.softslate.commerce.businessobjects.product
Class CategoryBean

java.lang.Object
  extended bycom.softslate.commerce.businessobjects.core.BaseBusinessObject
      extended bycom.softslate.commerce.businessobjects.product.CategoryBean
All Implemented Interfaces:
BusinessObject, Category, java.io.Serializable

public class CategoryBean
extends BaseBusinessObject
implements Category, java.io.Serializable

Object representing a category within the system.

CategoryBean is the default implementation of the Category interface for the application.

Author:
David Tobey
See Also:
Category, Serialized Form

Field Summary
private  int categoryID
           
private  int categoryOrder
           
private  java.util.Map categorySettings
           
private  int categoryTreeID
           
private  java.lang.String code
           
private  java.lang.String description
           
private  java.lang.String extra1
           
private  java.lang.String extra2
           
private  java.lang.String extra3
           
private  int firstRow
           
private  java.lang.String footer
           
private  java.lang.String header
           
private  boolean isActive
           
private  int itemCount
           
private  int itemsPerPage
           
private  java.lang.String keywords
           
private  java.lang.String largeImage
           
(package private) static org.apache.commons.logging.Log log
           
private  java.lang.String mediumImage
           
private  java.lang.String name
           
private  int parentCategory
           
private  java.util.Collection parentCollection
           
private  java.lang.String parentString
           
private  java.util.Collection productListCollection
           
private  java.lang.String smallImage
           
private  java.util.Collection subcategoryCollection
           
 
Constructor Summary
CategoryBean()
           
 
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 class com.softslate.commerce.businessobjects.core.BaseBusinessObject
formatDateTime, initialize, parseDateTime, prepareRequestData, sendHTTPPost
 
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 Detail

log

static org.apache.commons.logging.Log log

categoryID

private int categoryID

code

private java.lang.String code

name

private java.lang.String name

isActive

private boolean isActive

categoryTreeID

private int categoryTreeID

keywords

private java.lang.String keywords

extra1

private java.lang.String extra1

extra2

private java.lang.String extra2

extra3

private java.lang.String extra3

description

private java.lang.String description

header

private java.lang.String header

footer

private java.lang.String footer

smallImage

private java.lang.String smallImage

mediumImage

private java.lang.String mediumImage

largeImage

private java.lang.String largeImage

parentCategory

private int parentCategory

categoryOrder

private int categoryOrder

productListCollection

private java.util.Collection productListCollection

parentCollection

private java.util.Collection parentCollection

parentString

private java.lang.String parentString

subcategoryCollection

private java.util.Collection subcategoryCollection

itemsPerPage

private int itemsPerPage

firstRow

private int firstRow

itemCount

private int itemCount

categorySettings

private java.util.Map categorySettings
Constructor Detail

CategoryBean

public CategoryBean()
Method Detail

getCategoryID

public int getCategoryID()
Specified by:
getCategoryID in interface Category

setCategoryID

public void setCategoryID(int categoryID)
Specified by:
setCategoryID in interface Category

getCode

public java.lang.String getCode()
Specified by:
getCode in interface Category

setCode

public void setCode(java.lang.String code)
Specified by:
setCode in interface Category

getName

public java.lang.String getName()
Specified by:
getName in interface Category

setName

public void setName(java.lang.String name)
Specified by:
setName in interface Category

getIsActive

public boolean getIsActive()
Specified by:
getIsActive in interface Category

setIsActive

public void setIsActive(boolean isActive)
Specified by:
setIsActive in interface Category

getCategoryTreeID

public int getCategoryTreeID()
Specified by:
getCategoryTreeID in interface Category

setCategoryTreeID

public void setCategoryTreeID(int categoryTreeID)
Specified by:
setCategoryTreeID in interface Category

getExtra1

public java.lang.String getExtra1()
Specified by:
getExtra1 in interface Category

setExtra1

public void setExtra1(java.lang.String extra1)
Specified by:
setExtra1 in interface Category

getExtra2

public java.lang.String getExtra2()
Specified by:
getExtra2 in interface Category

setExtra2

public void setExtra2(java.lang.String extra2)
Specified by:
setExtra2 in interface Category

getExtra3

public java.lang.String getExtra3()
Specified by:
getExtra3 in interface Category

setExtra3

public void setExtra3(java.lang.String extra3)
Specified by:
setExtra3 in interface Category

getKeywords

public java.lang.String getKeywords()
Specified by:
getKeywords in interface Category

setKeywords

public void setKeywords(java.lang.String keywords)
Specified by:
setKeywords in interface Category

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface Category

setDescription

public void setDescription(java.lang.String description)
Specified by:
setDescription in interface Category

getHeader

public java.lang.String getHeader()
Specified by:
getHeader in interface Category

setHeader

public void setHeader(java.lang.String header)
Specified by:
setHeader in interface Category

getFooter

public java.lang.String getFooter()
Specified by:
getFooter in interface Category

setFooter

public void setFooter(java.lang.String footer)
Specified by:
setFooter in interface Category

getSmallImage

public java.lang.String getSmallImage()
Specified by:
getSmallImage in interface Category

setSmallImage

public void setSmallImage(java.lang.String smallImage)
Specified by:
setSmallImage in interface Category

getMediumImage

public java.lang.String getMediumImage()
Specified by:
getMediumImage in interface Category

setMediumImage

public void setMediumImage(java.lang.String mediumImage)
Specified by:
setMediumImage in interface Category

getLargeImage

public java.lang.String getLargeImage()
Specified by:
getLargeImage in interface Category

setLargeImage

public void setLargeImage(java.lang.String largeImage)
Specified by:
setLargeImage in interface Category

getParentCategory

public int getParentCategory()
Specified by:
getParentCategory in interface Category

setParentCategory

public void setParentCategory(int parentCategory)
Specified by:
setParentCategory in interface Category

getCategoryOrder

public int getCategoryOrder()
Specified by:
getCategoryOrder in interface Category

setCategoryOrder

public void setCategoryOrder(int categoryOrder)
Specified by:
setCategoryOrder in interface Category

getProductListCollection

public java.util.Collection getProductListCollection()
Specified by:
getProductListCollection in interface Category

setProductListCollection

public void setProductListCollection(java.util.Collection productListCollection)
Specified by:
setProductListCollection in interface Category

getParentCollection

public java.util.Collection getParentCollection()
Specified by:
getParentCollection in interface Category

setParentCollection

public void setParentCollection(java.util.Collection parentCollection)
Specified by:
setParentCollection in interface Category

getParentString

public java.lang.String getParentString()
Specified by:
getParentString in interface Category

setParentString

public void setParentString(java.lang.String parentString)
Specified by:
setParentString in interface Category

getSubcategoryCollection

public java.util.Collection getSubcategoryCollection()
Specified by:
getSubcategoryCollection in interface Category

setSubcategoryCollection

public void setSubcategoryCollection(java.util.Collection subcategoryCollection)
Specified by:
setSubcategoryCollection in interface Category

getItemsPerPage

public int getItemsPerPage()
Specified by:
getItemsPerPage in interface Category

setItemsPerPage

public void setItemsPerPage(int itemsPerPage)
Specified by:
setItemsPerPage in interface Category

getFirstRow

public int getFirstRow()
Specified by:
getFirstRow in interface Category

setFirstRow

public void setFirstRow(int firstRow)
Specified by:
setFirstRow in interface Category

getItemCount

public int getItemCount()
Specified by:
getItemCount in interface Category

setItemCount

public void setItemCount(int itemCount)
Specified by:
setItemCount in interface Category

getCategorySettings

public java.util.Map getCategorySettings()
Specified by:
getCategorySettings in interface Category

setCategorySettings

public void setCategorySettings(java.util.Map categorySettings)
Specified by:
setCategorySettings in interface Category


Copyright © SoftSlate, Inc. 2003–2005