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