Class ShoppingProductStockPopulator<SOURCE extends ProductModel,TARGET extends ProductData>

java.lang.Object
de.hybris.platform.commercefacades.product.converters.populator.AbstractProductPopulator<SOURCE,TARGET>
de.hybris.platform.commercefacades.product.converters.populator.ProductStockPopulator<SOURCE,TARGET>
de.hybris.platform.shoppingfacades.product.converters.populator.ShoppingProductStockPopulator<SOURCE,TARGET>
Type Parameters:
SOURCE - the type parameter
TARGET - the type parameter
All Implemented Interfaces:
de.hybris.platform.converters.Populator<SOURCE,TARGET>

public class ShoppingProductStockPopulator<SOURCE extends ProductModel,TARGET extends ProductData> extends de.hybris.platform.commercefacades.product.converters.populator.ProductStockPopulator<SOURCE,TARGET>
The extension of ProductStockPopulator to skip the setter when the product is of type ShoppingFareProductModel
  • Constructor Details

    • ShoppingProductStockPopulator

      public ShoppingProductStockPopulator()
  • Method Details

    • populate

      public void populate(SOURCE source, TARGET target) throws de.hybris.platform.servicelayer.dto.converter.ConversionException
      Specified by:
      populate in interface de.hybris.platform.converters.Populator<SOURCE extends ProductModel,TARGET extends ProductData>
      Overrides:
      populate in class de.hybris.platform.commercefacades.product.converters.populator.ProductStockPopulator<SOURCE extends ProductModel,TARGET extends ProductData>
      Throws:
      de.hybris.platform.servicelayer.dto.converter.ConversionException
    • getExcludedItemTypeList

      protected List<String> getExcludedItemTypeList()
      Gets excluded item type list.
      Returns:
      the excluded item type list
    • setExcludedItemTypeList

      public void setExcludedItemTypeList(List<String> excludedItemTypeList)
      Sets excluded item type list.
      Parameters:
      excludedItemTypeList - the excluded item type list