package org.jboss.test.bankiiop.interfaces;
import java.util.*;
import java.rmi.*;
import javax.ejb.*;
public interface AccountHome
extends EJBHome
{
public static final String COMP_NAME = "java:comp/env/ejb/Account";
public static final String JNDI_NAME = "bank-iiop/Account";
public Account create(AccountData data)
throws RemoteException, CreateException;
public Account findByPrimaryKey(String id)
throws RemoteException, FinderException;
public Collection findAll()
throws RemoteException, FinderException;
public Collection findByOwner(Customer owner)
throws RemoteException, FinderException;
public Collection findLargeAccounts(int balance)
throws RemoteException, FinderException;
}