01: package com.titan.reservation;
02:
03: import com.titan.cruise.*;
04:
05: import java.util.Collection;
06: import javax.ejb.CreateException;
07: import javax.ejb.FinderException;
08:
09: // Reservation EJB's local home interface
10: public interface ReservationHomeLocal extends javax.ejb.EJBLocalHome {
11:
12: public ReservationLocal create(CruiseLocal cruise,
13: Collection customers) throws javax.ejb.CreateException;
14:
15: public ReservationLocal findByPrimaryKey(Object primaryKey)
16: throws javax.ejb.FinderException;
17:
18: public Collection findAllReservations() throws FinderException;
19:
20: }
|