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 -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcollectMediaContainers(ProductModel productModel, List<MediaContainerModel> list) voidPopulate 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, setMediaServiceMethods inherited from class de.hybris.platform.commercefacades.product.converters.populator.AbstractProductPopulator
getModelService, getProductAttribute, safeToString, setModelService
-
Constructor Details
-
ProductGalleryImagesPopulator
public ProductGalleryImagesPopulator()
-
-
Method Details
-
populate
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
-