com.bankframe.examples.bo.address
Interface AddressFinders

All Known Subinterfaces:
AddressHome

public interface AddressFinders

This interface defines the find operations for the Address Entity


Method Summary
 java.util.Enumeration findAll()
          This method retrieves all instances of the Address entity.
 java.util.Enumeration findByCountry(java.lang.String country)
           
 java.util.Enumeration findByPostCode(java.lang.String postCode)
           
 

Method Detail

findAll

public java.util.Enumeration findAll()
                              throws javax.ejb.FinderException,
                                     ValidationException,
                                     java.rmi.RemoteException
This method retrieves all instances of the Address entity.

Returns:
an ennumeration of all address entities.
Throws:
javax.ejb.FinderException
java.rmi.RemoteException
ValidationException

findByCountry

public java.util.Enumeration findByCountry(java.lang.String country)
                                    throws javax.ejb.FinderException,
                                           ValidationException,
                                           java.rmi.RemoteException
Returns:
an ennumeration of all instances of the Address Entity with the specified country value.
Throws:
javax.ejb.FinderException
java.rmi.RemoteException
ValidationException

findByPostCode

public java.util.Enumeration findByPostCode(java.lang.String postCode)
                                     throws javax.ejb.FinderException,
                                            ValidationException,
                                            java.rmi.RemoteException
Returns:
an enumeration of all instances of the Address entity with the specified postCode value.
Throws:
javax.ejb.FinderException
java.rmi.RemoteException
ValidationException


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