Class 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 Details

    • ItemModelCollectionAttributePopulator

      public ItemModelCollectionAttributePopulator()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • isApplicable

      protected boolean isApplicable(TypeAttributeDescriptor attribute, PersistenceContext context)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: AbstractAttributePopulator
      Determines whether a specific implementation can provide value for the specified attribute.
      Specified by:
      isApplicable in class AbstractAttributePopulator
      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: AbstractCollectionAttributePopulator
      Get the collection of values from the context to be persisted
      Specified by:
      getNewCollection in class AbstractCollectionAttributePopulator
      collectionAttribute - Contains information that describes the attribute
      context - Contains the data to persist
      Returns:
      Collection of values to persist
    • getContextReferencedItemModelService

      protected ContextReferencedItemModelService getContextReferencedItemModelService()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setContextReferencedItemModelService

      public void setContextReferencedItemModelService(ContextReferencedItemModelService service)
      Deprecated, for removal: This API element is subject to removal in a future version.