Uses of Class
de.gustavblass.fsu.fmi.roombooking.model.room.Room
Packages that use Room
Package
Description
-
Uses of Room in de.gustavblass.fsu.fmi.roombooking.mapper
Methods in de.gustavblass.fsu.fmi.roombooking.mapper that return RoomModifier and TypeMethodDescriptionprotected @NonNull RoomRoomMapper.createRoom(@NonNull NewRoomDTO dto) abstract RoomRoomMapper.fromDto(NewRoomDTO newRoomDTO) Converts aNewRoomDTOto aRoom.Methods in de.gustavblass.fsu.fmi.roombooking.mapper with parameters of type RoomModifier and TypeMethodDescriptionprotected abstract voidRoomMapper.basicUpdateRoomFromDto(NewRoomDTO editDto, Room room) Adjusts the givenRoomto match the given data-transfer object.abstract RoomDTOabstract NewRoomDTOConverts aRoomto a data-transfer object that can be used for editing.abstract RoomSummaryDTORoomMapper.toSummaryDto(Room room) Converts a givenRoomto aRoomSummaryDTO.voidRoomMapper.updateRoomFromDto(NewRoomDTO editDto, Room room) Adjusts the givenRoomto match the given data-transfer object. -
Uses of Room in de.gustavblass.fsu.fmi.roombooking.model.reservation
Fields in de.gustavblass.fsu.fmi.roombooking.model.reservation declared as RoomModifier and TypeFieldDescriptionprivate @NonNull RoomReservation.roomTheRoomblocked for use by theReservation.applicantbetween theReservation.startDateand theReservation.endDate.Methods in de.gustavblass.fsu.fmi.roombooking.model.reservation with parameters of type Room -
Uses of Room in de.gustavblass.fsu.fmi.roombooking.model.room
Subclasses of Room in de.gustavblass.fsu.fmi.roombooking.model.room -
Uses of Room in de.gustavblass.fsu.fmi.roombooking.model.room.equipment
Fields in de.gustavblass.fsu.fmi.roombooking.model.room.equipment declared as RoomModifier and TypeFieldDescriptionprivate @Nullable RoomIndividualEquipment.roomTheRoomthat thisRoom.equipmentis part of.Methods in de.gustavblass.fsu.fmi.roombooking.model.room.equipment that return types with arguments of type Room -
Uses of Room in de.gustavblass.fsu.fmi.roombooking.repository
Subinterfaces with type arguments of type Room in de.gustavblass.fsu.fmi.roombooking.repositoryModifier and TypeInterfaceDescriptioninterfaceFetches/saves Rooms from/to the database tablerooms.Methods in de.gustavblass.fsu.fmi.roombooking.repository that return types with arguments of type RoomModifier and TypeMethodDescription@NonNull org.springframework.data.domain.Page<Room> RoomRepository.findAll(@NonNull org.springframework.data.domain.Pageable pageable) A subset of all Rooms in the database table according to the givenPageable.@NonNull org.springframework.data.domain.Page<Room> RoomRepository.findAtLeastPartiallyAccessibleRooms(@NonNull org.springframework.data.domain.Pageable pageable) A subset – according to the givenPageable– of those Rooms in the database table that haveAccessibility.FULLorAccessibility.PARTIALas theRoom.accessibility.@NonNull org.springframework.data.domain.Page<Room> RoomRepository.findAtLeastPartiallyAccessibleRoomsByFloor(int floor, @NonNull org.springframework.data.domain.Pageable pageable) A subset – according to the givenPageable– of those Rooms in the database table that are located on the specified floor and haveAccessibility.FULLorAccessibility.PARTIALas theRoom.accessibility.@NonNull org.springframework.data.domain.Page<Room> RoomRepository.findByFloor(int floor, @NonNull org.springframework.data.domain.Pageable pageable) @NonNull org.springframework.data.domain.Page<Room> RoomRepository.findFullyAccessibleRooms(@NonNull org.springframework.data.domain.Pageable pageable) A subset – according to the givenPageable– of those Rooms in the database table that haveAccessibility.FULLas theRoom.accessibility.@NonNull org.springframework.data.domain.Page<Room> RoomRepository.findFullyAccessibleRoomsByFloor(int floor, @NonNull org.springframework.data.domain.Pageable pageable) A subset – according to the givenPageable– of those Rooms in the database table that are located on the specified floor and haveAccessibility.FULLas theRoom.accessibility.@NonNull org.springframework.data.domain.Page<Room> RoomRepository.findInaccessibleRooms(@NonNull org.springframework.data.domain.Pageable pageable) A subset – according to the givenPageable– of those Rooms in the database table that haveAccessibility.NONEas theRoom.accessibility(or null).@NonNull org.springframework.data.domain.Page<Room> RoomRepository.findInaccessibleRoomsByFloor(int floor, @NonNull org.springframework.data.domain.Pageable pageable) A subset – according to the givenPageable– of those Rooms in the database table that are located on the specified floor and haveAccessibility.NONEas theRoom.accessibility.RoomRepository.findRoomByNumber(@NonNull String number) Fetches theRoomwith the specifiedRoom.numberfrom the database table.Methods in de.gustavblass.fsu.fmi.roombooking.repository with parameters of type Room -
Uses of Room in de.gustavblass.fsu.fmi.roombooking.service
Methods in de.gustavblass.fsu.fmi.roombooking.service that return RoomModifier and TypeMethodDescription@NonNull RoomRoomService.findRoomByNumber(String number) Fetches theRoomwith the specifiedRoom.numberfrom the database table.Methods in de.gustavblass.fsu.fmi.roombooking.service that return types with arguments of type RoomModifier and TypeMethodDescription@NonNull org.springframework.data.domain.Page<Room> RoomService.findAll(@NonNull org.springframework.data.domain.Pageable pageable) A subset of all Rooms in the database table according to the givenPageable.@NonNull org.springframework.data.domain.Page<Room> RoomService.findRooms(@Nullable RoomStatus roomStatus, @Nullable Integer floor, @Nullable Accessibility accessibility, @NonNull org.springframework.data.domain.Pageable pageable) @NonNull org.springframework.data.domain.Page<Room> RoomService.findRooms(@Nullable Integer floor, @Nullable Accessibility accessibility, @NonNull org.springframework.data.domain.Pageable pageable) Finds all Rooms that match the given criteria.@NonNull org.springframework.data.domain.Page<Room> RoomService.findRoomsByFloor(int floor, @NonNull org.springframework.data.domain.Pageable pageable) @NonNull org.springframework.data.domain.Page<Room> RoomService.findRoomsByStatus(@NonNull RoomStatus roomStatus, @NonNull LocalDateTime startTime, @NonNull LocalDateTime endTime, @Nullable Integer floor, @Nullable Accessibility accessibility, @NonNull org.springframework.data.domain.Pageable pageable) Finds out which Rooms have the givenRoomStatusfor the specified time period and returns them.Methods in de.gustavblass.fsu.fmi.roombooking.service with parameters of type RoomModifier and TypeMethodDescription@NonNull RoomScheduleReservationService.buildSchedule(@NonNull Room room, @NonNull LocalDate date) Alias forReservationService.buildSchedule(Room, LocalDate, LocalTime, LocalTime)withLocalTime.MINas thestartTimeandLocalTime.MAXas theendTime.@NonNull RoomScheduleReservationService.buildSchedule(@NonNull Room room, @NonNull LocalDate date, @NonNull MergeOptions mergeOptions) Alias forReservationService.buildSchedule(Room, LocalDate, LocalTime, LocalTime, MergeOptions)withLocalTime.MINas the start time andLocalTime.MAXas the end time.@NonNull RoomScheduleReservationService.buildSchedule(@NonNull Room room, @NonNull LocalDate date, @NonNull LocalTime startTime, @NonNull LocalTime endTime) Alias forReservationService.buildSchedule(Room, LocalDate, LocalTime, LocalTime, MergeOptions)with merging disabled.@NonNull RoomScheduleReservationService.buildSchedule(@NonNull Room room, @NonNull LocalDate date, @NonNull LocalTime startTime, @NonNull LocalTime endTime, @NonNull MergeOptions mergeOptions) Creates aRoomSchedulefor the givenRoomon the givenLocalDatebetween the givenstartTimeandendTime.@NonNull RoomScheduleRoomService.buildSchedule(@NonNull Room room, @NonNull LocalDate date) @NonNull RoomScheduleRoomService.buildSchedule(@NonNull Room room, @NonNull LocalDate date, @NonNull MergeOptions mergeOptions) @NonNull RoomScheduleRoomService.buildSchedule(@NonNull Room room, @NonNull LocalDate date, @NonNull LocalTime startTime, @NonNull LocalTime endTime) @NonNull RoomScheduleRoomService.buildScheduleForToday(@NonNull Room room) @NonNull LinkedHashMap<DayOfWeek, RoomSchedule> RoomService.buildScheduleForWeek(@NonNull Room room, @NonNull LocalDate date) ReservationService.computeMaximumOccupancy(@NonNull Room room, @NonNull LocalDate date, @NonNull LocalTime startTime, @NonNull LocalTime endTime, int seatCount) Checks how many seats are available for use in the givenRoomduring the entire duration between thestartTimeandendTimeon the givendate.voidRoomService.createRoom(@NonNull Room room) Adds the givenRoomto the database.voidSaves the givenRoomto the database.@NonNull RoomStatusRoomService.getRoomStatus(@NonNull Room room, @NonNull LocalDateTime startTime, @NonNull LocalDateTime endTime) Checks theRoomStatusof the givenRoomfor the specified time period.booleanReservationService.isRoomFree(@NonNull Room room) booleanRoomService.isRoomFree(@NonNull Room room) booleanReservationService.isSeatReservationPossible(@NonNull Room room, @NonNull LocalDate date, @NonNull LocalTime startTime, @NonNull LocalTime endTime, int seatCount) Checks whether the given number of seats is available for use in the givenRoomduring the entire duration between thestartTimeandendTimeon the givendate.private voidRoomService.setEquipment(@NonNull Room room) Replaces the givenRoom's IndividualEquipmentTypes with matching existing ones, in order to allow the Room to be saved to the database without adding new equipment entites.