01: package org.objectweb.jonas.jtests.beans.ejbql;
02:
03: import java.rmi.RemoteException;
04: import java.util.Collection;
05:
06: // Address EJB's remote home interface
07: public interface AddressHomeRemote extends javax.ejb.EJBHome {
08:
09: public AddressRemote createAddress(String street, String city,
10: String state, String zip) throws javax.ejb.CreateException,
11: RemoteException;
12:
13: public AddressRemote findByPrimaryKey(Integer primaryKey)
14: throws javax.ejb.FinderException, RemoteException;
15:
16: public AddressRemote findQuery300626()
17: throws javax.ejb.FinderException, RemoteException;
18:
19: public Collection findAllAddress()
20: throws javax.ejb.FinderException, RemoteException;
21:
22: public long getCountOfCities() throws javax.ejb.FinderException,
23: RemoteException;
24:
25: public long getCountOfDistinctCities()
26: throws javax.ejb.FinderException, RemoteException;
27:
28: public Collection getAllCities() throws javax.ejb.FinderException,
29: RemoteException;
30:
31: public Collection getAllCreditCompanies()
32: throws javax.ejb.FinderException, RemoteException;
33:
34: public Collection getAllCreditCompanyNames()
35: throws javax.ejb.FinderException, RemoteException;
36:
37: public Collection getAllCreditCompanyIds()
38: throws javax.ejb.FinderException, RemoteException;
39:
40: public Collection getAllCreditCompanyNums()
41: throws javax.ejb.FinderException, RemoteException;
42:
43: }
|