Package ejava.examples.txhotel.bl
Interface HotelReservationSession
-
public interface HotelReservationSession
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cancelReservations()
void
close()
List<Reservation>
commit()
void
createReservation(Person person, Date startDate, Date endDate)
-
-
-
Method Detail
-
createReservation
void createReservation(Person person, Date startDate, Date endDate) throws HotelReservationException
- Throws:
HotelReservationException
-
commit
List<Reservation> commit() throws HotelReservationException
- Throws:
HotelReservationException
-
cancelReservations
void cancelReservations() throws HotelReservationException
- Throws:
HotelReservationException
-
close
void close()
-
-