Class CMSComponentModelToDataRenderingPopulator
java.lang.Object
de.hybris.platform.cmsfacades.rendering.populators.CMSComponentModelToDataRenderingPopulator
- All Implemented Interfaces:
Populator<AbstractCMSComponentModel,AbstractCMSComponentData>
public class CMSComponentModelToDataRenderingPopulator
extends Object
implements Populator<AbstractCMSComponentModel,AbstractCMSComponentData>
Populator used to add all the information required to render a CMS Component.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CMSItemConvertervoidpopulate(AbstractCMSComponentModel componentModel, AbstractCMSComponentData componentData) Populate the target instance with values from the source instance.voidsetCmsItemConverter(CMSItemConverter cmsItemConverter) voidsetUniqueIdentifierAttributeToDataContentConverter(UniqueIdentifierAttributeToDataContentConverter<ItemModel> uniqueIdentifierAttributeToDataContentConverter)
-
Constructor Details
-
CMSComponentModelToDataRenderingPopulator
public CMSComponentModelToDataRenderingPopulator()
-
-
Method Details
-
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
-
setCmsItemConverter
-
getUniqueIdentifierAttributeToDataContentConverter
protected UniqueIdentifierAttributeToDataContentConverter<ItemModel> getUniqueIdentifierAttributeToDataContentConverter() -
setUniqueIdentifierAttributeToDataContentConverter
public void setUniqueIdentifierAttributeToDataContentConverter(UniqueIdentifierAttributeToDataContentConverter<ItemModel> uniqueIdentifierAttributeToDataContentConverter)
-