|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AccountManager
The Remote Interfe for Application Profile Account Management Sample
Method Summary | |
---|---|
int |
createAccounts(int number)
This remote method is used to create a number of Account entity beans. |
java.lang.String |
getAccount(java.lang.String accountid)
This remote method is used to get an Account record in String format, given the primary key account id. |
int |
getAccountsNumber()
This remote method is used to get the number of total accounts |
java.lang.String[] |
getLargeAccounts(double balance)
This remote method is used to get a collection of Account records in String format that meet the minimum balance condition |
int |
increaseLargeAccountsAPR(double balance,
double change)
This remote method is used to increase the APR by the passed in apr parameter on all large accounts with balance greater than the passed in balance parameter. |
Methods inherited from interface javax.ejb.EJBObject |
---|
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
---|
int createAccounts(int number) throws java.rmi.RemoteException
number
- the number of Accounts needed to be created
java.rmi.RemoteException
java.lang.String getAccount(java.lang.String accountid) throws java.rmi.RemoteException
accountid
- String object represent the primary key of an Account
java.rmi.RemoteException
java.lang.String[] getLargeAccounts(double balance) throws java.rmi.RemoteException
balance
- the required minimum balance condition
java.rmi.RemoteException
int increaseLargeAccountsAPR(double balance, double change) throws java.rmi.RemoteException
balance
- the required minimum balance conditionchange
- indicates how much the apr should increase
java.rmi.RemoteException
int getAccountsNumber() throws java.rmi.RemoteException
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |