Changeset 0f5aa27 for src/main/java/com/tourMate/services/HotelManager.java
- Timestamp:
- 02/04/24 16:57:49 (10 months ago)
- Branches:
- master
- Children:
- efaa053
- Parents:
- 07f4e8b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/tourMate/services/HotelManager.java
r07f4e8b r0f5aa27 25 25 public HotelRoom findRoomById (long hotelRoomId); 26 26 public List<HotelRoomImages> getRoomImages(Long hotelRoom); 27 public void createRoom( Hotels hotel, String hotelRoomDescription, String hotelRoomName, Boolean kitchenAvailable, Boolean airConditioning, Boolean balcony, double price, int numOfBeds);27 public void createRoom(Long hotelId, String hotelRoomDescription, String hotelRoomName, Boolean kitchenAvailable, Boolean airConditioning, Boolean balcony, double price, int numOfBeds); 28 28 public void editRoom(long hotelRoomId, Hotels hotel, String hotelRoomDescription, String hotelRoomName, Boolean kitchenAvailable, Boolean airConditioning, Boolean balcony, double price); 29 29 public void deleteRoom(long hotelRoomId); 30 public void createRoomAvailible( HotelRoomhotelRoom, Date dateFrom, Date dateTo, int numberOfBeds);30 public void createRoomAvailible(long hotelRoom, Date dateFrom, Date dateTo, int numberOfBeds); 31 31 public void editRoomAvailible(long hotelRoomAvailableId, HotelRoom hotelRoom, Date dateFrom, Date dateTo, int numberOfBeds); 32 32 public void editRoomAvailibleReservation(Long HotelRoomAvailableId, Long hotelRoomId, Date from, Date to, int numberOfBeds); … … 36 36 public List<HotelRoomAvailable> getRoomsAvailableById(Long id); 37 37 public List<HotelRoomAvailable> getRoomsAvailibilityByHotel(Hotels hotel); 38 39 List<HotelRoomReservations> getReservationsInPeriod(String hotelLocation, Date dateFrom, Date dateTo); 40 38 41 public List<HotelDto> getRoomsAvailibilityByDateAndLocation(String hotelLocation, Date dateFrom, Date dateTo, int numberOfBeds, Boolean flexible); 39 42 public void createReservation(Long userId, Long hotelRoomId, Long hotelRoomAvailableId, Date dateFrom, Date dateTo, Integer numberOfBeds);
Note:
See TracChangeset
for help on using the changeset viewer.