Uses of Interface
org.salespointframework.core.data.interfaces.DataBasketEntry

Packages that use DataBasketEntry
org.salespointframework.core.data Provides interfaces for data management. 
org.salespointframework.core.data.events Provides classes and interfaces for events triggered by classes in the data package and its sub-packages. 
org.salespointframework.core.data.interfaces   
org.salespointframework.desktop   
org.salespointframework.desktop.dnd This package contains the drag'n drop interfaces and classes. 
org.salespointframework.desktop.formsheets   
org.salespointframework.desktop.models   
org.salespointframework.desktop.renderer   
org.salespointframework.desktop.strategies.dataexchangeformsheet Contains the MoveStrategy classes for TwoTableFormSheets
 

Uses of DataBasketEntry in org.salespointframework.core.data
 

Classes in org.salespointframework.core.data that implement DataBasketEntry
 class CatalogItemDataBasketEntry
          A DataBasketEntry representing operations on CatalogImpls and CatalogItemImpls.
 class CountingStockItemDBEntry
          DataBasketEntry describing operations with CountingStock's items.
 class DataBasketEntryImpl<T>
          Basic simple implementation of the DataBasketEntry interface.
 class StockItemDBEntry
          DataBasketEntry that represents an operation with StockItems.
 class StoringStockItemDBEntry
          DataBasketEntry that describes operations with StoringStock's items.
 

Methods in org.salespointframework.core.data that return DataBasketEntry
 DataBasketEntry DataBasketImpl.get(DataBasketCondition dbc)
          Get the first entry in the DataBasket that matches the condition.
 DataBasketEntry DataBasketImpl.SubDataBasket.get(DataBasketCondition dbc)
          Get the first entry in this subbasket that matches the condition, if any.
 

Methods in org.salespointframework.core.data that return types with arguments of type DataBasketEntry
 java.util.Iterator<DataBasketEntry> DataBasketImpl.iterator(DataBasketCondition dbc)
          Iterate all entries in all subbaskets that match the condition.
<T> java.util.Iterator<DataBasketEntry>
DataBasketImpl.SubDataBasket.iterator(DataBasketCondition<T> dbc, boolean fAllowRemove, boolean fShowHandled)
          Iterate all entries in the subbasket that match the given condition.
 java.util.Iterator<DataBasketEntry> DataBasketImpl.subBasketIterator(java.lang.String sName, DataBasketCondition dbc)
          Iterate all entries in a given subbasket that match the given condition.
 

Methods in org.salespointframework.core.data with parameters of type DataBasketEntry
 void CountingStockImpl.commitAdd(DataBasket db, DataBasketEntry dbe)
          Commit the adding of StockItems.
 void StoringStockImpl.commitAdd(DataBasket db, DataBasketEntry<T> dbe)
          Commit the adding of a StockItem.
 void SelfManagingDBEDestination.commitAdd(DataBasket db, DataBasketEntry<T> dbe)
          Called when an add must be commited.
 void CatalogImpl.commitAdd(DataBasket db, DataBasketEntry<T> dbe)
          Commit the adding of a CatalogItem.
 void CountingStockImpl.commitRemove(DataBasket db, DataBasketEntry dbe)
          Commit the removal of StockItems.
 void StoringStockImpl.commitRemove(DataBasket db, DataBasketEntry<T> dbe)
          Commit the removal of a StockItem.
 void SelfManagingDBESource.commitRemove(DataBasket db, DataBasketEntry<T> dbe)
          Called when a remove must be rolled back.
 void CatalogImpl.commitRemove(DataBasket db, DataBasketEntry<T> dbe)
          Commit the removal of a CatalogItem.
static CatalogItem DataBasketEntryImpl.DBEtoCatalogItem(DataBasketEntry dbe)
          Extracts the catalog item out of a data basket entry
 void DataBasketImpl.exchange(DataBasketEntry dbeOrg, DataBasketEntry dbeNew)
          Exchange a DataBasketEntry with another.
 void DataBasketImpl.exchange(DataBasketEntry dbeOrg, DataBasketEntry dbeNew)
          Exchange a DataBasketEntry with another.
protected  void DataBasketImpl.fireDBEAdded(DataBasketEntry dbe)
          Fire an event to all listeners listening to this DataBasket.
protected  void DataBasketImpl.fireDBERemoved(DataBasketEntry dbe)
          Fire an event to all listeners listening to this DataBasket.
 boolean DataBasketConditionImpl.match(DataBasketEntry<T> dbe)
          As a default, always returns true.
protected  void StockImpl.prepareReferentialIntegrity(DataBasket db, DataBasketEntry dbe)
          Helper method to be called in the beginning of commitAdd and rollbackRemove.
 void DataBasketImpl.put(DataBasketEntry dbe)
          Put a DataBasketEntry into the current subbasket.
 void CountingStockImpl.rollbackAdd(DataBasket db, DataBasketEntry dbe)
          Rollback the adding of StockItems.
 void StoringStockImpl.rollbackAdd(DataBasket db, DataBasketEntry<T> dbe)
          Rollback the adding of a StockItem.
 void SelfManagingDBEDestination.rollbackAdd(DataBasket db, DataBasketEntry<T> dbe)
          Called when an add must be rolled back.
 void CatalogImpl.rollbackAdd(DataBasket db, DataBasketEntry<T> dbe)
          Roll back the adding of a CatalogItem.
 void CountingStockImpl.rollbackRemove(DataBasket db, DataBasketEntry dbe)
          Rollback the removal of StockItems.
 void StoringStockImpl.rollbackRemove(DataBasket db, DataBasketEntry<T> dbe)
          Rollback the removal of a StockItem.
 void SelfManagingDBESource.rollbackRemove(DataBasket db, DataBasketEntry<T> dbe)
          Called when a remove must be commited.
 void CatalogImpl.rollbackRemove(DataBasket db, DataBasketEntry<T> dbe)
          Roll back the removal of a CatalogItem.
 

Uses of DataBasketEntry in org.salespointframework.core.data.events
 

Methods in org.salespointframework.core.data.events that return DataBasketEntry
 DataBasketEntry DataBasketEvent.getAffectedEntry()
          Get the affected DataBasketEntry.
 

Constructors in org.salespointframework.core.data.events with parameters of type DataBasketEntry
DataBasketEvent(DataBasket dbSource, DataBasketEntry dbe)
          Create a new DataBasketEvent.
 

Uses of DataBasketEntry in org.salespointframework.core.data.interfaces
 

Methods in org.salespointframework.core.data.interfaces that return DataBasketEntry
 DataBasketEntry DataBasket.get(DataBasketCondition dbc)
          Get the first entry found that matches the given condition.
 

Methods in org.salespointframework.core.data.interfaces that return types with arguments of type DataBasketEntry
 java.util.Iterator<DataBasketEntry> DataBasket.iterator(DataBasketCondition dbc)
          Iterate the contents of this DataBasket.
 java.util.Iterator<DataBasketEntry> DataBasket.subBasketIterator(java.lang.String sName, DataBasketCondition dbc)
          Iterate the contents of a given SubBasket.
 

Methods in org.salespointframework.core.data.interfaces with parameters of type DataBasketEntry
 void DataBasket.exchange(DataBasketEntry dbeOrg, DataBasketEntry dbeNew)
          Exchange a DataBasketEntry existing in the DataBasket with a new one.
 void DataBasket.exchange(DataBasketEntry dbeOrg, DataBasketEntry dbeNew)
          Exchange a DataBasketEntry existing in the DataBasket with a new one.
 Value BasketEntryValue.getEntryValue(DataBasketEntry dbe)
          Get a DataBasketEntry's value.
 boolean DataBasketCondition.match(DataBasketEntry<T> dbe)
          Return true for DataBasketEntries that match the condition.
 void DataBasket.put(DataBasketEntry dbe)
          Put an entry into the DataBasket's current subbasket.
 

Uses of DataBasketEntry in org.salespointframework.desktop
 

Methods in org.salespointframework.desktop that return DataBasketEntry
 DataBasketEntry NOPDataBasketEntryGrouper.group(DataBasketEntry dbe1, DataBasketEntry dbe2)
          Returns dbe1.
 DataBasketEntry DataBasketEntryGrouper.group(DataBasketEntry dbe1, DataBasketEntry dbe2)
          Group the two given DataBaskeEntries and return the resulting, more general entry.
 DataBasketEntry CountingStockDBEGrouper.group(DataBasketEntry dbe1, DataBasketEntry dbe2)
          Return a new DataBasketEntry with the same main and secondary key, source and destination as dbe1 and a value of dbe1.getValue() + dbe2.getValue().
 

Methods in org.salespointframework.desktop with parameters of type DataBasketEntry
 boolean NOPDataBasketEntryGrouper.canGroup(DataBasketEntry dbe1, DataBasketEntry dbe2)
          Returns false.
 boolean NOPDataBasketEntryGrouper.canGroup(DataBasketEntry dbe1, DataBasketEntry dbe2)
          Returns false.
 boolean DataBasketEntryGrouper.canGroup(DataBasketEntry dbe1, DataBasketEntry dbe2)
          Return true to indicate that the two entries are conceptually part of one more general entry and that they must be grouped together.
 boolean DataBasketEntryGrouper.canGroup(DataBasketEntry dbe1, DataBasketEntry dbe2)
          Return true to indicate that the two entries are conceptually part of one more general entry and that they must be grouped together.
 boolean CountingStockDBEGrouper.canGroup(DataBasketEntry dbe1, DataBasketEntry dbe2)
          Return true if dbe1 and dbe2 have the same main and secondary key as well as the same source and destination and both values contain an Integer object.
 boolean CountingStockDBEGrouper.canGroup(DataBasketEntry dbe1, DataBasketEntry dbe2)
          Return true if dbe1 and dbe2 have the same main and secondary key as well as the same source and destination and both values contain an Integer object.
 DataBasketEntry NOPDataBasketEntryGrouper.group(DataBasketEntry dbe1, DataBasketEntry dbe2)
          Returns dbe1.
 DataBasketEntry NOPDataBasketEntryGrouper.group(DataBasketEntry dbe1, DataBasketEntry dbe2)
          Returns dbe1.
 DataBasketEntry DataBasketEntryGrouper.group(DataBasketEntry dbe1, DataBasketEntry dbe2)
          Group the two given DataBaskeEntries and return the resulting, more general entry.
 DataBasketEntry DataBasketEntryGrouper.group(DataBasketEntry dbe1, DataBasketEntry dbe2)
          Group the two given DataBaskeEntries and return the resulting, more general entry.
 DataBasketEntry CountingStockDBEGrouper.group(DataBasketEntry dbe1, DataBasketEntry dbe2)
          Return a new DataBasketEntry with the same main and secondary key, source and destination as dbe1 and a value of dbe1.getValue() + dbe2.getValue().
 DataBasketEntry CountingStockDBEGrouper.group(DataBasketEntry dbe1, DataBasketEntry dbe2)
          Return a new DataBasketEntry with the same main and secondary key, source and destination as dbe1 and a value of dbe1.getValue() + dbe2.getValue().
 

Constructor parameters in org.salespointframework.desktop with type arguments of type DataBasketEntry
JDataBasketListView(DataBasket db, DataBasketCondition dbc, java.util.Comparator<DataBasketEntry> cmp, JListView.ListViewOrientation orientation, javax.swing.ListCellRenderer renderer)
          default constructor
JDataBasketListView(DataBasket db, DataBasketCondition dbc, java.util.Comparator<DataBasketEntry> cmp, JListView.ListViewOrientation orientation, javax.swing.ListCellRenderer renderer, boolean categorize, Category defaultCategory, DataBasketEntryGrouper dbeg)
          default constructor
JDataBasketTable(DataBasket db, DataBasketCondition dbc, DataBasketEntryGrouper dbeg, java.util.Comparator<DataBasketEntry> cmp, TableEntryDescriptor ted)
          Create a new JDataBasketTable.
 

Uses of DataBasketEntry in org.salespointframework.desktop.dnd
 

Fields in org.salespointframework.desktop.dnd declared as DataBasketEntry
 DataBasketEntry DefaultListViewDnDMotionComponent.ShadowCountingStockItemDBEntry.dbe
           
 

Constructors in org.salespointframework.desktop.dnd with parameters of type DataBasketEntry
DefaultListViewDnDMotionComponent.ShadowCountingStockItemDBEntry(DataBasketEntry dbe)
           
 

Uses of DataBasketEntry in org.salespointframework.desktop.formsheets
 

Method parameters in org.salespointframework.desktop.formsheets with type arguments of type DataBasketEntry
static SingleTableFormSheet SingleTableFormSheet.create(java.lang.String sCaption, DataBasket db, UIGate uigGate, java.util.Comparator<DataBasketEntry> cmp, TableEntryDescriptor ted)
          Create and return a new SingleTableFormSheet that will display the contents of a DataBasket.
static SingleTableFormSheet SingleTableFormSheet.create(java.lang.String sCaption, DataBasket db, UIGate uigGate, DataBasketCondition dbc, java.util.Comparator<DataBasketEntry> cmp, TableEntryDescriptor ted)
          Create and return a new SingleTableFormSheet that will display the contents of a DataBasket.
static SingleTableFormSheet SingleTableFormSheet.create(java.lang.String sCaption, DataBasket db, UIGate uigGate, DataBasketCondition dbc, DataBasketEntryGrouper dbeg, java.util.Comparator<DataBasketEntry> cmp, TableEntryDescriptor ted)
          Create and return a new SingleTableFormSheet that will display the contents of a DataBasket.
static SingleTableFormSheet SingleTableFormSheet.create(java.lang.String sCaption, DataBasket db, UIGate uigGate, DataBasketEntryGrouper dbeg, java.util.Comparator<DataBasketEntry> cmp, TableEntryDescriptor ted)
          Create and return a new SingleTableFormSheet that will display the contents of a DataBasket.
static ListViewFormSheet ListViewFormSheet.create(java.lang.String caption, UIGate uiGate, DataBasket db, DataBasketCondition dbc, java.util.Comparator<DataBasketEntry> cmp, JListView.ListViewOrientation orientation, javax.swing.ListCellRenderer renderer)
          creates a new instance of ListViewFormSheet from a DataBasket source
static ListViewFormSheet ListViewFormSheet.create(java.lang.String caption, UIGate uiGate, DataBasket db, DataBasketCondition dbc, java.util.Comparator<DataBasketEntry> cmp, JListView.ListViewOrientation orientation, javax.swing.ListCellRenderer renderer, boolean categorize, Category defaulCategory, DataBasketEntryGrouper dbeg)
          creates a new instance of ListViewFormSheet from a DataBasket source
 

Uses of DataBasketEntry in org.salespointframework.desktop.models
 

Fields in org.salespointframework.desktop.models with type parameters of type DataBasketEntry
protected  java.util.Comparator<DataBasketEntry> DataBasketListModel.cmp
          Comparator used for sorting
protected  java.util.Comparator<DataBasketEntry> DataBasketTableModel.m_cmpComparator
          The Comparator that defines the sorting order of records in the model.
protected  java.util.List<DataBasketEntry> DataBasketTableModel.m_lEntries
          The internal model.
 

Constructor parameters in org.salespointframework.desktop.models with type arguments of type DataBasketEntry
DataBasketListModel(DataBasket db, DataBasketCondition dbc, java.util.Comparator<DataBasketEntry> cmp)
          constrcutor
DataBasketListModel(DataBasket db, DataBasketCondition dbc, java.util.Comparator<DataBasketEntry> cmp, boolean categorize, Category defaultCategory, DataBasketEntryGrouper dbeg)
          constructor
DataBasketTableModel(DataBasket db, DataBasketCondition dbc, DataBasketEntryGrouper dbeg, java.util.Comparator<DataBasketEntry> cmp, TableEntryDescriptor ted)
          Create a new DataBasketTableModel.
 

Uses of DataBasketEntry in org.salespointframework.desktop.renderer
 

Methods in org.salespointframework.desktop.renderer that return DataBasketEntry
protected  DataBasketEntry DataBasketListViewRenderer.getDBE(AbstractListViewRenderer.RenderContext renderContext)
          extract DataBasketEntry
 

Uses of DataBasketEntry in org.salespointframework.desktop.strategies.dataexchangeformsheet
 

Methods in org.salespointframework.desktop.strategies.dataexchangeformsheet with parameters of type DataBasketEntry
protected  int DBCSStrategy.checkMoveToDest(SaleProcess p, SalesPoint sp, DataBasket dbSource, CountingStock csDest, DataBasketEntry dbe, int nCount)
          Check whether the indicated move is allowable.
protected  int DBSSStrategy.checkMoveToDest(SaleProcess p, SalesPoint sp, DataBasket dbSource, StoringStock ssDest, DataBasketEntry dbe)
          Check whether the indicated move is allowable.
protected  int CSDBStrategy.checkMoveToSource(SaleProcess p, SalesPoint sp, CountingStock csSource, DataBasket dbDest, DataBasketEntry dbe, int nCount)
          Check whether the indicated move is allowable.
protected  int SSDBStrategy.checkMoveToSource(SaleProcess p, SalesPoint sp, StoringStock ssSource, DataBasket dbDest, DataBasketEntry dbe)
          Check whether the indicated move is allowable.
protected  Gate DBCSStrategy.getCheckMoveToDestGate(SaleProcess p, SalesPoint sp, DataBasket dbSource, CountingStock csDest, DataBasketEntry dbe, int nCount, DataExchangeFormSheet ttfs)
          Get the first gate of the sub-process that will move items from the source to the destination.
protected  Gate DBSSStrategy.getCheckMoveToDestGate(SaleProcess p, SalesPoint sp, DataBasket dbSource, StoringStock ssDest, DataBasketEntry dbe, DataExchangeFormSheet ttfs)
          Get the first gate of the sub-process that will move items from the source to the destination.
protected  Gate CSDBStrategy.getCheckMoveToSourceGate(SaleProcess p, SalesPoint sp, CountingStock csSource, DataBasket dbDest, DataBasketEntry dbe, int nCount, DataExchangeFormSheet ttfs)
          Get the first gate of the sub-process that will move items from the destination to the source.
protected  Gate SSDBStrategy.getCheckMoveToSourceGate(SaleProcess p, SalesPoint sp, StoringStock ssSource, DataBasket dbDest, DataBasketEntry dbe, DataExchangeFormSheet ttfs)
          Get the first gate of the sub-process that will move items from the destination to the source.
 Transition DBCSStrategy.getMoveToDestProcess(SaleProcess p, SalesPoint sp, DataBasket dbSource, CountingStock csDest, DataBasketEntry dbe, int nCount, DataExchangeFormSheet ttfs)
          Get the sub-process that will move items from the source to the destination.
 Transition DBSSStrategy.getMoveToDestProcess(SaleProcess p, SalesPoint sp, DataBasket dbSource, StoringStock ssDest, DataBasketEntry dbe, DataExchangeFormSheet ttfs)
          Get the sub-process that will move items from the source to the destination.
 Transition CSDBStrategy.getMoveToSourceProcess(SaleProcess p, SalesPoint sp, CountingStock csSource, DataBasket dbDest, DataBasketEntry dbe, int nCount, DataExchangeFormSheet ttfs)
          Get the sub-process that will move items from the destination to the source.
 Transition SSDBStrategy.getMoveToSourceProcess(SaleProcess p, SalesPoint sp, StoringStock ssSource, DataBasket dbDest, DataBasketEntry dbe, DataExchangeFormSheet ttfs)
          Get the sub-process that will move items from the destination to the source.
protected  void DBCSStrategy.moveToDest(SaleProcess p, SalesPoint sp, DataBasket dbSource, CountingStock csDest, DataBasketEntry dbe, int nCount)
          Move the indicated number of items as indicated into the destination Stock.
protected  void DBSSStrategy.moveToDest(SaleProcess p, SalesPoint sp, DataBasket dbSource, StoringStock ssDest, DataBasketEntry dbe)
          Move the indicated item into the destination Stock.
protected  void CSDBStrategy.moveToSource(SaleProcess p, SalesPoint sp, CountingStock csSource, DataBasket dbDest, DataBasketEntry dbe, int nCount)
          Move the indicated number of items as indicated from the source into the destination.
protected  void SSDBStrategy.moveToSource(SaleProcess p, SalesPoint sp, StoringStock ssSource, DataBasket dbDest, DataBasketEntry dbe)
          Move the indicated item into the source Stock.