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

Packages that use StockItem
org.salespointframework.core This package contains the central classes of the Framework. 
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.filters Contains catalog and stock filters. 
org.salespointframework.core.data.interfaces   
org.salespointframework.desktop   
org.salespointframework.desktop.formsheets   
org.salespointframework.desktop.models   
org.salespointframework.desktop.strategies.dataexchangeformsheet Contains the MoveStrategy classes for TwoTableFormSheets
org.salespointframework.web.movestrategies   
 

Uses of StockItem in org.salespointframework.core
 

Methods in org.salespointframework.core with type parameters of type StockItem
<T extends StockItem,CT extends CatalogItem>
Stock<T,CT>
Shop.getStock(StockIdentifier<T,CT> ciId)
          Look up a Stock in the global Stock list.
 

Uses of StockItem in org.salespointframework.core.data
 

Classes in org.salespointframework.core.data with type parameters of type StockItem
 class StockIdentifier<T extends StockItem,CT extends CatalogItem>
          Identifier class for Stocks.
 

Classes in org.salespointframework.core.data that implement StockItem
 class CountingStockImpl<T extends StockItemImpl,CT extends CatalogItemImpl>
          Pure Java implementation of the CountingStock interface.
 class MoneyBagImpl
          Pure Java implementation of the MoneyBag interface.
 class StockImpl<T,ST extends StockItemImpl,CT extends CatalogItemImpl>
          Pure Java implementation of the Stock interface.
 class StockItemImpl
          Pure Java implementation of the StockItem interface.
 class StoringStockImpl<T extends StockItemImpl,CT extends CatalogItemImpl>
          Pure Java implementation of the StoringStock interface.
 

Fields in org.salespointframework.core.data with type parameters of type StockItem
protected  java.util.Map<java.lang.String,java.util.List<StockItem>> StockFromStockCreatorBT.m_mplsiItemsAdded
          A Map of the items that were added.
 

Methods in org.salespointframework.core.data that return StockItem
 StockItem StoringStockImpl.remove(java.lang.String sKey, DataBasket db)
          Remove one StockItem with the specified key from the Stock.
 StockItem CountingStockImpl.remove(java.lang.String sKey, DataBasket db)
          Remove one StockItem with the specified key from the Stock.
 StockItem CountingStockImpl.remove(T si, DataBasket db)
          Remove the given StockItem from the Stock.
 

Methods in org.salespointframework.core.data with parameters of type StockItem
static DataBasketCondition DataBasketConditionImpl.specificStockItem(StockItem si)
          A DataBasketCondition that matches exactly one given StockItem.
 

Constructors in org.salespointframework.core.data with parameters of type StockItem
StoringStockItemDBEntry(StoringStockImpl sstiSource, StoringStockImpl sstiDest, StockItem siiItem)
          Create a new StoringStockItemDBEntry.
 

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

Classes in org.salespointframework.core.data.events with type parameters of type StockItem
 class StockChangeAdapter<T extends StockItem,CT extends CatalogItem>
          An abstract adapter class for receiving stock change events.
 class StockChangeEvent<T extends StockItem,CT extends CatalogItem>
          Abstract super class of all events indicating changes in a Stock's contents.
 interface StockChangeListener<T extends StockItem,CT extends CatalogItem>
          Listener listening for StockChangeEvents.
 

Uses of StockItem in org.salespointframework.core.data.filters
 

Classes in org.salespointframework.core.data.filters with type parameters of type StockItem
 class AbstractStockFilter<T extends StockItem,CT extends CatalogItem>
          Abstract superclass of all Stock filters.
 class CountingStockFilter<T extends StockItem,CT extends CatalogItem>
          StockFilter for CountingStocks.
 class StoringStockFilter<T extends StockItem,CT extends CatalogItem>
          StockFilter for StoringStocks.
 

Classes in org.salespointframework.core.data.filters that implement StockItem
 class AbstractStockFilter<T extends StockItem,CT extends CatalogItem>
          Abstract superclass of all Stock filters.
 class CountingStockFilter<T extends StockItem,CT extends CatalogItem>
          StockFilter for CountingStocks.
 class MoneyBagFilter
          CountingStockFilter that filters MoneyBags.
 class StoringStockFilter<T extends StockItem,CT extends CatalogItem>
          StockFilter for StoringStocks.
 

Methods in org.salespointframework.core.data.filters that return StockItem
 StockItem AbstractStockFilter.remove(java.lang.String sKey, DataBasket db)
          Remove the given item from the source Stock.
 StockItem AbstractStockFilter.remove(T si, DataBasket db)
          Remove the given item from the source Stock.
 

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

Classes in org.salespointframework.core.data.interfaces with type parameters of type StockItem
 interface CountingStock<T extends StockItem,CT extends CatalogItem>
          A Stock that counts for each CatalogItem in the associated Catalog how many objects of that type are actually available.
 interface ListenableStock<T extends StockItem,CT extends CatalogItem>
          A Stock that will fire events to inform about changes to its contents.
 interface Stock<T extends StockItem,CT extends CatalogItem>
          A Stock.
 interface StoringStock<T extends StockItem,CT extends CatalogItem>
          Tag interface that identifies StoringStocks.
 

Subinterfaces of StockItem in org.salespointframework.core.data.interfaces
 interface CountingStock<T extends StockItem,CT extends CatalogItem>
          A Stock that counts for each CatalogItem in the associated Catalog how many objects of that type are actually available.
 interface ListenableStock<T extends StockItem,CT extends CatalogItem>
          A Stock that will fire events to inform about changes to its contents.
 interface MoneyBag
          Tag interface marking CountingStocks that work together with Currencies.
 interface Stock<T extends StockItem,CT extends CatalogItem>
          A Stock.
 interface StoringStock<T extends StockItem,CT extends CatalogItem>
          Tag interface that identifies StoringStocks.
 

Methods in org.salespointframework.core.data.interfaces that return StockItem
 StockItem Stock.remove(java.lang.String sKey, DataBasket db)
          Remove one StockItem with the specified key from the Stock.
 StockItem Stock.remove(T si, DataBasket db)
          Remove the given StockItem from the Stock.
 

Uses of StockItem in org.salespointframework.desktop
 

Constructor parameters in org.salespointframework.desktop with type arguments of type StockItem
JCountingStockListView(CountingStock<StockItem,CatalogItem> stock)
          default constructor
JCountingStockListView(CountingStock<StockItem,CatalogItem> stock, DataBasket db, java.util.Comparator<CatalogItem> cmp, boolean showZeros, JListView.ListViewOrientation orientation, javax.swing.ListCellRenderer renderer)
          default constructor
JCountingStockListView(CountingStock<StockItem,CatalogItem> stock, DataBasket db, java.util.Comparator<CatalogItem> cmp, boolean showZeros, JListView.ListViewOrientation orientation, javax.swing.ListCellRenderer renderer, boolean categorize, Category defaultCategory)
          default constructor
JStoringStockListView(Stock<StockItem,CatalogItem> stock)
          default constructor
JStoringStockListView(Stock stock, DataBasket db, java.util.Comparator<StockItem> cmp, JListView.ListViewOrientation orientation, javax.swing.ListCellRenderer renderer)
          default constructor
JStoringStockListView(Stock stock, DataBasket db, java.util.Comparator<StockItem> cmp, JListView.ListViewOrientation orientation, javax.swing.ListCellRenderer renderer, boolean categorize, Category defaultCategory)
          default constructor
JStoringStockTable(Stock st, DataBasket db, java.util.Comparator<StockItem> cmp, TableEntryDescriptor ted)
          Create a new JStoringStockTable.
 

Uses of StockItem in org.salespointframework.desktop.formsheets
 

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

Uses of StockItem in org.salespointframework.desktop.models
 

Fields in org.salespointframework.desktop.models with type parameters of type StockItem
protected  java.util.Comparator<StockItem> StoringStockListModel.cmp
          comparator for sorting
protected  java.util.Comparator<StockItem> StoringStockTableModel.m_cmpComparator
          The Comparator that defines the sorting order of records in the model.
protected  java.util.List<StockItem> StoringStockTableModel.m_lItems
          The internal model.
 

Constructor parameters in org.salespointframework.desktop.models with type arguments of type StockItem
CountingStockListModel(CountingStock<StockItem,CatalogItem> stock, DataBasket db, java.util.Comparator<CatalogItem> cmp, boolean showZeros)
          constructor
CountingStockListModel(CountingStock<StockItem,CatalogItem> stock, DataBasket db, java.util.Comparator<CatalogItem> cmp, boolean showZeros, boolean categorize, Category defaultCategory)
          constructor
StoringStockListModel(Stock stock, DataBasket db, java.util.Comparator<StockItem> cmp)
          default constructor
StoringStockListModel(Stock stock, DataBasket db, java.util.Comparator<StockItem> cmp, boolean categorize, Category defaultCategory)
          constructor
StoringStockTableModel(Stock st, DataBasket db, java.util.Comparator<StockItem> cmp, TableEntryDescriptor ted)
          Create a new StoringStockTableModel.
 

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

Methods in org.salespointframework.desktop.strategies.dataexchangeformsheet that return StockItem
protected abstract  StockItem CSSStrategy.createStockItem(SaleProcess p, SalesPoint sp, Catalog cSource, StoringStock ssDest, DataBasket db, CatalogItem ci)
          Create a fresh StockItem following the specifications given.
 

Methods in org.salespointframework.desktop.strategies.dataexchangeformsheet with parameters of type StockItem
protected  int SSSSStrategy.checkMove(SaleProcess p, SalesPoint sp, StoringStock ssSource, StoringStock ssDest, DataBasket db, StockItem si)
          Check whether the indicated move is allowable.
protected  int SSDBStrategy.checkMoveToDest(SaleProcess p, SalesPoint sp, StoringStock ssSource, DataBasket dbDest, StockItem si)
          Check whether the indicated move is allowable.
protected  int CSSStrategy.checkMoveToSource(SaleProcess p, SalesPoint sp, Catalog cSource, StoringStock ssDest, DataBasket db, StockItem si)
          Check whether the indicated move is allowable.
protected  int DBSSStrategy.checkMoveToSource(SaleProcess p, SalesPoint sp, DataBasket dbSource, StoringStock ssDest, StockItem si)
          Check whether the indicated move is allowable.
protected  Gate SSSSStrategy.getCheckMoveGate(SaleProcess p, SalesPoint sp, StoringStock ssSource, StoringStock ssDest, DataBasket db, StockItem si, DataExchangeFormSheet ttfs)
          Get the first gate of a sub-process that will move items from one Stock into another.
protected  Gate SSDBStrategy.getCheckMoveToDestGate(SaleProcess p, SalesPoint sp, StoringStock ssSource, DataBasket dbDest, StockItem si, DataExchangeFormSheet ttfs)
          Get the first gate of the sub-process that will move items from the source to the destination.
protected  Gate SSSSStrategy.getCheckMoveToDestGate(SaleProcess p, SalesPoint sp, StoringStock ssSource, StoringStock ssDest, DataBasket db, StockItem si, DataExchangeFormSheet ttfs)
          Get the first gate of the sub-process that will move items from the source to the destination.
protected  Gate CSSStrategy.getCheckMoveToSourceGate(SaleProcess p, SalesPoint sp, Catalog cSource, StoringStock ssDest, DataBasket db, StockItem si, DataExchangeFormSheet ttfs)
          Get the first gate of the sub-process that will move items from the destination to the source.
protected  Gate DBSSStrategy.getCheckMoveToSourceGate(SaleProcess p, SalesPoint sp, DataBasket dbSource, StoringStock ssDest, StockItem si, DataExchangeFormSheet ttfs)
          Get the first gate of the sub-process that will move items from the destination to the source.
protected  Gate SSSSStrategy.getCheckMoveToSourceGate(SaleProcess p, SalesPoint sp, StoringStock ssSource, StoringStock ssDest, DataBasket db, StockItem si, DataExchangeFormSheet ttfs)
          Get the first gate of the sub-process that will move items from the destination to the source.
 Transition SSDBStrategy.getMoveToDestProcess(SaleProcess p, SalesPoint sp, StoringStock ssSource, DataBasket dbDest, StockItem si, DataExchangeFormSheet ttfs)
          Get the sub-process that will move items from the source to the destination.
 Transition SSSSStrategy.getMoveToDestProcess(SaleProcess p, SalesPoint sp, StoringStock ssSource, StoringStock ssDest, DataBasket db, StockItem si, DataExchangeFormSheet ttfs)
          Get the sub-process that will move items from the source to the destination.
 Transition CSSStrategy.getMoveToSourceProcess(SaleProcess p, SalesPoint sp, Catalog cSource, StoringStock ssDest, DataBasket db, StockItem si, DataExchangeFormSheet ttfs)
          Get the sub-process that will move items from the destination to the source.
 Transition DBSSStrategy.getMoveToSourceProcess(SaleProcess p, SalesPoint sp, DataBasket dbSource, StoringStock ssDest, StockItem si, DataExchangeFormSheet ttfs)
          Get the sub-process that will move items from the destination to the source.
 Transition SSSSStrategy.getMoveToSourceProcess(SaleProcess p, SalesPoint sp, StoringStock ssSource, StoringStock ssDest, DataBasket db, StockItem si, DataExchangeFormSheet ttfs)
          Get the sub-process that will move items from the destination to the source.
protected  void SSSSStrategy.moveImpl(SaleProcess p, SalesPoint sp, StoringStock ssSource, StoringStock ssDest, DataBasket db, StockItem si)
          Move the indicated item from the source StoringStock into the destination StoringStock.
protected  void CSSStrategy.moveToDest(SaleProcess p, SalesPoint sp, Catalog cSource, StoringStock ssDest, DataBasket db, StockItem si)
          Move the item as indicated into the destination Stock.
protected  void SSDBStrategy.moveToDest(SaleProcess p, SalesPoint sp, StoringStock ssSource, DataBasket dbDest, StockItem si)
          Move the indicated item from the source Stock.
protected  void CSSStrategy.moveToSource(SaleProcess p, SalesPoint sp, Catalog cSource, StoringStock ssDest, DataBasket db, StockItem si)
          Move the indicated item as indicated from the destination Stock.
protected  void DBSSStrategy.moveToSource(SaleProcess p, SalesPoint sp, DataBasket dbSource, StoringStock ssDest, StockItem si)
          Move the indicated item from the destination Stock.
 

Uses of StockItem in org.salespointframework.web.movestrategies
 

Methods in org.salespointframework.web.movestrategies that return StockItem
protected abstract  StockItem CSSStrategy.createStockItem(CatalogItem ci)
           
protected  StockItem CSSStrategy.createStockItem(SaleProcess p, SalesPoint sp, Catalog cSource, StoringStock ssDest, DataBasket db, CatalogItem ci)
           
protected abstract  StockItem SSCSStrategy.createStockItem(StockItem ci)
           
protected abstract  StockItem CSSSStrategy.createStockItem(StockItem ci)
           
 

Methods in org.salespointframework.web.movestrategies with parameters of type StockItem
protected abstract  StockItem SSCSStrategy.createStockItem(StockItem ci)
           
protected abstract  StockItem CSSSStrategy.createStockItem(StockItem ci)