/** * Retrieves all rooms available at the hotel * * @generated NOT */ public EList<Room> getAllRooms() { return roomHandling.getAllRooms(); }
/** * Searches for rooms among the available at the hotel with name that contains the given argument * * @generated NOT */ public EList<Room> findRoom(String roomName) { return roomHandling.findRoom(roomName); }
/** * Attempts to remove the given room from the list of available rooms of the current hotel. * * @generated NOT */ public boolean removeRoom(Room room) { return roomHandling.removeRoom(room); }
/** * Updates the room with the given name with the new parameters. * * @generated NOT */ public boolean editRoom(Room room, RoomType newRoomType, String newRoomName) { return roomHandling.editRoom(room, newRoomType, newRoomName); }
/** * Adds a room with the given properties to the list of available rooms at the current hotel. * * @generated NOT */ public Room addRoom(RoomType roomType, String roomName) { return roomHandling.addRoom(roomType, roomName); }