|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.salespointframework.core.data.DataBasketEntryImpl<java.lang.Object>
org.salespointframework.core.data.StockItemDBEntry
org.salespointframework.core.data.StoringStockItemDBEntry
public class StoringStockItemDBEntry
DataBasketEntry that describes operations with StoringStock's items. The
fields of the DataBasketEntry
are set as follows:
Field | Value | |
main key |
STOCK_ITEM_MAIN_KEY
|
|
secondary key |
name of the StockItem in question |
|
source |
source stock | |
destination |
destination stock | |
value |
StockItem that was moved. |
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.salespointframework.core.data.StockItemDBEntry |
---|
StockItemDBEntry.StockItemDBELogEntry |
Field Summary |
---|
Fields inherited from class org.salespointframework.core.data.DataBasketEntryImpl |
---|
m_dbedDest, m_dbesSource, m_dbiOwner, m_fHandled, m_oValue, m_sMainKey, m_sSecondaryKey |
Fields inherited from interface org.salespointframework.core.data.interfaces.DataBasketKeys |
---|
CATALOG_ITEM_MAIN_KEY, STOCK_ITEM_MAIN_KEY |
Constructor Summary | |
---|---|
StoringStockItemDBEntry(StoringStockImpl sstiSource,
StoringStockImpl sstiDest,
StockItem siiItem)
Create a new StoringStockItemDBEntry. |
Method Summary | |
---|---|
void |
commitSource()
Commit the source part of the operation described by this DataBasketEntry . |
void |
rollbackDestination()
Rollback the destination part of the operation described by this DataBasketEntry . |
Methods inherited from class org.salespointframework.core.data.StockItemDBEntry |
---|
count, getLogData |
Methods inherited from class org.salespointframework.core.data.DataBasketEntryImpl |
---|
commit, DBEtoCatalogItem, getDestination, getMainKey, getName, getOwner, getSecondaryKey, getSource, getValue, isHandled, rollback, setOwner, setSecondaryKey, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StoringStockItemDBEntry(StoringStockImpl sstiSource, StoringStockImpl sstiDest, StockItem siiItem)
sstiSource
- the source Stock.sstiDest
- the destination Stock.siiItem
- the item that was operated on.Method Detail |
---|
public void rollbackDestination()
DataBasketEntry
.
The method will correctly update the underlying DataBasket.
Attention: The method is public as an implementation detail and should not be called directly.
public void commitSource()
DataBasketEntry
.
The method will correctly update the underlying DataBasket.
Attention: The method is public as an implementation detail and should not be called directly.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |