package examples.ejb20.basic.containerManaged;




//
// This file was automatically generated by EJBGen 2.0
//



import javax.ejb.CreateException;

import javax.ejb.EJBHome;

import javax.ejb.FinderException;

import java.rmi.RemoteException;

import java.util.Collection;



public interface AccountHome extends EJBHome {

    public Account findByPrimaryKey(String primaryKey)     throws FinderException, RemoteException;


    public Collection findNullAccounts()     throws FinderException, RemoteException;


    public Account findAccount(double balanceEqual)     throws FinderException, RemoteException;


    public Collection findBigAccounts(double balanceGreaterThan)     throws FinderException, RemoteException;


    public Account create(String accountId, double initialBalance, String type)     throws CreateException, RemoteException;


}