Class ItemBufferImpl
- java.lang.Object
-
- de.hybris.platform.sap.sapordermgmtbol.transaction.salesdocument.backend.impl.erp.ItemBufferImpl
-
- All Implemented Interfaces:
ItemBuffer
public class ItemBufferImpl extends java.lang.Object implements ItemBuffer
Standard implementation forItemBuffer.
-
-
Constructor Summary
Constructors Constructor Description ItemBufferImpl()
-
Method Summary
All Methods Instance Methods Concrete 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.voidinit()InitializationvoidremoveItemERPState(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
-
init
public void init()
Initialization
-
getItemsERPState
public java.util.Map<java.lang.String,Item> getItemsERPState()
Description copied from interface:ItemBufferThe 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- Specified by:
getItemsERPStatein interfaceItemBuffer- Returns:
- list of items
-
setItemsERPState
public void setItemsERPState(java.util.Map<java.lang.String,Item> itemsERPState)
Description copied from interface:ItemBufferThe 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- Specified by:
setItemsERPStatein interfaceItemBuffer- Parameters:
itemsERPState- list of items
-
removeItemERPState
public void removeItemERPState(java.lang.String idAsString)
Description copied from interface:ItemBufferRemoves item from ERP state map, together with sub items (free goods!)- Specified by:
removeItemERPStatein interfaceItemBuffer- Parameters:
idAsString- item ID
-
clearERPBuffer
public void clearERPBuffer()
Description copied from interface:ItemBufferClears the buffer for the ERP state of the document.- Specified by:
clearERPBufferin interfaceItemBuffer
-
-