SalesPoint Framework v3.0

data.ooimpl
Interface SelfManagingDBESource

All Known Implementing Classes:
CatalogImpl, StockImpl

public interface SelfManagingDBESource
extends DataBasketEntrySource

DataBasketEntrySource that knows how to rollback or commit remove operations.

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

Method Summary
 void commitRemove(DataBasket db, DataBasketEntry dbe)
          Called when a remove must be rolled back.
 void rollbackRemove(DataBasket db, DataBasketEntry dbe)
          Called when a remove must be commited.
 

Method Detail

commitRemove

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

rollbackRemove

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

SalesPoint Framework v3.0