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


public interface AccountHome

Home interface for the bean Account


Method Summary
 Account create(int num, java.lang.String name)
           
 java.util.Collection findAll()
           
 Account findByNumber(int num)
           
 Account findByPrimaryKey(java.lang.Integer pk)
           
 

Method Detail

create

public Account create(int num,
                      java.lang.String name)
               throws javax.ejb.CreateException,
                      java.rmi.RemoteException

findByPrimaryKey

public Account findByPrimaryKey(java.lang.Integer pk)
                         throws javax.ejb.FinderException,
                                java.rmi.RemoteException

findByNumber

public Account findByNumber(int num)
                     throws javax.ejb.FinderException,
                            java.rmi.RemoteException

findAll

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