net.sf.emarket.account.repository
Class JdbcCashTransferDaoImpl
java.lang.Object
net.sf.emarket.account.repository.JdbcCashTransferDaoImpl
- All Implemented Interfaces:
- ICashTransferDao
@Repository
public class JdbcCashTransferDaoImpl
- extends java.lang.Object
- implements ICashTransferDao
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbcCashTransferDaoImpl
public JdbcCashTransferDaoImpl()
createTemplate
public void createTemplate(@Qualifier(value="jdbcDataSource")
javax.sql.DataSource jdbcDatasource)
generateTransferId
public long generateTransferId()
- Specified by:
generateTransferId
in interface ICashTransferDao
addCashTransfer
public CashTransfer addCashTransfer(CashTransfer transfer)
- Specified by:
addCashTransfer
in interface ICashTransferDao
updateCashTransfer
public CashTransfer updateCashTransfer(CashTransfer transfer)
- Specified by:
updateCashTransfer
in interface ICashTransferDao
getSenderCashTransfers
public java.util.List<CashTransfer> getSenderCashTransfers(Account sender)
- Specified by:
getSenderCashTransfers
in interface ICashTransferDao
getReceiverCashTransfers
public java.util.List<CashTransfer> getReceiverCashTransfers(Account receiver)
- Specified by:
getReceiverCashTransfers
in interface ICashTransferDao
Copyright © 2009. All Rights Reserved.