net.sf.emarket.account.repository
Class JdbcCashTransferDaoImpl

java.lang.Object
  extended by net.sf.emarket.account.repository.JdbcCashTransferDaoImpl
All Implemented Interfaces:
ICashTransferDao

@Repository
public class JdbcCashTransferDaoImpl
extends java.lang.Object
implements ICashTransferDao


Constructor Summary
JdbcCashTransferDaoImpl()
           
 
Method Summary
 CashTransfer addCashTransfer(CashTransfer transfer)
           
 void createTemplate(javax.sql.DataSource jdbcDatasource)
           
 long generateTransferId()
           
 java.util.List<CashTransfer> getReceiverCashTransfers(Account receiver)
           
 java.util.List<CashTransfer> getSenderCashTransfers(Account sender)
           
 CashTransfer updateCashTransfer(CashTransfer transfer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcCashTransferDaoImpl

public JdbcCashTransferDaoImpl()
Method Detail

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.