|
||||||||||
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
public abstract class StockItemDBEntry
DataBasketEntry that represents an operation with StockItems. The details as to how the individual fields are used depend on the subclasses.
Nested Class Summary | |
---|---|
static class |
StockItemDBEntry.StockItemDBELogEntry
A LogEntry that describes an operation on one or more StockItem(s). |
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 | |
---|---|
StockItemDBEntry(java.lang.String sKey,
StockImpl stiSource,
StockImpl stiDest,
java.lang.Object oValue)
Create a new StockItemDBEntry. |
Method Summary | |
---|---|
int |
count()
Count the items affected by this DataBasketEntry. |
LogEntry |
getLogData()
Get a LogEntry describing this DataBasketEntry. |
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 StockItemDBEntry(java.lang.String sKey, StockImpl stiSource, StockImpl stiDest, java.lang.Object oValue)
sKey
- the key of the affected item(s).stiSource
- the source Stock.stiDest
- the destination Stock.oValue
- the value of the DataBasketEntry.Method Detail |
---|
public int count()
public LogEntry getLogData()
getLogData
in interface Loggable
getLogData
in class DataBasketEntryImpl<java.lang.Object>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |