net.sf.emarket.account.repository
Class JdbcCashBalanceDaoImpl

java.lang.Object
  extended by net.sf.emarket.account.repository.JdbcCashBalanceDaoImpl
All Implemented Interfaces:
ICashBalanceDao

@Repository
public class JdbcCashBalanceDaoImpl
extends java.lang.Object
implements ICashBalanceDao


Constructor Summary
JdbcCashBalanceDaoImpl()
           
 
Method Summary
 void addCashBalance(CashBalance balance)
           
 void createTemplate(javax.sql.DataSource jdbcDatasource)
           
 CashBalance getCashBalance(Account account)
           
 CashBalance getCashBalance(java.lang.String accountId)
           
 CashBalance updateCashBalance(CashBalance balance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcCashBalanceDaoImpl

public JdbcCashBalanceDaoImpl()
Method Detail

createTemplate

public void createTemplate(@Qualifier(value="jdbcDataSource")
                           javax.sql.DataSource jdbcDatasource)

getCashBalance

public CashBalance getCashBalance(java.lang.String accountId)
Specified by:
getCashBalance in interface ICashBalanceDao

getCashBalance

public CashBalance getCashBalance(Account account)
Specified by:
getCashBalance in interface ICashBalanceDao

addCashBalance

public void addCashBalance(CashBalance balance)
Specified by:
addCashBalance in interface ICashBalanceDao

updateCashBalance

public CashBalance updateCashBalance(CashBalance balance)
Specified by:
updateCashBalance in interface ICashBalanceDao


Copyright © 2009. All Rights Reserved.