Class ReplaceItemModelCollectionAttributePopulator
java.lang.Object
de.hybris.platform.inboundservices.persistence.populator.AbstractAttributePopulator
de.hybris.platform.odata2services.odata.persistence.populator.ReplaceItemModelCollectionAttributePopulator
- All Implemented Interfaces:
AttributePopulator
@Deprecated(since="21.05.0-RC1",
forRemoval=true)
public class ReplaceItemModelCollectionAttributePopulator
extends AbstractAttributePopulator
Deprecated, for removal: This API element is subject to removal in a future version.
An implementation of an
AttributePopulator, that handles collections of
items models by replacing all elements pre-existing in the persistent storage with the values present in the payload only.-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected ContextReferencedItemModelServiceDeprecated, for removal: This API element is subject to removal in a future version.protected booleanisApplicable(TypeAttributeDescriptor attribute, PersistenceContext context) Deprecated, for removal: This API element is subject to removal in a future version.Determines whether a specific implementation can provide value for the specified attribute.protected voidpopulateAttribute(ItemModel item, TypeAttributeDescriptor attribute, PersistenceContext context) Deprecated, for removal: This API element is subject to removal in a future version.Populates value of the specified item attribute.voidDeprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class de.hybris.platform.inboundservices.persistence.populator.AbstractAttributePopulator
getModelService, isNew, populate, setModelService
-
Constructor Details
-
ReplaceItemModelCollectionAttributePopulator
public ReplaceItemModelCollectionAttributePopulator()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
isApplicable
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractAttributePopulatorDetermines whether a specific implementation can provide value for the specified attribute.- Specified by:
isApplicablein classAbstractAttributePopulator- Parameters:
attribute- attribute to make the decision about.context- context that may be needed to make the decision.- Returns:
true, if this attribute processor is applicable to the specified attribute and can provide a value for it;false, otherwise.
-
populateAttribute
protected void populateAttribute(ItemModel item, TypeAttributeDescriptor attribute, PersistenceContext context) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractAttributePopulatorPopulates value of the specified item attribute.- Specified by:
populateAttributein classAbstractAttributePopulator- Parameters:
item- item model to be populated.attribute- specifies, which attribute should be populated in theitem.context- context information necessary to derive correct attribute value from the integration item.
-
getContextReferencedItemModelService
Deprecated, for removal: This API element is subject to removal in a future version. -
setContextReferencedItemModelService
Deprecated, for removal: This API element is subject to removal in a future version.
-
ReplaceItemModelCollectionAttributePopulator