All Known Implementing Classes:
ItemBufferImpl

public interface ItemBuffer
Helper Interface to Buffer Item data, typically used by ERP backend implementation.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Clears the buffer for the ERP state of the document.
    The list of items which represents the ERP status.
    void
    Removes item from ERP state map, together with sub items (free goods!)
    void
    setItemsERPState(Map<String,Item> itemsERPState)
    The list of items which represents the ERP status.
  • Method Details

    • getItemsERPState

      Map<String,Item> getItemsERPState()
      The list of items which represents the ERP status. We use it to compile a delta to the status we get from the BO layer. Aim is to optimise the LO-API call
      Returns:
      list of items
    • setItemsERPState

      void setItemsERPState(Map<String,Item> itemsERPState)
      The list of items which represents the ERP status. We use it to compile a delta to the status we get from the BO layer. Aim is to optimise the LO-API call
      Parameters:
      itemsERPState - list of items
    • removeItemERPState

      void removeItemERPState(String idAsString)
      Removes item from ERP state map, together with sub items (free goods!)
      Parameters:
      idAsString - item ID
    • clearERPBuffer

      void clearERPBuffer()
      Clears the buffer for the ERP state of the document.