Constructor and Description |
---|
HotelMgmtImpl() |
Modifier and Type | Method and Description |
---|---|
Guest |
checkIn(Guest guest,
Room room) |
int |
checkout(Guest guest) |
List<Room> |
getAvailableRooms(Integer level,
int offset,
int limit) |
Floor |
getFloor(int level) |
List<Floor> |
getFloors(int offset,
int limit) |
Room |
getRoom(int number) |
void |
setHotelDao(HotelDAO dao) |
private HotelDAO dao
public void setHotelDao(HotelDAO dao)
public List<Room> getAvailableRooms(Integer level, int offset, int limit)
getAvailableRooms
in interface HotelMgmt
public Guest checkIn(Guest guest, Room room) throws RoomUnavailableExcepton
checkIn
in interface HotelMgmt
RoomUnavailableExcepton
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.