com.softslate.commerce.businessobjects.product
Class SearchListBean

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

public class SearchListBean
extends BaseBusinessObject
implements SearchList, java.io.Serializable

Object representing a list of products in the system.

SearchListBean is the default implementation of the SearchList interface for the application.

Author:
Jason McWilliams
See Also:
SearchList, Serialized Form

Field Summary
static int CATEGORY
           
private  int categoryID
           
private  int firstRow
           
private  java.lang.String indexDir
           
private  int itemCount
           
private  int itemsPerPage
           
(package private) static org.apache.commons.logging.Log log
           
private  java.util.Collection luceneDocCollection
           
static int MANUFACTURER
           
private  int manufacturerID
           
private  float[] objectScores
           
private  int[] objectTypes
           
static int PRODUCT
           
static int SEARCH_ALL
           
static int SEARCH_CATEGORIES
           
static int SEARCH_MANUFACTURERS
           
static int SEARCH_PRODUCTS
           
static int SEARCH_PRODUCTS_FOR_PRODUCT_LIST
           
static int SEARCH_PRODUCTS_WITHIN_CATEGORY
           
static int SEARCH_PRODUCTS_WITHIN_MANUFACTURER
           
private  java.util.Collection searchListCollection
           
private  int searchListType
           
private  java.lang.String searchString
           
private static long serialVersionUID
           
private  java.lang.String sortBy
           
 
Constructor Summary
SearchListBean()
           
 
Method Summary
 void addFormatting(java.util.Locale locale, java.lang.String currencyCode)
           
 int getCategoryID()
           
 int getFirstRow()
           
 java.lang.String getIndexDir()
           
 int getItemCount()
           
 int getItemsPerPage()
           
 java.util.Collection getLuceneDocCollection()
           
 int getManufacturerID()
           
 float[] getObjectScores()
           
 int[] getObjectTypes()
           
 java.util.Collection getSearchListCollection()
           
 int getSearchListType()
           
 java.lang.String getSearchString()
           
 java.lang.String getSortBy()
           
 void setCategoryID(int categoryID)
           
 void setFirstRow(int firstRow)
           
 void setIndexDir(java.lang.String indexDir)
           
 void setItemCount(int itemCount)
           
 void setItemsPerPage(int itemsPerPage)
           
 void setLuceneDocCollection(java.util.Collection luceneDocCollection)
           
 void setManufacturerID(int manufacturerID)
           
 void setObjectScores(float[] objectScores)
           
 void setObjectTypes(int[] objectTypes)
           
 void setSearchListCollection(java.util.Collection searchListCollection)
           
 void setSearchListType(int searchListType)
           
 void setSearchString(java.lang.String searchString)
           
 void setSortBy(java.lang.String sortBy)
           
 
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

SEARCH_PRODUCTS

public static final int SEARCH_PRODUCTS
See Also:
Constant Field Values

SEARCH_CATEGORIES

public static final int SEARCH_CATEGORIES
See Also:
Constant Field Values

SEARCH_MANUFACTURERS

public static final int SEARCH_MANUFACTURERS
See Also:
Constant Field Values

SEARCH_ALL

public static final int SEARCH_ALL
See Also:
Constant Field Values

SEARCH_PRODUCTS_WITHIN_CATEGORY

public static final int SEARCH_PRODUCTS_WITHIN_CATEGORY
See Also:
Constant Field Values

SEARCH_PRODUCTS_WITHIN_MANUFACTURER

public static final int SEARCH_PRODUCTS_WITHIN_MANUFACTURER
See Also:
Constant Field Values

SEARCH_PRODUCTS_FOR_PRODUCT_LIST

public static final int SEARCH_PRODUCTS_FOR_PRODUCT_LIST
See Also:
Constant Field Values

PRODUCT

public static final int PRODUCT
See Also:
Constant Field Values

CATEGORY

public static final int CATEGORY
See Also:
Constant Field Values

MANUFACTURER

public static final int MANUFACTURER
See Also:
Constant Field Values

log

static org.apache.commons.logging.Log log

objectTypes

private int[] objectTypes

objectScores

private float[] objectScores

searchListType

private int searchListType

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

sortBy

private java.lang.String sortBy

indexDir

private java.lang.String indexDir

searchListCollection

private java.util.Collection searchListCollection

luceneDocCollection

private java.util.Collection luceneDocCollection
Constructor Detail

SearchListBean

public SearchListBean()
Method Detail

getObjectTypes

public int[] getObjectTypes()
Specified by:
getObjectTypes in interface SearchList

setObjectTypes

public void setObjectTypes(int[] objectTypes)
Specified by:
setObjectTypes in interface SearchList

getObjectScores

public float[] getObjectScores()
Specified by:
getObjectScores in interface SearchList

setObjectScores

public void setObjectScores(float[] objectScores)
Specified by:
setObjectScores in interface SearchList

getSearchListType

public int getSearchListType()
Specified by:
getSearchListType in interface SearchList

setSearchListType

public void setSearchListType(int searchListType)
Specified by:
setSearchListType in interface SearchList

getCategoryID

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

setCategoryID

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

getManufacturerID

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

setManufacturerID

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

getItemsPerPage

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

setItemsPerPage

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

getFirstRow

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

setFirstRow

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

getItemCount

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

setItemCount

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

getSearchString

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

setSearchString

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

getSortBy

public java.lang.String getSortBy()
Specified by:
getSortBy in interface SearchList

setSortBy

public void setSortBy(java.lang.String sortBy)
Specified by:
setSortBy in interface SearchList

getIndexDir

public java.lang.String getIndexDir()
Specified by:
getIndexDir in interface SearchList

setIndexDir

public void setIndexDir(java.lang.String indexDir)
Specified by:
setIndexDir in interface SearchList

getSearchListCollection

public java.util.Collection getSearchListCollection()
Specified by:
getSearchListCollection in interface SearchList

setSearchListCollection

public void setSearchListCollection(java.util.Collection searchListCollection)
Specified by:
setSearchListCollection in interface SearchList

getLuceneDocCollection

public java.util.Collection getLuceneDocCollection()
Specified by:
getLuceneDocCollection in interface SearchList

setLuceneDocCollection

public void setLuceneDocCollection(java.util.Collection luceneDocCollection)
Specified by:
setLuceneDocCollection in interface SearchList

addFormatting

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


Copyright ? SoftSlate, LLC 2003?2005