|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The home interface for the Customer entity bean. Use this class to create, remove, and find Customer entity beans.
Method Summary | |
Customer |
create(CustomerPk customerPk)
Create a new Customer entity bean using the primary key |
Customer |
findByPrimaryKey(CustomerPk customerPk)
Find an Customer entity bean using the primary key |
Customer |
findByUserIdentifier(String identifier)
Access existing customer -- if not found, then try to create a new one. |
Methods inherited from interface javax.ejb.EJBHome |
getEJBMetaData, getHomeHandle, remove, remove |
Method Detail |
public Customer create(CustomerPk customerPk) throws CreateException, RemoteException
CreateException
RemoteException
public Customer findByPrimaryKey(CustomerPk customerPk) throws RemoteException, FinderException
FinderException
- if cannot locate named customer
RemoteException
public Customer findByUserIdentifier(String identifier) throws RemoteException, FinderException
identifier
- Customer name
CreateException
- if cannot create new customer of that name
RemoteException
FinderException
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |