com.elasticpath.service.catalog.impl
Class ProductXmlServiceImpl

java.lang.Object
  extended by com.elasticpath.service.impl.AbstractEpServiceImpl
      extended by com.elasticpath.service.catalog.impl.ProductXmlServiceImpl
All Implemented Interfaces:
ProductXmlService, EpService

public class ProductXmlServiceImpl
extends AbstractEpServiceImpl
implements ProductXmlService

Represents a default implementation of ProductXmlService.


Constructor Summary
ProductXmlServiceImpl()
           
 
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 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

ProductXmlServiceImpl

public ProductXmlServiceImpl()
Method Detail

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