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

Packages that use Stock
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.filters Contains catalog and stock filters. 
org.salespointframework.core.data.interfaces   
org.salespointframework.desktop   
org.salespointframework.desktop.models   
 

Uses of Stock in org.salespointframework.core
 

Methods in org.salespointframework.core that return Stock
<T extends StockItem,CT extends CatalogItem>
Stock<T,CT>
Shop.getStock(StockIdentifier<T,CT> ciId)
          Look up a Stock in the global Stock list.
 Stock Shop.getStock(java.lang.String sName)
          Look up a Stock in the global Stock list.
 Stock Shop.ProcessHandle.getStock(java.lang.String sName)
           
 Stock SalesPoint.getStock(java.lang.String sName)
          Return a Stock for a given name.
 Stock ProcessContext.getStock(java.lang.String sName)
          Get a Stock by its name.
 Stock Shop.removeStock(java.lang.String sName)
          Remove a Stock from the global list of Stocks.
 

Methods in org.salespointframework.core with parameters of type Stock
 void Shop.addStock(Stock<?,?> st)
          Add a Stock to the global list of Stocks.
 

Uses of Stock in org.salespointframework.core.data
 

Classes in org.salespointframework.core.data that implement Stock
 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 StoringStockImpl<T extends StockItemImpl,CT extends CatalogItemImpl>
          Pure Java implementation of the StoringStock interface.
 

Fields in org.salespointframework.core.data declared as Stock
protected  Stock StockFromStockCreator.m_stSource
          The source Stock.
 

Methods in org.salespointframework.core.data with parameters of type Stock
 void StockImpl.addStock(Stock<ST,CT> st, DataBasket db, boolean fRemove)
          Add the contents of a Stock to this Stock.
 void CountingStockImpl.addStock(Stock<T,CT> st, DataBasket db, boolean fRemove)
          Overridden for efficiency reasons.
static DataBasketCondition DataBasketConditionImpl.allStockItemsWithDest(Stock stDest)
          A DataBasketCondition that matches all entries that describe StockItems being entered into the given Stock.
static DataBasketCondition DataBasketConditionImpl.allStockItemsWithSource(Stock stSource)
          A DataBasketCondition that matches all entries that describe StockItems being taken from the given Stock.
 boolean StockImpl.containsStock(Stock<ST,CT> st, DataBasket db)
          Check whether the given Stock is completely contained in this Stock.
 boolean CountingStockImpl.containsStock(Stock<T,CT> st, DataBasket db)
          Reimplemented for efficiency reasons.
protected  Value StockFromStockCreatorBT.doFill(int nIdx, Value v, Stock st, DataBasket db)
          Backtracking step method.
 Value StockFromStockCreatorBT.fillStock(Stock st, Value v, DataBasket db)
          Fill the destination Stock using the same algorithm as in StockFromStockCreator.fillStock(org.salespointframework.core.data.interfaces.Stock, org.salespointframework.core.data.interfaces.Value, org.salespointframework.core.data.interfaces.DataBasket), but with backtracking.
 Value StockFromStockCreator.fillStock(Stock st, Value v, DataBasket db)
          Try to fill the given Stock using only items from the source Stock.
 Value DefaultCountingStockFromValueCreator.fillStock(Stock st, Value v, DataBasket db)
          This StockFromValueCreator assumes a potentially infinite source of available items and adds exactly as many items of each type (i.e.
protected  void StockFromStockCreatorBT.undoFill(int nIdx, Value v, Stock st, DataBasket db)
          Backtracking back-step method.
 

Constructors in org.salespointframework.core.data with parameters of type Stock
StockFromStockCreator(Stock stSource, CatalogItemValue civ)
          Create a new StockFromStockCreator.
StockFromStockCreatorBT(Stock stSource, CatalogItemValue civ)
          Create a new StockFromStockCreatorBT.
 

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

Classes in org.salespointframework.core.data.filters that implement Stock
 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.
 

Fields in org.salespointframework.core.data.filters declared as Stock
protected  Stock<T,CT> AbstractStockFilter.m_stSource
          The Stock that gets filtered.
 

Methods in org.salespointframework.core.data.filters that return Stock
 Stock AbstractStockFilter.getMainStock()
          Get the source stock.
 Stock AbstractStockFilter.getStock()
          Get the source Stock's Stock.
 

Methods in org.salespointframework.core.data.filters with parameters of type Stock
 void AbstractStockFilter.addStock(Stock<T,CT> st, DataBasket db, boolean fRemove)
          Add the given Stock to the source Stock.
 boolean StoringStockFilter.containsStock(Stock<T,CT> st, DataBasket db)
          Check whether the given Stock is contained in the filtered Stock.
 boolean CountingStockFilter.containsStock(Stock<T,CT> st, DataBasket db)
          Check whether the filtered Stock contains the given Stock.
 

Constructors in org.salespointframework.core.data.filters with parameters of type Stock
AbstractStockFilter(Stock<T,CT> stSource)
          Create a new AbstractStockFilter.
 

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

Subinterfaces of Stock 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 StoringStock<T extends StockItem,CT extends CatalogItem>
          Tag interface that identifies StoringStocks.
 

Methods in org.salespointframework.core.data.interfaces that return Stock
 Stock StockItem.getStock()
          Get the Stock that contains this StockItem.
 

Methods in org.salespointframework.core.data.interfaces with parameters of type Stock
 void Stock.addStock(Stock<T,CT> st, DataBasket db, boolean fRemove)
          Add the contents of a Stock to this Stock.
 boolean Stock.containsStock(Stock<T,CT> st, DataBasket db)
          Check whether the given Stock is completely contained in this Stock.
 Value StockFromValueCreator.fillStock(Stock st, Value v, DataBasket db)
          The actual algorithm.
 

Uses of Stock in org.salespointframework.desktop
 

Constructors in org.salespointframework.desktop with parameters of type Stock
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 Stock in org.salespointframework.desktop.models
 

Fields in org.salespointframework.desktop.models declared as Stock
protected  Stock StoringStockTableModel.m_stModel
          The Stock that is being modelled.
protected  Stock StoringStockListModel.stock
          StoringStock source
 

Constructors in org.salespointframework.desktop.models with parameters of type Stock
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.