Modifier and Type | Class and Description |
---|---|
static class |
QuotesDAO.UseMonitor
Enumeration for the two states of aUseMonitor passed to the
constructor.
|
Constructor and Description |
---|
QuotesDAO(QuotesDAO.UseMonitor aUseMonitor,
Collection<Stock> aStocks)
Constructor.
|
public QuotesDAO(QuotesDAO.UseMonitor aUseMonitor, Collection<Stock> aStocks)
aUseMonitor
- indicates if a ProgressMonitor should be used
during fetch operations.aStocks
- is a possibly-empty collection of Stock
objects,
with a definite iteration order.public List<Quote> getQuotes() throws DataAccessException
Quote
objects, whose size and iteration
order matches that of the collection of Stock objects passed to the
constructor; if that collection is empty, then return an empty List; if
a ticker is invalid, then it is still included in the result, but its price
will be zero.DataAccessException
Copyright Hirondelle Systems - License - Generated 2013Sep20.10.58