com.elasticpath.domain.catalog
Interface TopSeller

All Superinterfaces:
Entity, EpDomain, Persistence, java.io.Serializable
All Known Implementing Classes:
TopSellerImpl

public interface TopSeller
extends Entity

TopSeller represents a category for grouping top sellers.


Method Summary
 long getCategoryUid()
          Returns the category uid.
 java.util.Collection getProductUids()
          Returns a collection of top selling products uids.
 java.util.Map getTopSellerProducts()
          Returns the top seller products.
 void setCategoryUid(long categoryUid)
          Sets the category uid.
 void setTopSellerProducts(java.util.Map topSellerProducts)
          Sets the top seller products.
 
Methods inherited from interface com.elasticpath.domain.Entity
getGuid, setGuid
 
Methods inherited from interface com.elasticpath.domain.Persistence
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Method Detail

getCategoryUid

long getCategoryUid()
Returns the category uid.

Returns:
the category uid

getProductUids

java.util.Collection getProductUids()
Returns a collection of top selling products uids.

Returns:
a collection of top selling products uids

getTopSellerProducts

java.util.Map getTopSellerProducts()
Returns the top seller products.

Returns:
the top seller products

setCategoryUid

void setCategoryUid(long categoryUid)
Sets the category uid.

Parameters:
categoryUid - the category uid

setTopSellerProducts

void setTopSellerProducts(java.util.Map topSellerProducts)
Sets the top seller products.

Parameters:
topSellerProducts - the top seller products