SalesPoint v3.3 API

data.ooimpl
Class CatalogItemDataBasketEntry

java.lang.Object
  extended by data.ooimpl.DataBasketEntryImpl<Object>
      extended by data.ooimpl.CatalogItemDataBasketEntry
All Implemented Interfaces:
DataBasketEntry<Object>, DataBasketKeys, Serializable, Loggable

public class CatalogItemDataBasketEntry
extends DataBasketEntryImpl<Object>

A DataBasketEntry representing operations on CatalogImpls and CatalogItemImpls. The fields of the DataBasketEntry are set as follows:

FieldValue
main key CATALOG_ITEM_MAIN_KEY
secondary key name of the CatalogItem in question
source source catalog
destination destination catalog
value CatalogItem in question

Since:
v2.0
Author:
Steffen Zschaler
See Also:
Serialized Form

Nested Class Summary
static class CatalogItemDataBasketEntry.CIDBELogEntry
          A LogEntry that describes CatalogItemDataBasketEntries.
 
Field Summary
 
Fields inherited from class data.ooimpl.DataBasketEntryImpl
m_dbedDest, m_dbesSource, m_dbiOwner, m_fHandled, m_oValue, m_sMainKey, m_sSecondaryKey
 
Fields inherited from interface data.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 data.ooimpl.DataBasketEntryImpl
commit, getDestination, getMainKey, getOwner, getSecondaryKey, getSource, getValue, isHandled, rollback, setOwner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogItemDataBasketEntry

public CatalogItemDataBasketEntry(CatalogImpl cSource,
                                  CatalogImpl cDest,
                                  CatalogItemImpl ci)
Create a new CatalogItemDataBasketEntry.

Parameters:
cSource - the source Catalog.
cDest - the destination Catalog.
ci - the CatalogItem that was operated on.
Method Detail

setSource

public void setSource(CatalogImpl cSource)
Set the source of the DataBasketEntry.

This method is public as an implementation detail and must not be called directly!

Override:
Never

setDestination

public void setDestination(CatalogImpl cDest)
Set the destination of the DataBasketEntry.

This method is public as an implementation detail and must not be called directly!

Override:
Never

getLogData

public LogEntry getLogData()
Return a LogEntry describing this DataBasketEntry.

Specified by:
getLogData in interface Loggable
Overrides:
getLogData in class DataBasketEntryImpl<Object>
Returns:
the data to be stored in the log file.
Override:
Never

SalesPoint v3.3 API