A B C D G M N O P R S T U V W

A

Account - interface cscie160.project.account.Account.
By David Cheung
AccountImpl - class cscie160.project.account.AccountImpl.
By David Cheung
AccountImpl(int, float) - Constructor for class cscie160.project.account.AccountImpl
Creates an account with an account and initial balance.
AccountInfo - class cscie160.project.account.AccountInfo.
By David Cheung
AccountInfo(int, int) - Constructor for class cscie160.project.account.AccountInfo
Constructor that requires account number and pin.
addCallBack(ATMListener) - Method in interface cscie160.project.atm.ATM
 
addCallBack(ATMListener) - Method in class cscie160.project.atm.ATMImpl
Adds call back.
ATM - interface cscie160.project.atm.ATM.
By David Cheung
ATM_I - Variable in class cscie160.project.atm.ATMFactoryImpl
 
ATMFactory - interface cscie160.project.atm.ATMFactory.
By David Cheung
ATMFactoryImpl - class cscie160.project.atm.ATMFactoryImpl.
By David Cheung
ATMImpl - class cscie160.project.atm.ATMImpl.
By David Cheung
ATMImpl() - Constructor for class cscie160.project.atm.ATMImpl
Constructor: creates a linkedlist and 3 accounts.
ATMListener - interface cscie160.project.atm.ATMListener.
By David Cheung
ATMServer - class cscie160.project.atm.ATMServer.
By David Cheung
ATMServer() - Constructor for class cscie160.project.atm.ATMServer
 

B

Bank - interface cscie160.project.bank.Bank.
By David Cheung
BankClient_Test - class cscie160.project.bank.BankClient_Test.
By David Cheung
BankClient_Test() - Constructor for class cscie160.project.bank.BankClient_Test
 
BankImpl - class cscie160.project.bank.BankImpl.
By David Cheung
BankImpl() - Constructor for class cscie160.project.bank.BankImpl
the contructor does the following:
BankServer - class cscie160.project.bank.BankServer.
By David Cheung
BankServer_Test - class cscie160.project.bank.BankServer_Test.
By David Cheung
BankServer_Test() - Constructor for class cscie160.project.bank.BankServer_Test
 
BankServer() - Constructor for class cscie160.project.bank.BankServer
 

C

Client - class cscie160.project.Client.
By David Cheung
Client() - Constructor for class cscie160.project.Client
constructor:
createAccount(int, int) - Method in class cscie160.project.bank.BankImpl
Creates account based on accountNumber and initial balance
createSec(AccountInfo, boolean, boolean, boolean) - Method in interface cscie160.project.security.Security
 
createSec(AccountInfo, boolean, boolean, boolean) - Method in class cscie160.project.security.SecurityImpl
this function creates an authorize class and stores it into the hash table.

D

deposit(AccountInfo, float) - Method in interface cscie160.project.atm.ATM
 
deposit(AccountInfo, float) - Method in class cscie160.project.atm.ATMImpl
Deposit
deposit(float) - Method in interface cscie160.project.account.Account
 
deposit(float) - Method in class cscie160.project.account.AccountImpl
deposits money into the account

G

getAccount(int) - Method in interface cscie160.project.bank.Bank
 
getAccount(int) - Method in class cscie160.project.bank.BankImpl
this does not do security check ie, require AccountInfo object because that is already checked by the security object.
getAccountInfo(int, int) - Static method in class cscie160.project.Client
creates an AccountInfo based on acctnum and pin and then returns it.
getAccountNum() - Method in class cscie160.project.account.AccountInfo
returns account number
getAccountNumber() - Method in class cscie160.project.account.AccountImpl
returns the account ID for an account
getATM() - Method in interface cscie160.project.atm.ATMFactory
 
getATM() - Method in class cscie160.project.atm.ATMFactoryImpl
getATM:
getBalance() - Method in interface cscie160.project.account.Account
 
getBalance() - Method in class cscie160.project.account.AccountImpl
returns the current balance of the account
getBalance(AccountInfo) - Method in interface cscie160.project.atm.ATM
 
getBalance(AccountInfo) - Method in class cscie160.project.atm.ATMImpl
getBalance
getBalPermission(AccountInfo) - Method in interface cscie160.project.security.Security
 
getBalPermission(AccountInfo) - Method in class cscie160.project.security.SecurityImpl
This function returns a boolean to determine if getBalance permission of an AccountInfo is permissible.
getDepPermission(AccountInfo) - Method in interface cscie160.project.security.Security
 
getDepPermission(AccountInfo) - Method in class cscie160.project.security.SecurityImpl
This function returns a boolean to determine if deposit permission of an AccountInfo is permissible.
getNotify(TransactionNotification) - Method in class cscie160.project.Client
Then this function is called, it will print out messages from ATM.
getNotify(TransactionNotification) - Method in interface cscie160.project.atm.ATMListener
 
getPinNum() - Method in class cscie160.project.account.AccountInfo
returns Pin number
getWithPermission(AccountInfo) - Method in interface cscie160.project.security.Security
 
getWithPermission(AccountInfo) - Method in class cscie160.project.security.SecurityImpl
This function returns a boolean to determine if withdraw permission of an AccountInfo is permissible.

M

main(String[]) - Static method in class cscie160.project.Client
main:
main(String[]) - Static method in class cscie160.project.account.AccountImpl
 
main(String[]) - Static method in class cscie160.project.account.AccountInfo
 
main(String[]) - Static method in class cscie160.project.atm.ATMServer
 
main(String[]) - Static method in class cscie160.project.bank.BankClient_Test
 
main(String[]) - Static method in class cscie160.project.bank.BankServer_Test
 
main(String[]) - Static method in class cscie160.project.bank.BankServer
 
main(String[]) - Static method in class cscie160.project.security.SecurityServer_Test
 
main(String[]) - Static method in class cscie160.project.security.SecurityClient_Test
 

N

notifyAll(String) - Method in class cscie160.project.atm.ATMImpl
Sends notification method: when this is called, it will take in a TransactionNotification object and send it to everyone in the list.

O

OverdrawnException - exception cscie160.project.security.exception.OverdrawnException.
By David Cheung
OverdrawnException() - Constructor for class cscie160.project.security.exception.OverdrawnException
 
OverdrawnException(String) - Constructor for class cscie160.project.security.exception.OverdrawnException
 

P

performTestEight(ATM) - Static method in class cscie160.project.Client
 
performTestFive(ATM) - Static method in class cscie160.project.Client
 
performTestFour(ATM) - Static method in class cscie160.project.Client
 
performTestNine(ATM) - Static method in class cscie160.project.Client
 
performTestOne(ATM) - Static method in class cscie160.project.Client
 
performTestSeven(ATM) - Static method in class cscie160.project.Client
 
performTestSix(ATM) - Static method in class cscie160.project.Client
 
performTestThree(ATM) - Static method in class cscie160.project.Client
 
performTestTwo(ATM) - Static method in class cscie160.project.Client
 
printBalances(ATM) - Static method in class cscie160.project.Client
 

R

registerMe(ATM) - Method in class cscie160.project.Client
registers itself to the list of callbacks.

S

Security - interface cscie160.project.security.Security.
By David Cheung
SecurityClient_Test - class cscie160.project.security.SecurityClient_Test.
By David Cheung
SecurityClient_Test() - Constructor for class cscie160.project.security.SecurityClient_Test
 
SecurityImpl - class cscie160.project.security.SecurityImpl.
By David Cheung
SecurityImpl() - Constructor for class cscie160.project.security.SecurityImpl
Constructor:
SecurityInvalidPinException - exception cscie160.project.security.exception.SecurityInvalidPinException.
By David Cheung
SecurityInvalidPinException() - Constructor for class cscie160.project.security.exception.SecurityInvalidPinException
 
SecurityInvalidPinException(String) - Constructor for class cscie160.project.security.exception.SecurityInvalidPinException
 
SecurityServer_Test - class cscie160.project.security.SecurityServer_Test.
By David Cheung
SecurityServer_Test() - Constructor for class cscie160.project.security.SecurityServer_Test
 

T

testATM(ATM) - Static method in class cscie160.project.Client
 
toString() - Method in class cscie160.project.TransactionNotification
 
TransactionNotification - class cscie160.project.TransactionNotification.
By David Cheung
TransactionNotification(String) - Constructor for class cscie160.project.TransactionNotification
 
transfer(AccountInfo, AccountInfo, float) - Method in interface cscie160.project.atm.ATM
 
transfer(AccountInfo, AccountInfo, float) - Method in class cscie160.project.atm.ATMImpl
transfer

U

UnpermittedTransactionException - exception cscie160.project.security.exception.UnpermittedTransactionException.
By David Cheung
UnpermittedTransactionException() - Constructor for class cscie160.project.security.exception.UnpermittedTransactionException
 
UnpermittedTransactionException(String) - Constructor for class cscie160.project.security.exception.UnpermittedTransactionException
 

V

verifyAccount(AccountInfo) - Method in interface cscie160.project.security.Security
 
verifyAccount(AccountInfo) - Method in class cscie160.project.security.SecurityImpl
Returns true if an account with the accountInfo exists, otherwise return false.

W

withdraw(AccountInfo, float) - Method in interface cscie160.project.atm.ATM
 
withdraw(AccountInfo, float) - Method in class cscie160.project.atm.ATMImpl
withdraw
withdraw(float) - Method in interface cscie160.project.account.Account
 
withdraw(float) - Method in class cscie160.project.account.AccountImpl
withdraws money from the account

A B C D G M N O P R S T U V W