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,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 TypeMethodDescriptionvoidpopulate(SOURCE source, TARGET target, Collection<OPTION> options) Populate the target instance from the source instance.
-
Method Details
-
populate
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
-