public interface BookingDAO
Modifier and Type | Method and Description |
---|---|
Booking |
createBooking(Booking booking) |
Booking |
getBooking(long id) |
Booking |
getBookingByConfirmation(String confirmation) |
List<Booking> |
getBookings(int index,
int count) |
List<Booking> |
getBookings(String queryName,
Map<String,Object> params,
int index,
int count) |
Booking |
removeBooking(Booking booking) |
Booking |
updateBooking(Booking booking) |
Booking createBooking(Booking booking) throws DAOException
DAOException
Booking getBooking(long id) throws DAOException
DAOException
Booking getBookingByConfirmation(String confirmation) throws DAOException
DAOException
Booking updateBooking(Booking booking) throws DAOException
DAOException
Booking removeBooking(Booking booking) throws DAOException
DAOException
List<Booking> getBookings(int index, int count) throws DAOException
DAOException
List<Booking> getBookings(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.