public interface ReservationDAO
| Modifier and Type | Method and Description |
|---|---|
Reservation |
createReservation(Reservation reservation) |
Reservation |
getReservation(long id) |
Reservation |
getReservationByConfirmation(String confirmation) |
List<Reservation> |
getReservations(int index,
int count) |
List<Reservation> |
getReservations(String queryName,
Map<String,Object> params,
int index,
int count) |
Reservation |
removeReservation(Reservation reservation) |
Reservation |
updateReservation(Reservation reservation) |
Reservation createReservation(Reservation reservation) throws DAOException
DAOExceptionReservation getReservation(long id) throws DAOException
DAOExceptionReservation getReservationByConfirmation(String confirmation) throws DAOException
DAOExceptionReservation updateReservation(Reservation reservation) throws DAOException
DAOExceptionReservation removeReservation(Reservation reservation) throws DAOException
DAOExceptionList<Reservation> getReservations(int index, int count) throws DAOException
DAOExceptionList<Reservation> getReservations(String queryName, Map<String,Object> params, int index, int count) throws DAOException
DAOExceptionCopyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.