Class DefaultOaaProductStockPopulator<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>
com.sap.retail.oaa.commerce.facades.converters.populator.DefaultOaaProductStockPopulator<SOURCE,TARGET>
All Implemented Interfaces:
de.hybris.platform.converters.Populator<SOURCE,TARGET>

public class DefaultOaaProductStockPopulator<SOURCE extends ProductModel,TARGET extends ProductData> extends de.hybris.platform.commercefacades.product.converters.populator.ProductStockPopulator<SOURCE,TARGET>
Populate the product data with stock information
  • Constructor Details

    • DefaultOaaProductStockPopulator

      public DefaultOaaProductStockPopulator()
  • Method Details

    • getStockConverter

      protected de.hybris.platform.servicelayer.dto.converter.Converter<ProductModel,StockData> getStockConverter()
      Overrides:
      getStockConverter in class de.hybris.platform.commercefacades.product.converters.populator.ProductStockPopulator<SOURCE extends ProductModel,TARGET extends ProductData>
    • setStockConverter

      public void setStockConverter(de.hybris.platform.servicelayer.dto.converter.Converter<ProductModel,StockData> stockConverter)
      Overrides:
      setStockConverter in class de.hybris.platform.commercefacades.product.converters.populator.ProductStockPopulator<SOURCE extends ProductModel,TARGET extends ProductData>
    • getCommonUtils

      public CommonUtils getCommonUtils()
      Returns:
      the commonUtils
    • setCommonUtils

      public void setCommonUtils(CommonUtils commonUtils)
      Parameters:
      commonUtils - the commonUtils to set
    • populate

      public void populate(SOURCE source, TARGET target)
      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>