Class ContainerModelToDataRenderingPopulator
- java.lang.Object
-
- de.hybris.platform.cmsfacades.rendering.populators.ContainerModelToDataRenderingPopulator
-
public class ContainerModelToDataRenderingPopulator extends java.lang.Object implements Populator<ItemModel,java.util.Map<java.lang.String,java.lang.Object>>
Populator used to populate container object with a list of items (components or container itself) usingCMSComponentContainerRegistry.
-
-
Constructor Summary
Constructors Constructor Description ContainerModelToDataRenderingPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CMSComponentContainerRegistrygetCmsComponentContainerRegistry()voidpopulate(ItemModel source, java.util.Map<java.lang.String,java.lang.Object> targetMap)Populate the target instance with values from the source instance.voidsetCmsComponentContainerRegistry(CMSComponentContainerRegistry cmsComponentContainerRegistry)
-
-
-
Method Detail
-
populate
public void populate(ItemModel source, java.util.Map<java.lang.String,java.lang.Object> targetMap) throws ConversionException
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<ItemModel,java.util.Map<java.lang.String,java.lang.Object>>- Parameters:
source- the source objecttargetMap- the target to fill- Throws:
ConversionException- if an error occurs
-
getCmsComponentContainerRegistry
protected CMSComponentContainerRegistry getCmsComponentContainerRegistry()
-
setCmsComponentContainerRegistry
public void setCmsComponentContainerRegistry(CMSComponentContainerRegistry cmsComponentContainerRegistry)
-
-