Interface ItemBuffer
- All Known Implementing Classes:
ItemBufferImpl
public interface ItemBuffer
Helper Interface to Buffer Item data, typically used by ERP backend implementation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears the buffer for the ERP state of the document.The list of items which represents the ERP status.voidremoveItemERPState(String idAsString) Removes item from ERP state map, together with sub items (free goods!)voidsetItemsERPState(Map<String, Item> itemsERPState) The list of items which represents the ERP status.
-
Method Details
-
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
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
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.
-