com.bankframe.examples.bo.impl.address
Interface AddressHome

All Superinterfaces:
AddressFinders, javax.ejb.EJBHome, java.rmi.Remote

public interface AddressHome
extends javax.ejb.EJBHome, AddressFinders

This interface defines the methods for obtaining Address Entity instances

Author:
ETU

Field Summary
static java.lang.String JNDI_NAME
           
 
Method Summary
 Address create(java.lang.String ownerId, java.lang.String addressLine1, java.lang.String addressLine2, java.lang.String addressLine3, java.lang.String addressLine4, java.lang.String country, java.lang.String postCode)
          This method creates a new Address Entity instance.
 Address findByPrimaryKey(AddressPK primaryKey)
          This method retrieves the Address entity Instance for the specified primary key.
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 
Methods inherited from interface com.bankframe.examples.bo.address.AddressFinders
findAll, findByCountry, findByPostCode
 

Field Detail

JNDI_NAME

public static final java.lang.String JNDI_NAME
See Also:
Constant Field Values
Method Detail

create

public Address create(java.lang.String ownerId,
                      java.lang.String addressLine1,
                      java.lang.String addressLine2,
                      java.lang.String addressLine3,
                      java.lang.String addressLine4,
                      java.lang.String country,
                      java.lang.String postCode)
               throws javax.ejb.CreateException,
                      ValidationException,
                      ProcessingErrorException,
                      java.rmi.RemoteException
This method creates a new Address Entity instance.

Parameters:
ownerId -
addressLine1 -
addressLine2 -
addressLine3 -
country -
postCode -
Returns:
an Address entity
Throws:
javax.ejb.CreateException
ProcessingErrorException
java.rmi.RemoteException
ValidationException

findByPrimaryKey

public Address findByPrimaryKey(AddressPK primaryKey)
                         throws javax.ejb.FinderException,
                                ValidationException,
                                java.rmi.RemoteException
This method retrieves the Address entity Instance for the specified primary key.

Parameters:
primaryKey - the primary key of the Address to find
Throws:
javax.ejb.FinderException
java.rmi.RemoteException
ValidationException


Copyright 2004 Siebel Systems, Inc. All rights reserved.