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
BankException
Account getAccount(String acctNum) throws BankException
BankException
Account closeAccount(String acctNum) throws BankException
BankException
void updateAccount(Account account) throws BankException
BankException
List<Account> getOverdrawnAccounts(int index, int count) throws BankException
BankException
List<Account> getAccounts(int index, int count) throws BankException
BankException
long getLedgerCount() throws BankException
BankException
double getLedgerAveBalance() throws BankException
BankException
double getLedgerSum() throws BankException
BankException
Ledger getLedger() throws BankException
BankException
Owner createOwner(String firstName, String lastName, String ssn) throws BankException
BankException
Owner openAccount(long ownerId, String accountNumber) throws BankException
BankException
Owner addOwner(long ownerId, String accountNumber) throws BankException
BankException
void removeOwner(long ownerId) throws BankException
BankException
List<Owner> getOwners(int index, int count) throws BankException
BankException
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.