KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jonas > jtests > beans > ejbql > AddressHomeRemote


1 package org.objectweb.jonas.jtests.beans.ejbql;
2
3 import java.rmi.RemoteException JavaDoc;
4 import java.util.Collection JavaDoc;
5
6
7 // Address EJB's remote home interface
8
public interface AddressHomeRemote extends javax.ejb.EJBHome JavaDoc {
9
10     public AddressRemote createAddress(String JavaDoc street, String JavaDoc city, String JavaDoc state, String JavaDoc zip )
11         throws javax.ejb.CreateException JavaDoc, RemoteException JavaDoc;
12
13     public AddressRemote findByPrimaryKey(Integer JavaDoc primaryKey)
14         throws javax.ejb.FinderException JavaDoc, RemoteException JavaDoc;
15     
16     public AddressRemote findQuery300626()
17     throws javax.ejb.FinderException JavaDoc, RemoteException JavaDoc;
18
19
20     public Collection JavaDoc findAllAddress()
21         throws javax.ejb.FinderException JavaDoc, RemoteException JavaDoc;
22
23     public long getCountOfCities() throws javax.ejb.FinderException JavaDoc, RemoteException JavaDoc;
24
25     public long getCountOfDistinctCities() throws javax.ejb.FinderException JavaDoc, RemoteException JavaDoc;
26
27     public Collection JavaDoc getAllCities()
28         throws javax.ejb.FinderException JavaDoc, RemoteException JavaDoc;
29     public Collection JavaDoc getAllCreditCompanies()
30         throws javax.ejb.FinderException JavaDoc, RemoteException JavaDoc;
31     public Collection JavaDoc getAllCreditCompanyNames()
32         throws javax.ejb.FinderException JavaDoc, RemoteException JavaDoc;
33     public Collection JavaDoc getAllCreditCompanyIds()
34         throws javax.ejb.FinderException JavaDoc, RemoteException JavaDoc;
35     public Collection JavaDoc getAllCreditCompanyNums()
36         throws javax.ejb.FinderException JavaDoc, RemoteException JavaDoc;
37
38 }
39
40
Popular Tags