Interface StockImportAdapter
- All Known Implementing Classes:
AbstractStockImportAdapter,DefaultStockImportAdapter,IncrementalStockImportAdapter
public interface StockImportAdapter
Adapter to translate a stock import row into a service call to
StockService.-
Method Summary
Modifier and TypeMethodDescriptionvoidperformImport(String cellValue, Item product) Import a stock value by calling theStockService.
-
Method Details
-
performImport
Import a stock value by calling theStockService.- Parameters:
cellValue-product-- Throws:
IllegalArgumentException- if the cellValue is empty, null or invalid or the product is null
-