Class DefaultStockLevelStatusStrategy
- java.lang.Object
-
- de.hybris.platform.stock.strategy.impl.DefaultStockLevelStatusStrategy
-
- All Implemented Interfaces:
StockLevelStatusStrategy
public class DefaultStockLevelStatusStrategy extends java.lang.Object implements StockLevelStatusStrategy
Default implementation ofStockLevelStatusStrategy.
-
-
Constructor Summary
Constructors Constructor Description DefaultStockLevelStatusStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StockLevelStatuscheckStatus(StockLevelModel stockLevel)Checks the status of the specifiedStockLevel.StockLevelStatuscheckStatus(java.util.Collection<StockLevelModel> stockLevels)Checks the status of the specifiedStockLevels.
-
-
-
Method Detail
-
checkStatus
public StockLevelStatus checkStatus(StockLevelModel stockLevel)
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
public StockLevelStatus checkStatus(java.util.Collection<StockLevelModel> stockLevels)
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
-
-