public interface HotelDAO
Modifier and Type | Method and Description |
---|---|
void |
addFloor(Floor floor) |
void |
addGuest(Guest guest) |
void |
clearAll() |
Floor |
fetchFloor(int level) |
Room |
findRoomByGuest(Guest guest) |
List<Room> |
getAvailableRooms(Integer level,
int offset,
int limit) |
List<Room> |
getAvailableRoomsForUpdate(Integer level,
int offset,
int limit) |
Floor |
getFloor(int level) |
List<Floor> |
getFloors(int offset,
int limit) |
Room |
getRoom(int number) |
void |
populate() |
void addFloor(Floor floor)
Floor getFloor(int level)
Room getRoom(int number)
List<Room> getAvailableRoomsForUpdate(Integer level, int offset, int limit)
void addGuest(Guest guest)
void populate()
void clearAll()
Floor fetchFloor(int level)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.