Class ProductGalleryImagesPopulator<SOURCE extends ProductModel,TARGET extends ProductData>
- java.lang.Object
-
- de.hybris.platform.commercefacades.product.converters.populator.AbstractProductPopulator<SOURCE,TARGET>
-
- de.hybris.platform.commercefacades.product.converters.populator.AbstractProductImagePopulator<SOURCE,TARGET>
-
- de.hybris.platform.commercefacades.product.converters.populator.ProductGalleryImagesPopulator<SOURCE,TARGET>
-
- All Implemented Interfaces:
Populator<SOURCE,TARGET>
public class ProductGalleryImagesPopulator<SOURCE extends ProductModel,TARGET extends ProductData> extends AbstractProductImagePopulator<SOURCE,TARGET>
Populate the product data with the product's gallery images
-
-
Constructor Summary
Constructors Constructor Description ProductGalleryImagesPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcollectMediaContainers(ProductModel productModel, java.util.List<MediaContainerModel> list)voidpopulate(SOURCE productModel, TARGET productData)Populate the target instance with values from the source instance.-
Methods inherited from class de.hybris.platform.commercefacades.product.converters.populator.AbstractProductImagePopulator
addImagesInFormats, getImageConverter, getImageFormatMapping, getImageFormats, getMediaContainerService, getMediaService, setImageConverter, setImageFormatMapping, setImageFormats, setMediaContainerService, setMediaService
-
Methods inherited from class de.hybris.platform.commercefacades.product.converters.populator.AbstractProductPopulator
getModelService, getProductAttribute, safeToString, setModelService
-
-
-
-
Method Detail
-
populate
public void populate(SOURCE productModel, TARGET productData) throws ConversionException
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Parameters:
productModel- the source objectproductData- the target to fill- Throws:
ConversionException- if an error occurs
-
collectMediaContainers
protected void collectMediaContainers(ProductModel productModel, java.util.List<MediaContainerModel> list)
-
-