com.elasticpath.domain.catalog.impl
Class TopSellerImpl

java.lang.Object
  extended by com.elasticpath.domain.impl.AbstractEpDomainImpl
      extended by com.elasticpath.domain.impl.AbstractPersistenceImpl
          extended by com.elasticpath.domain.impl.AbstractEntityImpl
              extended by 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

Field Summary
 
Fields inherited from class com.elasticpath.domain.impl.AbstractEntityImpl
serialVersionUID
 
Constructor Summary
TopSellerImpl()
           
 
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 class com.elasticpath.domain.impl.AbstractEntityImpl
convertAttributeGroupAttributes, getGuid, setDefaultValues, setGuid
 
Methods inherited from class com.elasticpath.domain.impl.AbstractPersistenceImpl
executeBeforePersistAction, getUidPk, isPersistent, setUidPk
 
Methods inherited from class com.elasticpath.domain.impl.AbstractEpDomainImpl
getElasticPath, setElasticPath
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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
 

Constructor Detail

TopSellerImpl

public TopSellerImpl()
Method Detail

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