com.softslate.commerce.businessobjects.product
Class ProductListBean

java.lang.Object
  extended by com.softslate.commerce.businessobjects.core.BaseBusinessObject
      extended by com.softslate.commerce.businessobjects.product.ProductListBean
All Implemented Interfaces:
BusinessObject, ProductList, java.io.Serializable

public class ProductListBean
extends BaseBusinessObject
implements ProductList, java.io.Serializable

Object representing a list of products in the system.

ProductListBean is the default implementation of the ProductList interface for the application.

Author:
David Tobey
See Also:
ProductList, Serialized Form

Field Summary
static int ALL_ACTIVE
           
static int CATEGORY
           
private  int categoryID
           
private  int firstRow
           
private  int itemCount
           
private  int itemsPerPage
           
(package private) static org.apache.commons.logging.Log log
           
static int MANUFACTURER
           
private  int manufacturerID
           
private  java.util.Collection productListCollection
           
private  int productListType
           
static int SEARCH
           
private  java.lang.String searchString
           
private static long serialVersionUID
           
 
Constructor Summary
ProductListBean()
           
 
Method Summary
 void addFormatting(java.util.Locale locale, java.lang.String currencyCode)
           
 int getCategoryID()
           
 int getFirstRow()
           
 int getItemCount()
           
 int getItemsPerPage()
           
 int getManufacturerID()
           
 java.util.Collection getProductListCollection()
           
 int getProductListType()
           
 java.lang.String getSearchString()
           
 void setCategoryID(int categoryID)
           
 void setFirstRow(int firstRow)
           
 void setItemCount(int itemCount)
           
 void setItemsPerPage(int itemsPerPage)
           
 void setManufacturerID(int manufacturerID)
           
 void setProductListCollection(java.util.Collection productListCollection)
           
 void setProductListType(int productListType)
           
 void setSearchString(java.lang.String searchString)
           
 
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 Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

ALL_ACTIVE

public static final int ALL_ACTIVE
See Also:
Constant Field Values

CATEGORY

public static final int CATEGORY
See Also:
Constant Field Values

SEARCH

public static final int SEARCH
See Also:
Constant Field Values

MANUFACTURER

public static final int MANUFACTURER
See Also:
Constant Field Values

log

static org.apache.commons.logging.Log log

productListType

private int productListType

categoryID

private int categoryID

manufacturerID

private int manufacturerID

itemsPerPage

private int itemsPerPage

firstRow

private int firstRow

itemCount

private int itemCount

searchString

private java.lang.String searchString

productListCollection

private java.util.Collection productListCollection
Constructor Detail

ProductListBean

public ProductListBean()
Method Detail

getProductListType

public int getProductListType()
Specified by:
getProductListType in interface ProductList

setProductListType

public void setProductListType(int productListType)
Specified by:
setProductListType in interface ProductList

getCategoryID

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

setCategoryID

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

getManufacturerID

public int getManufacturerID()
Specified by:
getManufacturerID in interface ProductList

setManufacturerID

public void setManufacturerID(int manufacturerID)
Specified by:
setManufacturerID in interface ProductList

getItemsPerPage

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

setItemsPerPage

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

getFirstRow

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

setFirstRow

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

getItemCount

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

setItemCount

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

getSearchString

public java.lang.String getSearchString()
Specified by:
getSearchString in interface ProductList

setSearchString

public void setSearchString(java.lang.String searchString)
Specified by:
setSearchString in interface ProductList

getProductListCollection

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

setProductListCollection

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

addFormatting

public void addFormatting(java.util.Locale locale,
                          java.lang.String currencyCode)
Specified by:
addFormatting in interface ProductList


Copyright © SoftSlate, LLC 2003–2005