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
DAOException
Reservation getReservation(long id) throws DAOException
DAOException
Reservation getReservationByConfirmation(String confirmation) throws DAOException
DAOException
Reservation updateReservation(Reservation reservation) throws DAOException
DAOException
Reservation removeReservation(Reservation reservation) throws DAOException
DAOException
List<Reservation> getReservations(int index, int count) throws DAOException
DAOException
List<Reservation> getReservations(String queryName, Map<String,Object> params, int index, int count) throws DAOException
DAOException
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.