Interface ConfigurablePopulator<SOURCE,TARGET,OPTION>

Type Parameters:
SOURCE - the type of the source object
TARGET - the type of the destination object
OPTION - the type of the options list
All Known Subinterfaces:
ConfigurablePopulator<SOURCE,TARGET,OPTION>, ModifiableConfigurablePopulator<SOURCE,TARGET,OPTION>, ModifiableConfigurablePopulator<SOURCE,TARGET,OPTION>
All Known Implementing Classes:
AbstractModifiableConfigurablePopulator, CatalogHierarchyPopulator, CatalogVersionPopulator, ConfigurationOverviewInstancePopulator, ConfigurationOverviewValuePopulator, CustomerGroupMembersPopulator, DefaultConfigurableConverter, DefaultConfigurablePopulator, DefaultConfigurableSubtypeConverter, DefaultModifableConfigurablePopulator, HttpRequestPaymentInfoPopulator, HttpRequestPaymentInfoPopulator

public interface ConfigurablePopulator<SOURCE,TARGET,OPTION>
Interface for a configurable populator. A populator sets values in a target instance based on values in the source instance. Populators are similar to converters except that unlike converters the target instance must already exist. The collection of options is used to control what data is populated.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    populate(SOURCE source, TARGET target, Collection<OPTION> options)
    Populate the target instance from the source instance.
  • Method Details

    • populate

      void populate(SOURCE source, TARGET target, Collection<OPTION> options) throws ConversionException
      Populate the target instance from the source instance. The collection of options is used to control what data is populated.
      Parameters:
      source - the source object
      target - the target to fill
      options - options used to control what data is populated
      Throws:
      ConversionException - if an error occurs