Class DefaultItemModelPopulator

java.lang.Object
de.hybris.platform.inboundservices.persistence.populator.DefaultItemModelPopulator
All Implemented Interfaces:
ItemModelPopulator

public class DefaultItemModelPopulator extends Object implements ItemModelPopulator
An implementation that uses AttributePopulators to populate the item attributes.
  • Constructor Details

    • DefaultItemModelPopulator

      public DefaultItemModelPopulator()
  • Method Details

    • populate

      public void populate(ItemModel item, PersistenceContext context)
      Description copied from interface: ItemModelPopulator
      Populates the specified item with the values available in the persistence context.
      Specified by:
      populate in interface ItemModelPopulator
      Parameters:
      item - an item, whose attributes should be populated
      context - persistence context containing data for the item and other information needed to populate the item in a specific way.
    • setAttributePopulators

      public void setAttributePopulators(List<AttributePopulator> populators)