com.bankframe.examples.bo.customer
Interface CustomerFinders

All Known Subinterfaces:
CustomerHome

public interface CustomerFinders

This interface defines the find operations for the Address Entity


Method Summary
 java.util.Enumeration findAll()
          This method retrieves all instance of the customer entity from the database.
 java.util.Enumeration findByFirstName(java.lang.String firstName)
          This method gets all entities with the given first name.
 java.util.Enumeration findByLastName(java.lang.String lastName)
          This method gets all entities with the given last name.
 java.util.Enumeration findByTitle(java.lang.String title)
          This method gets all entities with the given title.
 

Method Detail

findAll

public java.util.Enumeration findAll()
                              throws javax.ejb.FinderException,
                                     ValidationException,
                                     java.rmi.RemoteException
This method retrieves all instance of the customer entity from the database.

Returns:
an ennumeration of all instances of the Customer Entity
Throws:
javax.ejb.FinderException
java.rmi.RemoteException
ValidationException

findByFirstName

public java.util.Enumeration findByFirstName(java.lang.String firstName)
                                      throws javax.ejb.FinderException,
                                             ValidationException,
                                             java.rmi.RemoteException
This method gets all entities with the given first name.

Parameters:
firstName - the first name of all the entities to be returned
Returns:
an ennumeration of all instances of the Customer Entity with the specified firstName value
Throws:
javax.ejb.FinderException
java.rmi.RemoteException
ValidationException

findByLastName

public java.util.Enumeration findByLastName(java.lang.String lastName)
                                     throws javax.ejb.FinderException,
                                            ValidationException,
                                            java.rmi.RemoteException
This method gets all entities with the given last name.

Parameters:
lastName - the surname of all the entities to be returned
Returns:
an ennumeration of all instances of the Customer Entity with the specified lastName value
Throws:
javax.ejb.FinderException
java.rmi.RemoteException
ValidationException

findByTitle

public java.util.Enumeration findByTitle(java.lang.String title)
                                  throws javax.ejb.FinderException,
                                         ValidationException,
                                         java.rmi.RemoteException
This method gets all entities with the given title.

Parameters:
title - the title of all the entities to be returned
Returns:
an ennumeration of all instances of the Customer Entity with the specified title value
Throws:
javax.ejb.FinderException
java.rmi.RemoteException
ValidationException


Copyright © 2005, 2007, Oracle. All rights reserved.