KickJava   Java API By Example, From Geeks To Geeks.

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


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