|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocalAccountHome
The Home Local Interfe for Application Profile Account Management Sample
Method Summary | |
---|---|
LocalAccount |
create(java.lang.String accountid)
This Local Home Interface Method is responsible for the creation of an Account entry. |
LocalAccount |
create(java.lang.String accountid,
int type,
double balance,
double apr)
This Local Home Interface Method is responsible for the creation of an Account entry. |
java.util.Collection |
findAllAccounts()
This Home Interface Method is responsible for finding a collection of all Accounts. |
LocalAccount |
findByAccountId(java.lang.String accountid)
This Home Interface Method is responsible for finding an Account entry based on the account id. |
LocalAccount |
findByPrimaryKey(java.lang.String accountid)
This Home Interface Method is responsible for finding an Account entry based on the accountid . |
java.util.Collection |
findLargeAccounts(double balance)
This Home Interface Method is responsible for finding a collection of Accounts with balance greater than the balance parameter. |
Methods inherited from interface javax.ejb.EJBLocalHome |
---|
remove |
Method Detail |
---|
LocalAccount create(java.lang.String accountid) throws javax.ejb.CreateException
accountid
- String object used as the primary key of the Account object, and used to set accountid attribute
javax.ejb.CreateException
- This exception is thrown to indicate a failure to create the entity EJB.LocalAccount create(java.lang.String accountid, int type, double balance, double apr) throws javax.ejb.CreateException
accountid
- String object used as the primary key of the Account object, and used to set accountid attributetype
- int used to set type attributebalance
- double used to set balance attributeapr
- double used to set APR attribute
javax.ejb.CreateException
- This exception is thrown to indicate a failure to create the entity EJB.LocalAccount findByAccountId(java.lang.String accountid) throws javax.ejb.FinderException
accountid
- String object used as the primary key of Account object.
javax.ejb.FinderException
- This exception is thrown to indicate a failure to find the entity EJB.java.util.Collection findLargeAccounts(double balance) throws javax.ejb.FinderException
balance
- the minimum value of balance attribute.
javax.ejb.FinderException
java.util.Collection findAllAccounts() throws javax.ejb.FinderException
javax.ejb.FinderException
- This exception is thrown to indicate a failure to find the entity EJB.LocalAccount findByPrimaryKey(java.lang.String accountid) throws javax.ejb.FinderException
accountid
- String object used as the primary key of Account object.
javax.ejb.FinderException
- This exception is thrown to indicate a failure to find the entity EJB.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |