Class CommerceStockLevelStatusStrategy
java.lang.Object
de.hybris.platform.commerceservices.stock.strategies.impl.CommerceStockLevelStatusStrategy
- All Implemented Interfaces:
StockLevelStatusStrategy
- Direct Known Subclasses:
WarehousingStockLevelStatusStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckStatus(StockLevelModel stockLevel) Checks the status of the specifiedStockLevel.checkStatus(Collection<StockLevelModel> stockLevels) Checks the status of the specifiedStockLevels.protected CommerceAvailabilityCalculationStrategyprotected intvoidsetCommerceStockLevelCalculationStrategy(CommerceAvailabilityCalculationStrategy commerceStockLevelCalculationStrategy) voidsetDefaultLowStockThreshold(int lowStockThreshold)
-
Constructor Details
-
CommerceStockLevelStatusStrategy
public CommerceStockLevelStatusStrategy()
-
-
Method Details
-
checkStatus
Description copied from interface:StockLevelStatusStrategyChecks the status of the specifiedStockLevel.- Specified by:
checkStatusin interfaceStockLevelStatusStrategy- Parameters:
stockLevel- the stock level to be checked- Returns:
- stock level status
-
checkStatus
Description copied from interface:StockLevelStatusStrategyChecks the status of the specifiedStockLevels.- Specified by:
checkStatusin interfaceStockLevelStatusStrategy- Parameters:
stockLevels- the stock levels to be checked- Returns:
- stock level status
-
getDefaultLowStockThreshold
protected int getDefaultLowStockThreshold() -
setDefaultLowStockThreshold
public void setDefaultLowStockThreshold(int lowStockThreshold) -
getCommerceStockLevelCalculationStrategy
-
setCommerceStockLevelCalculationStrategy
public void setCommerceStockLevelCalculationStrategy(CommerceAvailabilityCalculationStrategy commerceStockLevelCalculationStrategy)
-