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