|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.service.impl.AbstractEpServiceImpl com.elasticpath.service.impl.AbstractEpPersistenceServiceImpl com.elasticpath.service.catalog.impl.ProductRecommendationServiceImpl
public class ProductRecommendationServiceImpl
Provides services for computing product recommendations. (E.g. customers who purchased this product also purchased product X.) Product
Recommendations are a type of ProductAssociation
Constructor Summary | |
---|---|
ProductRecommendationServiceImpl()
|
Method Summary | |
---|---|
java.lang.Object |
getObject(long uid)
There is no object that can be retrieved by this service. |
void |
setProductLoadTunerAssociationsOnly(ProductLoadTuner productLoadTunerAssociationsOnly)
Set the product load tuner used to load products whose recommendations are to be updated. |
void |
setProductLoadTunerNoCollections(ProductLoadTuner productLoadTunerNoCollections)
Set the product load tuner used only to set a reference to a target product. |
void |
setProductService(ProductService productService)
Set the product service. |
void |
updateRecommendations()
Re-compute product recommendations for each product in the system. |
Methods inherited from class com.elasticpath.service.impl.AbstractEpPersistenceServiceImpl |
---|
getPersistenceEngine, setPersistenceEngine |
Methods inherited from class com.elasticpath.service.impl.AbstractEpServiceImpl |
---|
getElasticPath, setElasticPath |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.elasticpath.service.EpPersistenceService |
---|
getPersistenceEngine, setPersistenceEngine |
Methods inherited from interface com.elasticpath.service.EpService |
---|
getElasticPath, setElasticPath |
Constructor Detail |
---|
public ProductRecommendationServiceImpl()
Method Detail |
---|
public java.lang.Object getObject(long uid) throws EpServiceException
getObject
in interface EpPersistenceService
uid
- the Brand UID.
EpServiceException
- - in case of any errorspublic void setProductLoadTunerAssociationsOnly(ProductLoadTuner productLoadTunerAssociationsOnly)
productLoadTunerAssociationsOnly
- the ProductLoadTuner
public void setProductLoadTunerNoCollections(ProductLoadTuner productLoadTunerNoCollections)
productLoadTunerNoCollections
- the ProductLoadTuner
public void setProductService(ProductService productService)
setProductService
in interface ProductRecommendationService
productService
- the product servicepublic void updateRecommendations()
updateRecommendations
in interface ProductRecommendationService
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |