net.sf.emarket.trade.repository
Class JdbcOrderBookDaoImpl
java.lang.Object
net.sf.emarket.trade.repository.JdbcOrderBookDaoImpl
- All Implemented Interfaces:
- java.io.Serializable, IOrderBookDao
@Repository
public class JdbcOrderBookDaoImpl
- extends java.lang.Object
- implements IOrderBookDao
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbcOrderBookDaoImpl
public JdbcOrderBookDaoImpl()
createTemplate
public void createTemplate(@Qualifier(value="jdbcDataSource")
javax.sql.DataSource jdbcDatasource)
addOrder
public void addOrder(ReceivedOrder order)
- Specified by:
addOrder
in interface IOrderBookDao
deleteOrder
public void deleteOrder(ReceivedOrder order)
- Specified by:
deleteOrder
in interface IOrderBookDao
updateOrder
public void updateOrder(ReceivedOrder order)
- Specified by:
updateOrder
in interface IOrderBookDao
getOrderById
public ReceivedOrder getOrderById(java.lang.String orderId)
- Specified by:
getOrderById
in interface IOrderBookDao
getOrdersBySymbol
public java.util.List<ReceivedOrder> getOrdersBySymbol(java.lang.String symbol)
- Specified by:
getOrdersBySymbol
in interface IOrderBookDao
getOrdersBySymbolAndType
public java.util.List<ReceivedOrder> getOrdersBySymbolAndType(java.lang.String symbol,
java.lang.String type)
- Specified by:
getOrdersBySymbolAndType
in interface IOrderBookDao
Copyright © 2009. All Rights Reserved.