public interface Teller
| Modifier and Type | Method and Description |
|---|---|
Owner |
addOwner(long ownerId,
String accountNumber) |
Account |
closeAccount(String acctNum) |
Account |
createAccount(String accNum) |
Owner |
createOwner(String firstName,
String lastName,
String ssn) |
Account |
getAccount(String acctNum) |
List<Account> |
getAccounts(int index,
int count) |
Ledger |
getLedger() |
double |
getLedgerAveBalance() |
long |
getLedgerCount() |
double |
getLedgerSum() |
List<Account> |
getOverdrawnAccounts(int index,
int count) |
List<Owner> |
getOwners(int index,
int count) |
Owner |
openAccount(long ownerId,
String accountNumber) |
void |
removeOwner(long ownerId) |
void |
updateAccount(Account account) |
Account createAccount(String accNum) throws BankException
BankExceptionAccount getAccount(String acctNum) throws BankException
BankExceptionAccount closeAccount(String acctNum) throws BankException
BankExceptionvoid updateAccount(Account account) throws BankException
BankExceptionList<Account> getOverdrawnAccounts(int index, int count) throws BankException
BankExceptionList<Account> getAccounts(int index, int count) throws BankException
BankExceptionlong getLedgerCount()
throws BankException
BankExceptiondouble getLedgerAveBalance()
throws BankException
BankExceptiondouble getLedgerSum()
throws BankException
BankExceptionLedger getLedger() throws BankException
BankExceptionOwner createOwner(String firstName, String lastName, String ssn) throws BankException
BankExceptionOwner openAccount(long ownerId, String accountNumber) throws BankException
BankExceptionOwner addOwner(long ownerId, String accountNumber) throws BankException
BankExceptionvoid removeOwner(long ownerId)
throws BankException
BankExceptionList<Owner> getOwners(int index, int count) throws BankException
BankExceptionCopyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.