1 package org.objectweb.jonas.jtests.beans.ejbql; 2 3 import java.rmi.RemoteException ; 4 import java.util.Collection ; 5 6 import javax.ejb.FinderException ; 7 8 public interface ReservationHomeRemote extends javax.ejb.EJBHome { 10 11 public ReservationRemote create(Integer cruiseid, Collection customers) 12 throws javax.ejb.CreateException , RemoteException ;; 13 14 public ReservationRemote findByPrimaryKey(Object primaryKey) 15 throws javax.ejb.FinderException , RemoteException ; 16 17 public Collection findAllReservations() throws FinderException , RemoteException ; 18 19 public Collection findReservationsWithLesserAmount() throws FinderException , RemoteException ; 20 21 public Collection findOrderedRsrv() throws FinderException , RemoteException ; 22 23 public long getCountOfReservations() throws FinderException , RemoteException ; 24 25 public double getMinAmountOfReservations() throws FinderException , RemoteException ; 26 27 public double getMinAmountForCruise(String cName) throws FinderException , RemoteException ; 28 29 public double getMaxAmountOfReservations() throws FinderException , RemoteException ; 30 31 public Collection getAmountsForCruise(String cName) throws FinderException , RemoteException ; 32 33 public long getCountOfReservationsForCustomer(Integer customerId) 34 throws FinderException , RemoteException ; 35 36 public double getAmountOfReservationsForCustomer(Integer customerId) 37 throws FinderException , RemoteException ; 38 } 39 40 | Popular Tags |