|
|||||||||
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.catalogview.impl.ProductViewServiceImpl
public class ProductViewServiceImpl
Represents a default implementation of SearchService
.
Constructor Summary | |
---|---|
ProductViewServiceImpl()
|
Method Summary | |
---|---|
Product |
getProduct(java.lang.String productCode,
ProductLoadTuner loadTuner,
ShoppingCart shoppingCart)
Returns the product with the given product code. |
void |
setProductRetrieveStrategy(ProductRetrieveStrategy productRetrieveStrategy)
Sets the ProductRetrieveStrategy . |
void |
setProductService(ProductService productService)
Sets the product service. |
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 |
Constructor Detail |
---|
public ProductViewServiceImpl()
Method Detail |
---|
public Product getProduct(java.lang.String productCode, ProductLoadTuner loadTuner, ShoppingCart shoppingCart) throws EpServiceException
By giving a shopping cart, promotion rules will be applied to the returned product.
getProduct
in interface ProductViewService
productCode
- the product code.loadTuner
- the product load tunershoppingCart
- the shopping cart, give null
if you don't have it.
EpServiceException
- - in case of any errorspublic void setProductRetrieveStrategy(ProductRetrieveStrategy productRetrieveStrategy)
ProductRetrieveStrategy
.
productRetrieveStrategy
- the product retrieve strategypublic void setProductService(ProductService productService)
productService
- the product service
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |