com.elasticpath.service.catalog
Interface ProductRecommendationService

All Superinterfaces:
EpPersistenceService, EpService
All Known Implementing Classes:
ProductRecommendationServiceImpl

public interface ProductRecommendationService
extends EpPersistenceService

Provides services for computing product recommendations. (E.g. customers who purchased this product also purchased product X.) Product Recommendations are a type of ProductAssociation


Method Summary
 void setProductService(ProductService productService)
          Set the product service.
 void updateRecommendations()
          Re-compute product recommendations for each product in the system.
 
Methods inherited from interface com.elasticpath.service.EpPersistenceService
getObject, getPersistenceEngine, setPersistenceEngine
 
Methods inherited from interface com.elasticpath.service.EpService
getElasticPath, setElasticPath
 

Method Detail

setProductService

void setProductService(ProductService productService)
Set the product service.

Parameters:
productService - the product service

updateRecommendations

void updateRecommendations()
Re-compute product recommendations for each product in the system.