|
||||||||||
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.CatalogItemDataBasketEntry
public class CatalogItemDataBasketEntry
A DataBasketEntry
representing operations on CatalogImpl
s
and CatalogItemImpl
s. The fields of the DataBasketEntry
are set as follows:
Field | Value | |
main key |
CATALOG_ITEM_MAIN_KEY
|
|
secondary key |
name of the CatalogItem in question |
|
source |
source catalog | |
destination |
destination catalog | |
value |
CatalogItem in question |
Nested Class Summary | |
---|---|
static class |
CatalogItemDataBasketEntry.CIDBELogEntry
A LogEntry that describes CatalogItemDataBasketEntries . |
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 | |
---|---|
CatalogItemDataBasketEntry(CatalogImpl cSource,
CatalogImpl cDest,
CatalogItemImpl ci)
Create a new CatalogItemDataBasketEntry. |
Method Summary | |
---|---|
LogEntry |
getLogData()
Return a LogEntry describing this DataBasketEntry. |
void |
setDestination(CatalogImpl cDest)
Set the destination of the DataBasketEntry. |
void |
setSource(CatalogImpl cSource)
Set the source of the 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 CatalogItemDataBasketEntry(CatalogImpl cSource, CatalogImpl cDest, CatalogItemImpl ci)
cSource
- the source Catalog.cDest
- the destination Catalog.ci
- the CatalogItem that was operated on.Method Detail |
---|
public void setSource(CatalogImpl cSource)
This method is public as an implementation detail and must not be called directly!
public void setDestination(CatalogImpl cDest)
This method is public as an implementation detail and must not be called directly!
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 |