org.objectweb.jonas.jtests.beans.relatives
Interface RelativeLocalHome


public interface RelativeLocalHome

Created on Sep 25, 2002

Author:
Christophe Ney - cney@batisseurs.com

Method Summary
 RelativeLocal create(java.lang.String fullName, java.util.Date birthdate, int luckyNumber)
          create a new RelativeLocal.
 RelativeLocal findByPrimaryKey(java.lang.String fullName)
          find a relative using it's full name.
 java.util.Collection findFromGivenQuery(java.lang.String fullName, java.util.Date birthdate, int luckyNumber)
          find the collection of relatives using the query in the deployment descriptor.
 

Method Detail

create

public RelativeLocal create(java.lang.String fullName,
                            java.util.Date birthdate,
                            int luckyNumber)
                     throws javax.ejb.CreateException
create a new RelativeLocal. The fullName must be unique since it is used as primaryKey.

findByPrimaryKey

public RelativeLocal findByPrimaryKey(java.lang.String fullName)
                               throws javax.ejb.FinderException
find a relative using it's full name.

findFromGivenQuery

public java.util.Collection findFromGivenQuery(java.lang.String fullName,
                                               java.util.Date birthdate,
                                               int luckyNumber)
                                        throws javax.ejb.FinderException
find the collection of relatives using the query in the deployment descriptor.