SalesPoint Framework v3.1

data.ooimpl
Class CatalogItemDataBasketEntry

java.lang.Object
  extended bydata.ooimpl.DataBasketEntryImpl
      extended bydata.ooimpl.CatalogItemDataBasketEntry
All Implemented Interfaces:
DataBasketEntry, DataBasketKeys, Loggable, Serializable

public class CatalogItemDataBasketEntry
extends DataBasketEntryImpl

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
Override:
Never

SalesPoint Framework v3.1