Class CreateMediaPopulator
- java.lang.Object
-
- de.hybris.platform.cmsfacades.media.populator.CreateMediaPopulator
-
- All Implemented Interfaces:
Populator<MediaData,MediaModel>
public class CreateMediaPopulator extends java.lang.Object implements Populator<MediaData,MediaModel>
This populator will populate theMediaModelfrom theMediaData.
-
-
Constructor Summary
Constructors Constructor Description CreateMediaPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CatalogVersionServicegetCatalogVersionService()voidpopulate(MediaData source, MediaModel target)Populate the target instance with values from the source instance.voidsetCatalogVersionService(CatalogVersionService catalogVersionService)
-
-
-
Method Detail
-
populate
public void populate(MediaData source, MediaModel target) throws ConversionException
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<MediaData,MediaModel>- Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
getCatalogVersionService
protected CatalogVersionService getCatalogVersionService()
-
setCatalogVersionService
public void setCatalogVersionService(CatalogVersionService catalogVersionService)
-
-