net.sf.emarket.account.repository
Interface IAccountDao

All Known Implementing Classes:
JdbcAccountDaoImpl

public interface IAccountDao


Method Summary
 void addAccount(Account account)
           
 int deleteAccountById(java.lang.String acctId)
           
 long generateAccountId()
           
 Account getAccountById(java.lang.String acctId)
           
 java.util.List<Account> getAccountsForUser(User user)
           
 java.util.List<Account> getAccountsOfType(java.lang.String acctType)
           
 int updateAccount(Account account)
           
 

Method Detail

addAccount

void addAccount(Account account)

generateAccountId

long generateAccountId()

getAccountById

Account getAccountById(java.lang.String acctId)

updateAccount

int updateAccount(Account account)

deleteAccountById

int deleteAccountById(java.lang.String acctId)

getAccountsForUser

java.util.List<Account> getAccountsForUser(User user)

getAccountsOfType

java.util.List<Account> getAccountsOfType(java.lang.String acctType)


Copyright © 2009. All Rights Reserved.