View Javadoc
1   package ejava.examples.txhotel.bl;
2   
3   import java.util.Date;
4   import java.util.List;
5   
6   import ejava.examples.txhotel.bo.Person;
7   import ejava.examples.txhotel.bo.Reservation;
8   
9   public interface HotelReservationSession {
10      void createReservation(Person person, Date startDate, Date endDate)
11          throws HotelReservationException;
12      List<Reservation> commit()
13          throws HotelReservationException;
14      void cancelReservations()
15          throws HotelReservationException;
16      void close();
17  }