SalesPoint Framework v3.1

data.ooimpl
Interface SelfManagingDBESource

All Superinterfaces:
DataBasketEntrySource
All Known Implementing Classes:
CatalogImpl, StockImpl

public interface SelfManagingDBESource
extends DataBasketEntrySource

DataBasketEntrySource that knows how to rollback or commit remove operations.

Since:
v2.0
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.

Parameters:
db - the DataBasket that issued the rollback request
dbe - the DataBasketEntry describing the operation to rollback.
Override:
Always

rollbackRemove

public void rollbackRemove(DataBasket db,
                           DataBasketEntry dbe)
Called when a remove must be commited.

Parameters:
db - the DataBasket that issued the commit request
dbe - the DataBasketEntry describing the operation to commit.
Override:
Always

SalesPoint Framework v3.1