Interface StockLevelStatusStrategy
-
- All Known Implementing Classes:
CommerceStockLevelStatusStrategy,DefaultStockLevelStatusStrategy,WarehousingStockLevelStatusStrategy
public interface StockLevelStatusStrategyThe StockLevelStatusStrategy is used by theStockServiceto check the status of the specifiedStockLevel.- Spring Bean ID:
- stockLevelStatusStrategy
-
-
Method Summary
All Methods Instance Methods Abstract 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
StockLevelStatus checkStatus(StockLevelModel stockLevel)
Checks the status of the specifiedStockLevel.- Parameters:
stockLevel- the stock level to be checked- Returns:
- stock level status
-
checkStatus
StockLevelStatus checkStatus(java.util.Collection<StockLevelModel> stockLevels)
Checks the status of the specifiedStockLevels.- Parameters:
stockLevels- the stock levels to be checked- Returns:
- stock level status
-
-