Uses of Class
eus.ehu.hotelreservation.model.AvailableRoomModel
Packages that use AvailableRoomModel
-
Uses of AvailableRoomModel in eus.ehu.hotelreservation.businessLogic
Methods in eus.ehu.hotelreservation.businessLogic that return types with arguments of type AvailableRoomModelModifier and TypeMethodDescriptionBlFacade.getAvailableRooms(String hotelName, LocalDate startDate, LocalDate endDate) Queries available room types for a given hotel and date range.BlFacadeImplementation.getAvailableRooms(String hotelName, LocalDate startDate, LocalDate endDate) Methods in eus.ehu.hotelreservation.businessLogic with parameters of type AvailableRoomModelModifier and TypeMethodDescriptionvoidBlFacade.reserveRoom(AvailableRoomModel room, LocalDate startDate, LocalDate endDate) Creates a reservation for the selected room type and charges 20% of the total price upfront as an advance payment.voidBlFacadeImplementation.reserveRoom(AvailableRoomModel room, LocalDate startDate, LocalDate endDate) -
Uses of AvailableRoomModel in eus.ehu.hotelreservation.dataAccess
Methods in eus.ehu.hotelreservation.dataAccess that return types with arguments of type AvailableRoomModelModifier and TypeMethodDescriptionDataAccess.getAvailableRooms(String hotelName, LocalDate startDate, LocalDate endDate) Returns available room types (not specific rooms) for a hotel and date range.Methods in eus.ehu.hotelreservation.dataAccess with parameters of type AvailableRoomModelModifier and TypeMethodDescriptionvoidDataAccess.reserveRoom(AvailableRoomModel room, LocalDate startDate, LocalDate endDate, Customer customer) Reserves a room of the given type at the given hotel for the date range.