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 populatingProductDatafromProductDatadata.
-
-
Constructor Summary
Constructors Constructor Description ProductDataPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CatalogVersionServicegetCatalogVersionService()protected ProductServicegetProductService()protected UniqueItemIdentifierServicegetUniqueItemIdentifierService()voidpopulate(ProductData source, ProductData target)Populate the target instance with values from the source instance.voidsetCatalogVersionService(CatalogVersionService catalogVersionService)voidsetProductService(ProductService productService)voidsetUniqueItemIdentifierService(UniqueItemIdentifierService uniqueItemIdentifierService)
-
-
-
Method Detail
-
populate
public void populate(ProductData source, ProductData target) throws ConversionException
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein 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)
-
-