Class ItemModelCollectionAttributePopulator
java.lang.Object
de.hybris.platform.inboundservices.persistence.populator.AbstractAttributePopulator
de.hybris.platform.inboundservices.persistence.populator.AbstractCollectionAttributePopulator
de.hybris.platform.odata2services.odata.persistence.populator.ItemModelCollectionAttributePopulator
- All Implemented Interfaces:
AttributePopulator
@Deprecated(since="21.05.0-RC1",
forRemoval=true)
public class ItemModelCollectionAttributePopulator
extends AbstractCollectionAttributePopulator
Deprecated, for removal: This API element is subject to removal in a future version.
-
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 Collection<Object>getNewCollection(ItemModel item, TypeAttributeDescriptor collectionAttribute, PersistenceContext context) Deprecated, for removal: This API element is subject to removal in a future version.Get the collection of values from the context to be persistedprotected 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.voidDeprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class de.hybris.platform.inboundservices.persistence.populator.AbstractCollectionAttributePopulator
combineAttributeValues, getExistingCollection, populateAttributeMethods inherited from class de.hybris.platform.inboundservices.persistence.populator.AbstractAttributePopulator
getModelService, isNew, populate, setModelService
-
Constructor Details
-
ItemModelCollectionAttributePopulator
public ItemModelCollectionAttributePopulator()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.
-
getNewCollection
protected Collection<Object> getNewCollection(ItemModel item, TypeAttributeDescriptor collectionAttribute, PersistenceContext context) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractCollectionAttributePopulatorGet the collection of values from the context to be persisted- Specified by:
getNewCollectionin classAbstractCollectionAttributePopulatorcollectionAttribute- Contains information that describes the attributecontext- Contains the data to persist- Returns:
- Collection of values to persist
-
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.
-
ItemModelCollectionAttributePopulator