Class CMSComponentModelToDataRenderingPopulator
- java.lang.Object
-
- de.hybris.platform.cmsfacades.rendering.populators.CMSComponentModelToDataRenderingPopulator
-
- All Implemented Interfaces:
Populator<AbstractCMSComponentModel,AbstractCMSComponentData>
public class CMSComponentModelToDataRenderingPopulator extends java.lang.Object implements Populator<AbstractCMSComponentModel,AbstractCMSComponentData>
Populator used to add all the information required to render a CMS Component.
-
-
Constructor Summary
Constructors Constructor Description CMSComponentModelToDataRenderingPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CMSItemConvertergetCmsItemConverter()protected UniqueIdentifierAttributeToDataContentConverter<ItemModel>getUniqueIdentifierAttributeToDataContentConverter()voidpopulate(AbstractCMSComponentModel componentModel, AbstractCMSComponentData componentData)Populate the target instance with values from the source instance.voidsetCmsItemConverter(CMSItemConverter cmsItemConverter)voidsetUniqueIdentifierAttributeToDataContentConverter(UniqueIdentifierAttributeToDataContentConverter<ItemModel> uniqueIdentifierAttributeToDataContentConverter)
-
-
-
Method Detail
-
populate
public void populate(AbstractCMSComponentModel componentModel, AbstractCMSComponentData componentData)
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<AbstractCMSComponentModel,AbstractCMSComponentData>- Parameters:
componentModel- the source objectcomponentData- the target to fill
-
getCmsItemConverter
protected CMSItemConverter getCmsItemConverter()
-
setCmsItemConverter
public void setCmsItemConverter(CMSItemConverter cmsItemConverter)
-
getUniqueIdentifierAttributeToDataContentConverter
protected UniqueIdentifierAttributeToDataContentConverter<ItemModel> getUniqueIdentifierAttributeToDataContentConverter()
-
setUniqueIdentifierAttributeToDataContentConverter
public void setUniqueIdentifierAttributeToDataContentConverter(UniqueIdentifierAttributeToDataContentConverter<ItemModel> uniqueIdentifierAttributeToDataContentConverter)
-
-