public interface AccountDAO
Modifier and Type | Field and Description |
---|---|
static String |
GET_ACCOUNTS_QUERY |
Modifier and Type | Method and Description |
---|---|
Account |
createAccount(Account account) |
List<Account> |
findAccounts(String queryName,
Map<String,Object> params,
int index,
int count) |
Account |
getAccountById(long id) |
Account |
getAccountByNum(String acctNum) |
Ledger |
getLedger() |
double |
getLedgerAveBalance() |
long |
getLedgerCount() |
double |
getLedgerSum() |
Account |
removeAccount(Account account) |
Account |
updateAccount(Account account) |
static final String GET_ACCOUNTS_QUERY
Account getAccountById(long id) throws DAOException
DAOException
Account getAccountByNum(String acctNum) throws DAOException
DAOException
Account createAccount(Account account) throws DAOException
DAOException
Account updateAccount(Account account) throws DAOException
DAOException
Account removeAccount(Account account) throws DAOException
DAOException
List<Account> findAccounts(String queryName, Map<String,Object> params, int index, int count) throws DAOException
DAOException
long getLedgerCount() throws DAOException
DAOException
double getLedgerAveBalance() throws DAOException
DAOException
double getLedgerSum() throws DAOException
DAOException
Ledger getLedger() throws DAOException
DAOException
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.