FileDocCategorySizeDatePackage
EJBPersonHome.javaAPI DocExample1091Sun Jul 06 01:05:36 BST 2003antipatterns.ejbs

EJBPersonHome.java

package antipatterns.ejbs;

import javax.ejb.*;

/**
 * Created Jan 1, 2003 10:15:26 PM
 * Code generated by the Forte For Java EJB Builder
 * @author jon
 */

public interface EJBPersonHome extends javax.ejb.EJBHome {
    
    public EJBPerson findByPrimaryKey(EJBPersonKey aKey) throws javax.ejb.FinderException, java.rmi.RemoteException;
    
    public java.util.Collection findByName(java.lang.String firstName, java.lang.String lastName) throws java.rmi.RemoteException, javax.ejb.FinderException;
    
    public EJBPerson create(int personId, java.lang.String firstName, java.lang.String lastName, java.lang.String phoneNumber) throws java.rmi.RemoteException, javax.ejb.CreateException;
    
    public java.util.Collection findAll() throws java.rmi.RemoteException, javax.ejb.FinderException;
    
    public java.util.Collection findByFirstName(java.lang.String firstName) throws java.rmi.RemoteException, javax.ejb.FinderException;
    
    public java.util.Collection findByLastName(java.lang.String lastName) throws java.rmi.RemoteException, javax.ejb.FinderException;
    
}