Class ProductDataPopulator
- java.lang.Object
-
- de.hybris.platform.cmssmarteditwebservices.products.facade.populator.ProductDataPopulator
-
- All Implemented Interfaces:
Populator<ProductData,ProductData>
public class ProductDataPopulator extends java.lang.Object implements Populator<ProductData,ProductData>
Basic class for populatingProductData
fromProductData
data.
-
-
Constructor Summary
Constructors Constructor Description ProductDataPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CatalogVersionService
getCatalogVersionService()
protected ProductService
getProductService()
protected UniqueItemIdentifierService
getUniqueItemIdentifierService()
void
populate(ProductData source, ProductData target)
Populate the target instance with values from the source instance.void
setCatalogVersionService(CatalogVersionService catalogVersionService)
void
setProductService(ProductService productService)
void
setUniqueItemIdentifierService(UniqueItemIdentifierService uniqueItemIdentifierService)
-
-
-
Method Detail
-
populate
public void populate(ProductData source, ProductData target) throws ConversionException
Description copied from interface:Populator
Populate the target instance with values from the source instance.- Specified by:
populate
in interfacePopulator<ProductData,ProductData>
- Parameters:
source
- the source objecttarget
- the target to fill- Throws:
ConversionException
- if an error occurs
-
getUniqueItemIdentifierService
protected UniqueItemIdentifierService getUniqueItemIdentifierService()
-
setUniqueItemIdentifierService
public void setUniqueItemIdentifierService(UniqueItemIdentifierService uniqueItemIdentifierService)
-
getCatalogVersionService
protected CatalogVersionService getCatalogVersionService()
-
setCatalogVersionService
public void setCatalogVersionService(CatalogVersionService catalogVersionService)
-
getProductService
protected ProductService getProductService()
-
setProductService
public void setProductService(ProductService productService)
-
-