public interface HotelReservationist
Modifier and Type | Method and Description |
---|---|
void |
cancelReservation(Reservation reservation) |
void |
cleanupReservation(String confirmation) |
Reservation |
commitReservation(Reservation reservation) |
Reservation |
createReservation(Person person,
Date startDate,
Date endDate) |
Reservation |
getReservationByConfirmation(String confirmation) |
List<Reservation> |
getReservations(int index,
int count) |
List<Reservation> |
getReservationsForPerson(Person person,
int index,
int count) |
Reservation createReservation(Person person, Date startDate, Date endDate) throws HotelReservationException
HotelReservationException
Reservation commitReservation(Reservation reservation) throws HotelReservationException
HotelReservationException
List<Reservation> getReservationsForPerson(Person person, int index, int count) throws HotelReservationException
HotelReservationException
Reservation getReservationByConfirmation(String confirmation) throws HotelReservationException
HotelReservationException
List<Reservation> getReservations(int index, int count) throws HotelReservationException
HotelReservationException
void cancelReservation(Reservation reservation) throws HotelReservationException
HotelReservationException
void cleanupReservation(String confirmation) throws HotelReservationException
HotelReservationException
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.