com.bankframe.examples.bo.impl.address
Interface AddressHome
- All Superinterfaces:
- AddressFinders, EJBHome, Remote
public interface AddressHome
- extends EJBHome, AddressFinders
This interface defines the methods for obtaining Address Entity instances
JNDI_NAME
static final String JNDI_NAME
- See Also:
- Constant Field Values
create
Address create(String ownerId,
String addressLine1,
String addressLine2,
String addressLine3,
String addressLine4,
String country,
String postCode)
throws CreateException,
ValidationException,
ProcessingErrorException,
RemoteException
- This method creates a new Address Entity instance.
- Parameters:
ownerId
- addressLine1
- addressLine2
- addressLine3
- addressLine4
- country
- postCode
-
- Returns:
- an Address entity
- Throws:
CreateException
ProcessingErrorException
RemoteException
ValidationException
findByPrimaryKey
Address findByPrimaryKey(AddressPK primaryKey)
throws FinderException,
ValidationException,
RemoteException
- This method retrieves the Address entity Instance for the specified primary key.
- Parameters:
primaryKey
- the primary key of the Address to find
- Returns:
- Address entity instance
- Throws:
FinderException
RemoteException
ValidationException
Copyright © 2005, 2007, Oracle. All rights reserved.