net.sf.emarket.quote.service
Class QuoteManagerServiceImpl
java.lang.Object
net.sf.emarket.quote.service.QuoteManagerServiceImpl
- All Implemented Interfaces:
- IQuoteManagerService
@Service
public class QuoteManagerServiceImpl
- extends java.lang.Object
- implements IQuoteManagerService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuoteManagerServiceImpl
public QuoteManagerServiceImpl()
setQuoteDao
public void setQuoteDao(IQuoteDao dao)
setInstrumentManager
public void setInstrumentManager(IInstrumentManager mgr)
addQuote
public void addQuote(Quote quote)
- Specified by:
addQuote
in interface IQuoteManagerService
deleteQuote
public Quote deleteQuote(Quote quote)
- Specified by:
deleteQuote
in interface IQuoteManagerService
getQuote
public Quote getQuote(java.lang.String symbol)
- Specified by:
getQuote
in interface IQuoteManagerService
getQuote
public Quote getQuote(Quote quote)
- Specified by:
getQuote
in interface IQuoteManagerService
updateQuote
public Quote updateQuote(Quote newQuote)
- Specified by:
updateQuote
in interface IQuoteManagerService
getAllQuotes
public java.util.List<Quote> getAllQuotes()
- Specified by:
getAllQuotes
in interface IQuoteManagerService
getQuotes
public java.util.List<Quote> getQuotes(java.util.List<java.lang.String> symbols)
throws SymbolsCannotBeEmptyException
- Specified by:
getQuotes
in interface IQuoteManagerService
- Throws:
SymbolsCannotBeEmptyException
Copyright © 2009. All Rights Reserved.