Class DefaultOaaStockPopulator<SOURCE extends ProductModel,TARGET extends StockData>
java.lang.Object
de.hybris.platform.commercefacades.product.converters.populator.StockPopulator<SOURCE,TARGET>
com.sap.retail.oaa.commerce.facades.converters.populator.DefaultOaaStockPopulator<SOURCE,TARGET>
- All Implemented Interfaces:
de.hybris.platform.converters.Populator<SOURCE,TARGET>
public class DefaultOaaStockPopulator<SOURCE extends ProductModel,TARGET extends StockData>
extends de.hybris.platform.commercefacades.product.converters.populator.StockPopulator<SOURCE,TARGET>
Populate the product data with stock information
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionde.hybris.platform.commerceservices.stock.CommerceStockServicede.hybris.platform.stock.strategy.StockLevelStatusStrategyprotected booleanisStockSystemEnabled(BaseStoreModel baseStore) voidvoidsetCommonUtils(CommonUtils commonUtils) voidsetOaaStockService(de.hybris.platform.commerceservices.stock.CommerceStockService oaaStockService) voidsetStockLevelStatusStrategy(de.hybris.platform.stock.strategy.StockLevelStatusStrategy stockLevelStatusStrategy) Methods inherited from class de.hybris.platform.commercefacades.product.converters.populator.StockPopulator
getBaseSiteService, getBaseStoreService, getCategoryService, getCommerceStockService, getThresholdfromOneTree, getThresholdValue, isStockSystemEnabled, setBaseSiteService, setBaseStoreService, setCategoryService, setCommerceStockService
-
Constructor Details
-
DefaultOaaStockPopulator
public DefaultOaaStockPopulator()
-
-
Method Details
-
getStockLevelStatusStrategy
public de.hybris.platform.stock.strategy.StockLevelStatusStrategy getStockLevelStatusStrategy() -
setStockLevelStatusStrategy
public void setStockLevelStatusStrategy(de.hybris.platform.stock.strategy.StockLevelStatusStrategy stockLevelStatusStrategy) -
getOaaStockService
public de.hybris.platform.commerceservices.stock.CommerceStockService getOaaStockService() -
setOaaStockService
public void setOaaStockService(de.hybris.platform.commerceservices.stock.CommerceStockService oaaStockService) -
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 StockData> - Overrides:
populatein classde.hybris.platform.commercefacades.product.converters.populator.StockPopulator<SOURCE extends ProductModel,TARGET extends StockData>
-
isStockSystemEnabled
- Overrides:
isStockSystemEnabledin classde.hybris.platform.commercefacades.product.converters.populator.StockPopulator<SOURCE extends ProductModel,TARGET extends StockData>
-