com.elasticpath.service.catalog.impl
Class ProductXmlServiceImpl
java.lang.Object
com.elasticpath.service.impl.AbstractEpServiceImpl
com.elasticpath.service.catalog.impl.ProductXmlServiceImpl
- All Implemented Interfaces:
- ProductXmlService, EpService
public class ProductXmlServiceImpl
- extends AbstractEpServiceImpl
- implements ProductXmlService
Represents a default implementation of ProductXmlService
.
Method Summary |
java.lang.String |
getProductMinimalXml(java.lang.String baseUrl,
java.lang.String productUid)
Returns the minimal product data required by PowerReviews in xml format. |
void |
setProductService(ProductService productService)
Sets the product service. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProductXmlServiceImpl
public ProductXmlServiceImpl()
getProductMinimalXml
public java.lang.String getProductMinimalXml(java.lang.String baseUrl,
java.lang.String productUid)
throws EpServiceException
- Returns the minimal product data required by PowerReviews in xml format.
- Specified by:
getProductMinimalXml
in interface ProductXmlService
- Parameters:
baseUrl
- - the base url of the request.productUid
- - the product uid of the product to get data from.
- Returns:
- the product data in xml format
- Throws:
EpServiceException
- - in case of errors
setProductService
public void setProductService(ProductService productService)
- Sets the product service.
- Parameters:
productService
- the product service