Class ContentSlotModelToDataRenderingPopulator
- java.lang.Object
-
- de.hybris.platform.cmsfacades.rendering.populators.ContentSlotModelToDataRenderingPopulator
-
- All Implemented Interfaces:
Populator<ContentSlotData,PageContentSlotData>
- Direct Known Subclasses:
CxContentSlotModelToDataRenderingPopulator
public class ContentSlotModelToDataRenderingPopulator extends java.lang.Object implements Populator<ContentSlotData,PageContentSlotData>
Populator used to add all the information required to render a content slot.
-
-
Constructor Summary
Constructors Constructor Description ContentSlotModelToDataRenderingPopulator()
-
Method Summary
-
-
-
Method Detail
-
populate
public void populate(ContentSlotData contentSlotData, PageContentSlotData targetData)
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<ContentSlotData,PageContentSlotData>- Parameters:
contentSlotData- the source objecttargetData- the target to fill
-
populateComponents
protected void populateComponents(ContentSlotModel slotModel, PageContentSlotData targetData)
Populates components forContentSlotModel.- Parameters:
slotModel- theContentSlotModelcontaining componentstargetData- the targetPageContentSlotDataobject
-
populateCustomProperties
protected void populateCustomProperties(ContentSlotModel slotModel, PageContentSlotData targetData)
Populates custom properties forContentSlotModel.- Parameters:
slotModel- theContentSlotModelto retrieve custom propertiestargetData- the targetPageContentSlotDataobject.
-
getCmsComponentModelToDataRenderingConverter
protected Converter<AbstractCMSComponentModel,AbstractCMSComponentData> getCmsComponentModelToDataRenderingConverter()
-
setCmsComponentModelToDataRenderingConverter
public void setCmsComponentModelToDataRenderingConverter(Converter<AbstractCMSComponentModel,AbstractCMSComponentData> cmsComponentModelToDataRenderingConverter)
-
getUniqueIdentifierAttributeToDataContentConverter
protected UniqueIdentifierAttributeToDataContentConverter<ItemModel> getUniqueIdentifierAttributeToDataContentConverter()
-
setUniqueIdentifierAttributeToDataContentConverter
public void setUniqueIdentifierAttributeToDataContentConverter(UniqueIdentifierAttributeToDataContentConverter<ItemModel> uniqueIdentifierAttributeToDataContentConverter)
-
getRenderingVisibilityService
protected RenderingVisibilityService getRenderingVisibilityService()
-
setRenderingVisibilityService
public void setRenderingVisibilityService(RenderingVisibilityService renderingVisibilityService)
-
getCustomPropertiesPopulator
protected Populator<ItemModel,java.util.Map<java.lang.String,java.lang.Object>> getCustomPropertiesPopulator()
-
-