Class DefaultSapOaaStockLevelStatusStrategy
java.lang.Object
de.hybris.platform.commerceservices.stock.strategies.impl.CommerceStockLevelStatusStrategy
com.sap.retail.oaa.commerce.services.stock.impl.DefaultSapOaaStockLevelStatusStrategy
- All Implemented Interfaces:
de.hybris.platform.stock.strategy.StockLevelStatusStrategy
public class DefaultSapOaaStockLevelStatusStrategy
extends de.hybris.platform.commerceservices.stock.strategies.impl.CommerceStockLevelStatusStrategy
Example implementation for mapping from rough stock indicator to stock level status.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckStatus(StockLevelModel stockLevel) voidsetCommonUtils(CommonUtils commonUtils) Methods inherited from class de.hybris.platform.commerceservices.stock.strategies.impl.CommerceStockLevelStatusStrategy
checkStatus, getCommerceStockLevelCalculationStrategy, getDefaultLowStockThreshold, setCommerceStockLevelCalculationStrategy, setDefaultLowStockThreshold
-
Field Details
-
RED
- See Also:
-
YELLOW
- See Also:
-
GREEN
- See Also:
-
-
Constructor Details
-
DefaultSapOaaStockLevelStatusStrategy
public DefaultSapOaaStockLevelStatusStrategy()
-
-
Method Details
-
checkStatus
- Specified by:
checkStatusin interfacede.hybris.platform.stock.strategy.StockLevelStatusStrategy- Overrides:
checkStatusin classde.hybris.platform.commerceservices.stock.strategies.impl.CommerceStockLevelStatusStrategy
-
getCommonUtils
- Returns:
- the commonUtils
-
setCommonUtils
- Parameters:
commonUtils- the commonUtils to set
-