com.elasticpath.domain.catalog.impl
Class TopSellerImpl
java.lang.Object
com.elasticpath.domain.impl.AbstractEpDomainImpl
com.elasticpath.domain.impl.AbstractPersistenceImpl
com.elasticpath.domain.impl.AbstractEntityImpl
com.elasticpath.domain.catalog.impl.TopSellerImpl
- All Implemented Interfaces:
- TopSeller, Entity, EpDomain, Persistence, java.io.Serializable
public class TopSellerImpl
- extends AbstractEntityImpl
- implements TopSeller
This is a default implementation of TopSeller
.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TopSellerImpl
public TopSellerImpl()
getCategoryUid
public long getCategoryUid()
- Returns the category uid.
- Specified by:
getCategoryUid
in interface TopSeller
- Returns:
- the category uid
getProductUids
public java.util.Collection getProductUids()
- Returns a collection of top selling products uids.
- Specified by:
getProductUids
in interface TopSeller
- Returns:
- a collection of top selling products uids
getTopSellerProducts
public java.util.Map getTopSellerProducts()
- Returns the top seller products.
- Specified by:
getTopSellerProducts
in interface TopSeller
- Returns:
- the top seller products
setCategoryUid
public void setCategoryUid(long categoryUid)
- Sets the category uid.
- Specified by:
setCategoryUid
in interface TopSeller
- Parameters:
categoryUid
- the category uid
setTopSellerProducts
public void setTopSellerProducts(java.util.Map topSellerProducts)
- Sets the top seller products.
- Specified by:
setTopSellerProducts
in interface TopSeller
- Parameters:
topSellerProducts
- the top seller products