com.bankframe.examples.bo.impl.customer
Interface CustomerHome
- All Superinterfaces:
- CustomerFinders, EJBHome, Remote
public interface CustomerHome
- extends EJBHome, CustomerFinders
This interface defines the methods for obtaining Customer Entity instances
JNDI_NAME
static final String JNDI_NAME
- See Also:
- Constant Field Values
create
Customer create(String ownerId,
String title,
String firstName,
String lastName)
throws CreateException,
ValidationException,
ProcessingErrorException,
RemoteException
- This method creates a new customer entity instance.
- Throws:
ProcessingErrorException
RemoteException
ValidationException
CreateException
findByPrimaryKey
Customer findByPrimaryKey(CustomerPK primaryKey)
throws FinderException,
ValidationException,
RemoteException
- This method get a entity instance that is identified by the given
primary key.
- Parameters:
primaryKey
-
- Returns:
- the Address Entity Instance for the specified primary key
- Throws:
FinderException
RemoteException
ValidationException
Copyright © 2005, 2007, Oracle. All rights reserved.