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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.servicelayer.dto.converter.Converter<ProductModel,StockData> voidvoidsetCommonUtils(CommonUtils commonUtils) voidsetStockConverter(de.hybris.platform.servicelayer.dto.converter.Converter<ProductModel, StockData> stockConverter) Methods inherited from class de.hybris.platform.commercefacades.product.converters.populator.AbstractProductPopulator
getModelService, getProductAttribute, safeToString, setModelService
-
Constructor Details
-
DefaultOaaProductStockPopulator
public DefaultOaaProductStockPopulator()
-
-
Method Details
-
getStockConverter
protected de.hybris.platform.servicelayer.dto.converter.Converter<ProductModel,StockData> getStockConverter()- Overrides:
getStockConverterin classde.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:
setStockConverterin classde.hybris.platform.commercefacades.product.converters.populator.ProductStockPopulator<SOURCE extends ProductModel,TARGET extends ProductData>
-
getCommonUtils
- Returns:
- the commonUtils
-
setCommonUtils
- Parameters:
commonUtils- the commonUtils to set
-
populate
- Specified by:
populatein interfacede.hybris.platform.converters.Populator<SOURCE extends ProductModel,TARGET extends ProductData> - Overrides:
populatein classde.hybris.platform.commercefacades.product.converters.populator.ProductStockPopulator<SOURCE extends ProductModel,TARGET extends ProductData>
-