net.sf.emarket.account.repository
Class JdbcAccountDaoImpl
java.lang.Object
net.sf.emarket.account.repository.JdbcAccountDaoImpl
- All Implemented Interfaces:
- IAccountDao
@Repository
public class JdbcAccountDaoImpl
- extends java.lang.Object
- implements IAccountDao
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbcAccountDaoImpl
public JdbcAccountDaoImpl()
createTemplate
public void createTemplate(@Qualifier(value="jdbcDataSource")
javax.sql.DataSource jdbcDatasource)
addAccount
public void addAccount(Account account)
- Specified by:
addAccount in interface IAccountDao
generateAccountId
public long generateAccountId()
- Specified by:
generateAccountId in interface IAccountDao
deleteAccountById
public int deleteAccountById(java.lang.String acctId)
- Specified by:
deleteAccountById in interface IAccountDao
getAccountById
public Account getAccountById(java.lang.String acctId)
- Specified by:
getAccountById in interface IAccountDao
getAccountsForUser
public java.util.List<Account> getAccountsForUser(User user)
- Specified by:
getAccountsForUser in interface IAccountDao
getAccountsOfType
public java.util.List<Account> getAccountsOfType(java.lang.String acctType)
- Specified by:
getAccountsOfType in interface IAccountDao
updateAccount
public int updateAccount(Account account)
- Specified by:
updateAccount in interface IAccountDao
Copyright © 2009. All Rights Reserved.