Class CustomerWishListBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.customer.CustomerWishListBean
- All Implemented Interfaces:
BusinessObject,CustomerWishList,Serializable
public class CustomerWishListBean
extends BaseBusinessObject
implements CustomerWishList, Serializable
Object representing a customer's wish list within the system.
CustomerWishListBean is the default implementation of the
CustomerWishList interface for the application.
The database stores customer wish lists in the sscCustomerWishlist
table, and this interface can be used to represent a single row of that
table. The Hibernate configuration file
CustomerWishListBean.hbm.xml maps that table's columns to the
properties in this object.
- Author:
- Jason McWilliams
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Customerprivate intprivate intprivate Collectionprivate Stringprivate intprivate intprivate intprivate String(package private) static org.apache.commons.logging.Logprivate Stringprivate Collectionprivate static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintintintgetName()voidsetCreated(String created) voidsetCustomer(Customer customer) voidsetCustomerID(int customerID) voidsetCustomerWishListID(int customerWishListID) voidsetCustomerWishListProducts(Collection customerWishListProducts) voidsetDescription(String description) voidsetFirstRow(int firstRow) voidsetItemCount(int itemCount) voidsetItemsPerPage(int itemsPerPage) voidsetLastUpdated(String lastUpdated) voidvoidsetProductListCollection(Collection productListCollection) Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
initializeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
log
static org.apache.commons.logging.Log log -
customerWishListID
private int customerWishListID -
customerID
private int customerID -
customer
-
name
-
description
-
created
-
lastUpdated
-
customerWishListProducts
-
productListCollection
-
itemsPerPage
private int itemsPerPage -
firstRow
private int firstRow -
itemCount
private int itemCount
-
-
Constructor Details
-
CustomerWishListBean
public CustomerWishListBean()
-
-
Method Details
-
getCustomerWishListID
public int getCustomerWishListID()- Specified by:
getCustomerWishListIDin interfaceCustomerWishList
-
setCustomerWishListID
public void setCustomerWishListID(int customerWishListID) - Specified by:
setCustomerWishListIDin interfaceCustomerWishList
-
getCustomerID
public int getCustomerID()- Specified by:
getCustomerIDin interfaceCustomerWishList
-
setCustomerID
public void setCustomerID(int customerID) - Specified by:
setCustomerIDin interfaceCustomerWishList
-
getCustomer
- Specified by:
getCustomerin interfaceCustomerWishList
-
setCustomer
- Specified by:
setCustomerin interfaceCustomerWishList
-
getName
- Specified by:
getNamein interfaceCustomerWishList
-
setName
- Specified by:
setNamein interfaceCustomerWishList
-
getDescription
- Specified by:
getDescriptionin interfaceCustomerWishList
-
setDescription
- Specified by:
setDescriptionin interfaceCustomerWishList
-
getCreated
- Specified by:
getCreatedin interfaceCustomerWishList
-
setCreated
- Specified by:
setCreatedin interfaceCustomerWishList
-
getLastUpdated
- Specified by:
getLastUpdatedin interfaceCustomerWishList
-
setLastUpdated
- Specified by:
setLastUpdatedin interfaceCustomerWishList
-
getCustomerWishListProducts
- Specified by:
getCustomerWishListProductsin interfaceCustomerWishList
-
setCustomerWishListProducts
- Specified by:
setCustomerWishListProductsin interfaceCustomerWishList
-
getProductListCollection
- Specified by:
getProductListCollectionin interfaceCustomerWishList
-
setProductListCollection
- Specified by:
setProductListCollectionin interfaceCustomerWishList
-
getItemsPerPage
public int getItemsPerPage()- Specified by:
getItemsPerPagein interfaceCustomerWishList
-
setItemsPerPage
public void setItemsPerPage(int itemsPerPage) - Specified by:
setItemsPerPagein interfaceCustomerWishList
-
getFirstRow
public int getFirstRow()- Specified by:
getFirstRowin interfaceCustomerWishList
-
setFirstRow
public void setFirstRow(int firstRow) - Specified by:
setFirstRowin interfaceCustomerWishList
-
getItemCount
public int getItemCount()- Specified by:
getItemCountin interfaceCustomerWishList
-
setItemCount
public void setItemCount(int itemCount) - Specified by:
setItemCountin interfaceCustomerWishList
-