com.softslate.commerce.businessobjects.product
Class SearchListBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
objectExcerpts
private java.lang.String[] objectExcerpts
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
luceneQuery
private org.apache.lucene.search.Query luceneQuery
SearchListBean
public SearchListBean()
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
getObjectExcerpts
public java.lang.String[] getObjectExcerpts()
- Specified by:
getObjectExcerpts in interface SearchList
setObjectExcerpts
public void setObjectExcerpts(java.lang.String[] objectExcerpts)
- Specified by:
setObjectExcerpts 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
getLuceneQuery
public org.apache.lucene.search.Query getLuceneQuery()
- Specified by:
getLuceneQuery in interface SearchList
setLuceneQuery
public void setLuceneQuery(org.apache.lucene.search.Query luceneQuery)
- Specified by:
setLuceneQuery in interface SearchList
addFormatting
public void addFormatting(java.util.Locale locale,
java.lang.String currencyCode)
- Specified by:
addFormatting in interface SearchList
Copyright © SoftSlate, LLC 20032010