KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.objectweb.jonas.jtests.beans.ejbql;
2
3 import javax.ejb.CreateException JavaDoc;
4 import javax.ejb.FinderException JavaDoc;
5 import java.rmi.RemoteException JavaDoc;
6 import java.util.Collection JavaDoc;
7 import java.util.Set JavaDoc;
8
9 import org.objectweb.jonas.jtests.beans.ejbql.AddressRemote;
10
11 public interface CustomerHomeRemote extends javax.ejb.EJBHome JavaDoc {
12
13     public CustomerRemote create(Integer JavaDoc id)
14         throws CreateException JavaDoc, RemoteException JavaDoc;
15
16     public CustomerRemote findByPrimaryKey(Integer JavaDoc id)
17         throws FinderException JavaDoc, RemoteException JavaDoc;
18     public CustomerRemote findById(Integer JavaDoc id)
19     throws FinderException JavaDoc, RemoteException JavaDoc;
20     public CustomerRemote findByExactName(String JavaDoc lastName, String JavaDoc firstName)
21         throws FinderException JavaDoc, RemoteException JavaDoc;
22     public Collection JavaDoc findByName(String JavaDoc lastName, String JavaDoc firstName)
23         throws FinderException JavaDoc, RemoteException JavaDoc;
24     public Collection JavaDoc findByNotName(String JavaDoc lastName, String JavaDoc firstName)
25     throws FinderException JavaDoc, RemoteException JavaDoc;
26     public Collection JavaDoc findAllMike()
27         throws FinderException JavaDoc, RemoteException JavaDoc;
28     public CustomerRemote findSmith90()
29         throws FinderException JavaDoc, RemoteException JavaDoc;
30     public Collection JavaDoc findByGoodCredit()
31         throws FinderException JavaDoc, RemoteException JavaDoc;
32     public Collection JavaDoc findByCity(String JavaDoc city, String JavaDoc state)
33         throws FinderException JavaDoc, RemoteException JavaDoc;
34     public Collection JavaDoc findInHotStates()
35         throws FinderException JavaDoc, RemoteException JavaDoc;
36     public Collection JavaDoc findWithoutReservations()
37         throws FinderException JavaDoc, RemoteException JavaDoc;
38     public Collection JavaDoc findWithReservations()
39         throws FinderException JavaDoc, RemoteException JavaDoc;
40     public Collection JavaDoc findWithOrWithoutReservations()
41         throws FinderException JavaDoc, RemoteException JavaDoc;
42     public Collection JavaDoc findWithoutReservationsAndWithGoodCredit(boolean b)
43         throws FinderException JavaDoc, RemoteException JavaDoc;
44     public Collection JavaDoc findBisWithoutReservationsAndWithGoodCredit(boolean b)
45         throws FinderException JavaDoc, RemoteException JavaDoc;
46     public Collection JavaDoc findTerWithoutReservationsAndWithGoodCredit(boolean b)
47         throws FinderException JavaDoc, RemoteException JavaDoc;
48     public Collection JavaDoc findQuadWithoutReservationsAndWithGoodCredit(boolean b)
49         throws FinderException JavaDoc, RemoteException JavaDoc;
50     public Collection JavaDoc findWithoutReservationsOrWithGoodCredit(boolean b)
51         throws FinderException JavaDoc, RemoteException JavaDoc;
52     public Collection JavaDoc findByNameAndState(String JavaDoc lastName, String JavaDoc firstName, String JavaDoc state)
53         throws FinderException JavaDoc, RemoteException JavaDoc;
54     public Collection JavaDoc findAllCreditCardAddress(String JavaDoc city)
55         throws FinderException JavaDoc, RemoteException JavaDoc;
56     public Collection JavaDoc findAllCustomersWithReservation()
57         throws FinderException JavaDoc, RemoteException JavaDoc;
58     public Collection JavaDoc findAllCustomersWithReservationDistinct()
59         throws FinderException JavaDoc, RemoteException JavaDoc;
60     public Collection JavaDoc findByAddress(AddressRemote add)
61         throws FinderException JavaDoc, RemoteException JavaDoc;
62     public Collection JavaDoc findByAddressId(Integer JavaDoc addId)
63         throws FinderException JavaDoc, RemoteException JavaDoc;
64     public Collection JavaDoc findCustomersAll()
65         throws FinderException JavaDoc, RemoteException JavaDoc;
66     public Collection JavaDoc findCustomersWithCreditCard()
67         throws FinderException JavaDoc, RemoteException JavaDoc;
68     public Collection JavaDoc findCustomersWithOutCreditCard()
69         throws FinderException JavaDoc, RemoteException JavaDoc;
70     public Collection JavaDoc findCustomersXWithOutCreditCard(String JavaDoc firstName)
71     throws FinderException JavaDoc, RemoteException JavaDoc;
72     public Collection JavaDoc findCustomersWithCreditCompany()
73         throws FinderException JavaDoc, RemoteException JavaDoc;
74     public Collection JavaDoc findAllOrderByLastname()
75         throws FinderException JavaDoc, RemoteException JavaDoc;
76     public Collection JavaDoc findAllOrderByDescLastnameAscFirstname()
77         throws FinderException JavaDoc, RemoteException JavaDoc;
78     public Collection JavaDoc findCustWithCCNumOrAddrZip(java.lang.String JavaDoc ccNum, java.lang.String JavaDoc addrZip)
79     throws FinderException JavaDoc, RemoteException JavaDoc;
80     public Collection JavaDoc findAllWithLimit_1(int startAt) throws FinderException JavaDoc, RemoteException JavaDoc;
81     public Collection JavaDoc findAllWithLimit_2(int startAt) throws FinderException JavaDoc, RemoteException JavaDoc;
82
83     // Home method, requires ejbHomeXXX method in bean class
84
public Collection JavaDoc callFindOnCruise(Integer JavaDoc cruiseId)
85         throws FinderException JavaDoc, RemoteException JavaDoc;
86     public Collection JavaDoc callFindByAddressLocal(Integer JavaDoc add)
87         throws FinderException JavaDoc, RemoteException JavaDoc;
88     public Collection JavaDoc callFindByParameterIsNull(Integer JavaDoc cc)
89         throws FinderException JavaDoc, RemoteException JavaDoc;
90     public String JavaDoc selectAddrCity(Integer JavaDoc id)
91         throws javax.ejb.FinderException JavaDoc, RemoteException JavaDoc;
92     public String JavaDoc selectLastName(Integer JavaDoc id)
93         throws javax.ejb.FinderException JavaDoc, RemoteException JavaDoc;
94     public Set JavaDoc selectFirstName() throws javax.ejb.FinderException JavaDoc, RemoteException JavaDoc;
95     public Collection JavaDoc selectDistinctFirstName()
96         throws javax.ejb.FinderException JavaDoc, RemoteException JavaDoc;
97     public Integer JavaDoc selectAddr(Integer JavaDoc id)
98         throws javax.ejb.FinderException JavaDoc, RemoteException JavaDoc;
99     public Collection JavaDoc selectAllCreditCardAddr()
100         throws javax.ejb.FinderException JavaDoc, RemoteException JavaDoc;
101     public Collection JavaDoc selectRogerAddr()
102         throws javax.ejb.FinderException JavaDoc, RemoteException JavaDoc;
103     public long getCountCreditCard()
104         throws javax.ejb.FinderException JavaDoc, RemoteException JavaDoc;
105     public Collection JavaDoc getCreditCardNumbers()
106         throws javax.ejb.FinderException JavaDoc, RemoteException JavaDoc;
107     public long getCountCustomersWithId1(Integer JavaDoc id)
108         throws javax.ejb.FinderException JavaDoc, RemoteException JavaDoc;
109     public long getCountCustomersWithId2(int id)
110         throws javax.ejb.FinderException JavaDoc, RemoteException JavaDoc;
111     public long getCountCustomersRingo()
112         throws javax.ejb.FinderException JavaDoc, RemoteException JavaDoc;
113
114
115 }
116
117
Popular Tags