Class CMSItemPageModelToDataAttributePopulator

  • All Implemented Interfaces:
    Populator<ItemModel,​java.util.Map<java.lang.String,​java.lang.Object>>

    public class CMSItemPageModelToDataAttributePopulator
    extends AbstractCMSItemPopulator
    Populator that populates the masterTemplateId field for a given page.
    • Constructor Detail

      • CMSItemPageModelToDataAttributePopulator

        public CMSItemPageModelToDataAttributePopulator()
    • Method Detail

      • populate

        public void populate​(ItemModel itemModel,
                             java.util.Map<java.lang.String,​java.lang.Object> itemMap)
                      throws ConversionException
        Description copied from interface: Populator
        Populate the target instance with values from the source instance.
        Parameters:
        itemModel - the source object
        itemMap - the target to fill
        Throws:
        ConversionException - if an error occurs