Package de.hybris.platform.converters
Interface ConfigurablePopulator<SOURCE,TARGET,OPTION>
-
- Type Parameters:
SOURCE- the type of the source objectTARGET- the type of the destination objectOPTION- 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
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidpopulate(SOURCE source, TARGET target, java.util.Collection<OPTION> options)Populate the target instance from the source instance.
-
-
-
Method Detail
-
populate
void populate(SOURCE source, TARGET target, java.util.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 objecttarget- the target to filloptions- options used to control what data is populated- Throws:
ConversionException- if an error occurs
-
-