data.ooimpl
Class StoringStockItemDBEntry
java.lang.Object
data.ooimpl.DataBasketEntryImpl<Object>
data.ooimpl.StockItemDBEntry
data.ooimpl.StoringStockItemDBEntry
- All Implemented Interfaces:
- DataBasketEntry<Object>, DataBasketKeys, Serializable, Loggable
public class StoringStockItemDBEntry
- extends StockItemDBEntry
DataBasketEntry that describes operations with StoringStock's items. The
fields of the DataBasketEntry
are set as follows:
- Since:
- v2.0
- Author:
- Steffen Zschaler
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StoringStockItemDBEntry
public StoringStockItemDBEntry(StoringStockImpl sstiSource,
StoringStockImpl sstiDest,
StockItemImpl siiItem)
- Create a new StoringStockItemDBEntry.
- Parameters:
sstiSource
- the source Stock.sstiDest
- the destination Stock.siiItem
- the item that was operated on.
rollbackDestination
public void rollbackDestination()
- Rollback the destination part of the operation described by this
DataBasketEntry
.
The method will correctly update the underlying DataBasket.
Attention: The method is public as an implementation detail and should not be called
directly.
- Override:
- Never
commitSource
public void commitSource()
- Commit the source part of the operation described by this
DataBasketEntry
.
The method will correctly update the underlying DataBasket.
Attention: The method is public as an implementation detail and should not be called
directly.
- Override:
- Never