Class CMSItemLinkToggleModelToDataAttributePopulator

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

    public class CMSItemLinkToggleModelToDataAttributePopulator
    extends java.lang.Object
    implements Populator<ItemModel,​java.util.Map<java.lang.String,​java.lang.Object>>
    Populator that prepares the linkToggle field and removes old external and urlLink fields
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void populate​(ItemModel itemModel, java.util.Map<java.lang.String,​java.lang.Object> itemMap)
      Populate the target instance with values from the source instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.
        Specified by:
        populate in interface Populator<ItemModel,​java.util.Map<java.lang.String,​java.lang.Object>>
        Parameters:
        itemModel - the source object
        itemMap - the target to fill
        Throws:
        ConversionException - if an error occurs