KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.objectweb.jonas.jtests.beans.ejbql;
2
3 import java.util.Collection JavaDoc;
4
5 import javax.ejb.CreateException JavaDoc;
6 import javax.ejb.FinderException JavaDoc;
7
8 public interface CustomerHomeLocal extends javax.ejb.EJBLocalHome JavaDoc {
9
10     public CustomerLocal create(Integer JavaDoc id)
11         throws CreateException JavaDoc;
12
13     public CustomerLocal findByPrimaryKey(Integer JavaDoc id)
14         throws FinderException JavaDoc;
15
16     public Collection JavaDoc findCustomersAll()
17         throws FinderException JavaDoc;
18
19     public Collection JavaDoc findByName(String JavaDoc lastName, String JavaDoc firstName)
20         throws FinderException JavaDoc;
21
22     public CustomerLocal findByExactName(String JavaDoc lastName, String JavaDoc firstName)
23         throws FinderException JavaDoc;
24
25     public Collection JavaDoc findByNameAndState(String JavaDoc lastName, String JavaDoc firstName, String JavaDoc state)
26         throws FinderException JavaDoc;
27
28     public CustomerLocal findSmith90()
29         throws FinderException JavaDoc;
30
31     public Collection JavaDoc findByGoodCredit()
32         throws FinderException JavaDoc;
33
34     public Collection JavaDoc findByCity(String JavaDoc city, String JavaDoc state)
35         throws FinderException JavaDoc;
36
37     public Collection JavaDoc findInHotStates()
38         throws FinderException JavaDoc;
39
40     public Collection JavaDoc findWithoutReservations()
41         throws FinderException JavaDoc;
42
43     public Collection JavaDoc findOnCruise(CruiseLocal cruise)
44         throws FinderException JavaDoc;
45
46     public Collection JavaDoc findByAddressLocal(AddressLocal add)
47         throws FinderException JavaDoc;
48
49     public Collection JavaDoc findByParameterIsNull(CreditCardLocal cc)
50         throws FinderException JavaDoc;
51
52     public Collection JavaDoc findByState(String JavaDoc state)
53         throws FinderException JavaDoc;
54
55     public Collection JavaDoc findAllCreditCardAddress(String JavaDoc citie)
56         throws FinderException JavaDoc;
57
58     public Collection JavaDoc findAllCustomersWithReservation()
59         throws FinderException JavaDoc;
60
61     public Collection JavaDoc findAllCustomersWithReservationDistinct()
62         throws FinderException JavaDoc;
63
64     public CustomerLocal findCustomerWithPhone(PhoneLocal phone)
65         throws FinderException JavaDoc;
66
67     public Collection JavaDoc findCustomersWithCreditCard()
68         throws FinderException JavaDoc;
69
70 }
71
Popular Tags