Class AbstractItem2MapPopulator<V>
java.lang.Object
de.hybris.platform.integrationservices.populator.AbstractItem2MapPopulator<V>
- All Implemented Interfaces:
Populator<ItemToMapConversionContext,Map<String, Object>>
@Deprecated(since="20.11.0-RC5")
public abstract class AbstractItem2MapPopulator<V>
extends Object
implements Populator<ItemToMapConversionContext,Map<String,Object>>
Deprecated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ModelServiceDeprecated.Gets a reference to theModelServiceprotected abstract booleanisApplicable(TypeAttributeDescriptor attributeDescriptor) Deprecated.Indicates whether this Populator is applicable to process the attributevoidpopulate(ItemToMapConversionContext source, Map<String, Object> target) Deprecated.Populate the target instance with values from the source instance.protected abstract voidpopulateToMap(TypeAttributeDescriptor attr, ItemToMapConversionContext source, Map<String, Object> target) Deprecated.Implements the logic to populate the targetvoidsetModelService(ModelService modelService) Deprecated.
-
Constructor Details
-
AbstractItem2MapPopulator
public AbstractItem2MapPopulator()Deprecated.
-
-
Method Details
-
populate
Deprecated.Description copied from interface:PopulatorPopulate the target instance with values from the source instance. -
populateToMap
protected abstract void populateToMap(TypeAttributeDescriptor attr, ItemToMapConversionContext source, Map<String, Object> target) Deprecated.Implements the logic to populate the target- Parameters:
attr- descriptor of the attribute to be populatedsource- Source used in the implementation to populate the targettarget- Populate the target with the result
-
isApplicable
Deprecated.Indicates whether this Populator is applicable to process the attribute- Parameters:
attributeDescriptor- descriptor of the attribute to make the decision about- Returns:
true, if the Populator is applicable; otherwisefalse
-
getModelService
Deprecated.Gets a reference to theModelService- Returns:
- The ModelService
-
setModelService
Deprecated.
-
AbstractItemToMapPopulatorinstead Abstract class to populate given item model to a Map which is representation of the Integration Object. V - type of the value handled by this populator