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