Interface ProductList
- All Superinterfaces:
BusinessObject
- All Known Implementing Classes:
ProductListBean
Interface representing a list of products in the the system. There are three
types of
ProductList
that are determined by the value of the
productListType
property:
- The list of all the active products in the store.
- The list of products under a given category.
- The list of products matching a given search request.
An instance of this interface is created from the Struts layer in response to
requests to view the active products in the store, a given category's
products, or a the results of a search. The products become accessible
through the productListCollection
property of this
ProductList
.
When the application needs to create an instance that implements
ProductList
,
BusinessObjectFactory
finds the name of the Java class to instantiate from the
"productListImplementer" setting in the appComponents.properties
file.
The default "productListImplementer" is
ProductListBean
.
- Author:
- David Tobey
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFormatting
(Locale locale, String currencyCode) int
int
int
int
int
int
int
void
setCategoryID
(int categoryID) void
setCustomerWishListID
(int customerWishListID) void
setFirstRow
(int firstRow) void
setItemCount
(int itemCount) void
setItemsPerPage
(int itemsPerPage) void
setManufacturerID
(int manufacturerID) void
setProductListCollection
(Collection productListCollection) void
setProductListType
(int productListType) void
setSearchString
(String searchString) Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
-
Method Details
-
getProductListType
int getProductListType() -
setProductListType
void setProductListType(int productListType) -
getCategoryID
int getCategoryID() -
setCategoryID
void setCategoryID(int categoryID) -
getManufacturerID
int getManufacturerID() -
setManufacturerID
void setManufacturerID(int manufacturerID) -
getCustomerWishListID
int getCustomerWishListID() -
setCustomerWishListID
void setCustomerWishListID(int customerWishListID) -
getItemsPerPage
int getItemsPerPage() -
setItemsPerPage
void setItemsPerPage(int itemsPerPage) -
getFirstRow
int getFirstRow() -
setFirstRow
void setFirstRow(int firstRow) -
getItemCount
int getItemCount() -
setItemCount
void setItemCount(int itemCount) -
getSearchString
String getSearchString() -
setSearchString
-
getProductListCollection
Collection getProductListCollection() -
setProductListCollection
-
addFormatting
-