Interface StockImportAdapter
-
- All Known Implementing Classes:
DefaultStockImportAdapter,IncrementalStockImportAdapter
public interface StockImportAdapterAdapter to translate a stock import row into a service call toStockService.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidperformImport(java.lang.String cellValue, Item product)Import a stock value by calling theStockService.
-
-
-
Method Detail
-
performImport
void performImport(java.lang.String cellValue, Item product)Import a stock value by calling theStockService.- Parameters:
cellValue-product-- Throws:
java.lang.IllegalArgumentException- if the cellValue is empty, null or invalid or the product is null
-
-