net.sf.emarket.quote.repository
Class JdbcQuoteDaoImpl
java.lang.Object
net.sf.emarket.quote.repository.JdbcQuoteDaoImpl
- All Implemented Interfaces:
- IQuoteDao
@Repository
public class JdbcQuoteDaoImpl
- extends java.lang.Object
- implements IQuoteDao
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbcQuoteDaoImpl
public JdbcQuoteDaoImpl()
createTemplate
public void createTemplate(@Qualifier(value="jdbcDataSource")
javax.sql.DataSource jdbcDatasource)
addQuote
public void addQuote(Quote quote)
- Specified by:
addQuote
in interface IQuoteDao
addQuoteHistory
public void addQuoteHistory(Quote quote)
- Specified by:
addQuoteHistory
in interface IQuoteDao
deleteQuote
public Quote deleteQuote(Quote quote)
- Specified by:
deleteQuote
in interface IQuoteDao
getQuote
public Quote getQuote(java.lang.String symbol)
- Specified by:
getQuote
in interface IQuoteDao
getQuote
public Quote getQuote(Quote q)
- Specified by:
getQuote
in interface IQuoteDao
updateQuote
public Quote updateQuote(Quote quote)
- Specified by:
updateQuote
in interface IQuoteDao
generateQuoteId
public long generateQuoteId()
- Specified by:
generateQuoteId
in interface IQuoteDao
getAllQuotes
public java.util.List<Quote> getAllQuotes()
- Specified by:
getAllQuotes
in interface IQuoteDao
getQuotes
public java.util.List<Quote> getQuotes(java.util.List<java.lang.String> symbols)
- Specified by:
getQuotes
in interface IQuoteDao
Copyright © 2009. All Rights Reserved.