org.objectweb.jonas.jtests.beans.ebasic
Interface PersonHome


public interface PersonHome

Home interface for the bean Person


Method Summary
 Person create(int i, java.lang.String n)
           
 java.util.Collection findAll()
           
 Person findByName(java.lang.String name)
           
 Person findByNumber(int number)
           
 Person findByPrimaryKey(java.lang.Object pk)
           
 

Method Detail

create

public Person create(int i,
                     java.lang.String n)
              throws javax.ejb.CreateException,
                     java.rmi.RemoteException

findByPrimaryKey

public Person findByPrimaryKey(java.lang.Object pk)
                        throws javax.ejb.FinderException,
                               java.rmi.RemoteException

findByNumber

public Person findByNumber(int number)
                    throws javax.ejb.FinderException,
                           java.rmi.RemoteException

findByName

public Person findByName(java.lang.String name)
                  throws javax.ejb.FinderException,
                         java.rmi.RemoteException

findAll

public java.util.Collection findAll()
                             throws javax.ejb.FinderException,
                                    java.rmi.RemoteException