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 Type
    Method
    Description
    void
    performImport(String cellValue, Item product)
    Import a stock value by calling the StockService.
  • Method Details

    • performImport

      void performImport(String cellValue, Item product)
      Import a stock value by calling the StockService.
      Parameters:
      cellValue -
      product -
      Throws:
      IllegalArgumentException - if the cellValue is empty, null or invalid or the product is null