net.sf.emarket.quote.service
Class QuoteManagerServiceImpl

java.lang.Object
  extended by net.sf.emarket.quote.service.QuoteManagerServiceImpl
All Implemented Interfaces:
IQuoteManagerService

@Service
public class QuoteManagerServiceImpl
extends java.lang.Object
implements IQuoteManagerService


Constructor Summary
QuoteManagerServiceImpl()
           
 
Method Summary
 void addQuote(Quote quote)
           
 Quote deleteQuote(Quote quote)
           
 java.util.List<Quote> getAllQuotes()
           
 Quote getQuote(Quote quote)
           
 Quote getQuote(java.lang.String symbol)
           
 java.util.List<Quote> getQuotes(java.util.List<java.lang.String> symbols)
           
 void setInstrumentManager(IInstrumentManager mgr)
           
 void setQuoteDao(IQuoteDao dao)
           
 Quote updateQuote(Quote newQuote)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuoteManagerServiceImpl

public QuoteManagerServiceImpl()
Method Detail

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.