com.bankframe.examples.bo.impl.customer
Interface CustomerHome

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

public interface CustomerHome
extends javax.ejb.EJBHome, CustomerFinders

This interface defines the methods for obtaining Customer Entity instances

Author:
ETU

Field Summary
static java.lang.String JNDI_NAME
           
 
Method Summary
 Customer create(java.lang.String ownerId, java.lang.String title, java.lang.String firstName, java.lang.String lastName)
          This method creates a new customer entity instance.
 Customer findByPrimaryKey(CustomerPK primaryKey)
          This method get a entity instance that is identified by the given primary key.
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 
Methods inherited from interface com.bankframe.examples.bo.customer.CustomerFinders
findAll, findByFirstName, findByLastName, findByTitle
 

Field Detail

JNDI_NAME

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

create

public Customer create(java.lang.String ownerId,
                       java.lang.String title,
                       java.lang.String firstName,
                       java.lang.String lastName)
                throws javax.ejb.CreateException,
                       ValidationException,
                       ProcessingErrorException,
                       java.rmi.RemoteException
This method creates a new customer entity instance.

Throws:
ProcessingErrorException
java.rmi.RemoteException
ValidationException
javax.ejb.CreateException

findByPrimaryKey

public Customer findByPrimaryKey(CustomerPK primaryKey)
                          throws javax.ejb.FinderException,
                                 ValidationException,
                                 java.rmi.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:
javax.ejb.FinderException
java.rmi.RemoteException
ValidationException


Copyright © 2004 Siebel Systems, Inc. All rights reserved.