SalesPoint Framework v3.0

data.ooimpl
Interface SelfManagingDBEDestination

All Known Implementing Classes:
CatalogImpl, StockImpl

public interface SelfManagingDBEDestination
extends DataBasketEntryDestination

DataBasketEntryDestination that knows how to rollback or commit add operations.

Since:
v2.0
Version:
2.0 14/06/1999
Author:
Steffen Zschaler
See Also:
DataBasketEntryImpl

Method Summary
 void commitAdd(DataBasket db, DataBasketEntry dbe)
          Called when an add must be commited.
 void rollbackAdd(DataBasket db, DataBasketEntry dbe)
          Called when an add must be rolled back.
 

Method Detail

commitAdd

public void commitAdd(DataBasket db,
                      DataBasketEntry dbe)
Called when an add must be commited.
Override:
Always.
Parameters:
db - the DataBasket that issued the commit request
dbe - the DataBasketEntry describing the operation to commit.

rollbackAdd

public void rollbackAdd(DataBasket db,
                        DataBasketEntry dbe)
Called when an add must be rolled back.
Override:
Always.
Parameters:
db - the DataBasket that issued the rollback request
dbe - the DataBasketEntry describing the operation to rollback.

SalesPoint Framework v3.0