Class CMSItemCloneableModelToDataAttributePopulator

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

    public class CMSItemCloneableModelToDataAttributePopulator
    extends java.lang.Object
    implements Populator<ItemModel,​java.util.Map<java.lang.String,​java.lang.Object>>
    Populator that verifies that the ItemModel is cloneable and prepares the cloneable field
    • Constructor Detail

      • CMSItemCloneableModelToDataAttributePopulator

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

        public void setCmsItemCloneablePredicate​(CMSItemCloneablePredicate cmsItemCloneablePredicate)