Class CMSItemLinkToggleModelToDataAttributePopulator

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

    public class CMSItemLinkToggleModelToDataAttributePopulator
    extends AbstractCMSItemPopulator
    Populator that prepares the linkToggle field and removes old external and urlLink fields
    • Constructor Detail

      • CMSItemLinkToggleModelToDataAttributePopulator

        public CMSItemLinkToggleModelToDataAttributePopulator()
    • 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