|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Exchange
This is an Enterprise Java Bean Remote Interface
Method Summary | |
---|---|
CustomerJBean |
deposit(java.lang.String account,
double depositAmt)
Perform a deposit of the supplied amount on the supplied account. |
CustomerJBean |
updateCustomer(java.lang.String account)
Update the customer correlated with the supplied account to reflect the most recent transaction. |
CustomerJBean |
verifyPrincipal(java.lang.String account,
java.lang.String password)
Determine whether the supplied account and password are valid, returning the correlated customer on success. |
CustomerJBean |
withdraw(java.lang.String account,
double withdrawAmt)
Perform a withdrawl of the supplied amount on the supplied account. |
Methods inherited from interface javax.ejb.EJBObject |
---|
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
---|
CustomerJBean deposit(java.lang.String account, double depositAmt) throws java.rmi.RemoteException
account
- java.lang.StringdepositAmt
- A double value.
java.rmi.RemoteException
CustomerJBean verifyPrincipal(java.lang.String account, java.lang.String password) throws java.rmi.RemoteException
account
- java.lang.Stringpassword
- java.lang.String
java.rmi.RemoteException
CustomerJBean withdraw(java.lang.String account, double withdrawAmt) throws java.rmi.RemoteException
account
- java.lang.StringwithdrawAmt
- double
java.rmi.RemoteException
CustomerJBean updateCustomer(java.lang.String account) throws java.rmi.RemoteException
account
- java.lang.String
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |