Uses of Record Class
de.gustavblass.fsu.fmi.roombooking.model.room.schedule.RoomScheduleItem
Packages that use RoomScheduleItem
Package
Description
-
Uses of RoomScheduleItem in de.gustavblass.fsu.fmi.roombooking.model.room.schedule
Fields in de.gustavblass.fsu.fmi.roombooking.model.room.schedule with type parameters of type RoomScheduleItemModifier and TypeFieldDescriptionprivate final @NonNull @Unmodifiable List<RoomScheduleItem> RoomSchedule.scheduleThe field for theschedulerecord component.Methods in de.gustavblass.fsu.fmi.roombooking.model.room.schedule that return types with arguments of type RoomScheduleItemModifier and TypeMethodDescription@NonNull @Unmodifiable List<RoomScheduleItem> RoomSchedule.getFreePeriods()@NonNull @Unmodifiable List<RoomScheduleItem> RoomSchedule.getOccupiedPeriods()@NonNull @Unmodifiable List<RoomScheduleItem> RoomSchedule.getPartiallyOrFullyOccupiedPeriods()@NonNull @Unmodifiable List<RoomScheduleItem> RoomSchedule.schedule()Returns the value of theschedulerecord component.Methods in de.gustavblass.fsu.fmi.roombooking.model.room.schedule with parameters of type RoomScheduleItemModifier and TypeMethodDescriptiondoubleMergeOptions.computeMergeScore(@NonNull RoomScheduleItem lastItem, @NonNull RoomScheduleItem newItem, int roomCapacity) Calculates a score that indicates how well the given RoomScheduleItems are suited for merging.booleanMergeOptions.isMergeRequired(@NonNull RoomScheduleItem lastItem, @NonNull RoomScheduleItem newItem, int roomCapacity) Determines whether the given two RoomScheduleItems shall be merged.private static booleanMergeOptions.isPairing(@NonNull RoomScheduleItem item1, @NonNull RoomScheduleItem item2, @NonNull RoomStatus status1, @NonNull RoomStatus status2, boolean orderMatters) Checks whether the given RoomScheduleItems have the given RoomStatuses as theRoomScheduleItem.status.private booleanMergeOptions.violatesMergeMode(@NonNull RoomScheduleItem item1, @NonNull RoomScheduleItem item2) Checks whether theMergeOptions.asymmetricMergeModeprohibits merging the given two RoomScheduleItems.Constructor parameters in de.gustavblass.fsu.fmi.roombooking.model.room.schedule with type arguments of type RoomScheduleItemModifierConstructorDescriptionRoomSchedule(@NonNull LocalDate date, @NonNull List<RoomScheduleItem> schedule) Constructs a new schedule. -
Uses of RoomScheduleItem in de.gustavblass.fsu.fmi.roombooking.service
Methods in de.gustavblass.fsu.fmi.roombooking.service that return RoomScheduleItemModifier and TypeMethodDescriptionprivate static @NonNull RoomScheduleItemReservationService.merge(@NonNull RoomScheduleItem item1, @NonNull RoomScheduleItem item2) Creates a newRoomScheduleItemfrom the two given ones.Methods in de.gustavblass.fsu.fmi.roombooking.service that return types with arguments of type RoomScheduleItemModifier and TypeMethodDescriptionstatic @NonNull @Unmodifiable List<RoomScheduleItem> ReservationService.convertSeatReservationChainToSchedule(@NonNull Collection<SeatReservation> chain, int capacity) Alias forReservationService.convertSeatReservationChainToSchedule(Collection, int, MergeOptions)with merging disabled.static @NonNull @Unmodifiable List<RoomScheduleItem> ReservationService.convertSeatReservationChainToSchedule(@NonNull Collection<SeatReservation> chain, int capacity, @NonNull MergeOptions mergeOptions) Creates a new list of RoomScheduleItems corresponding to the given chain of SeatReservations.static @NonNull @Unmodifiable List<RoomScheduleItem> ReservationService.merge(@NonNull List<RoomScheduleItem> schedule, int roomCapacity, @NonNull MergeOptions mergeOptions) Merges consecutive RoomScheduleItems in the given schedule according to the givenMergeOptions.Methods in de.gustavblass.fsu.fmi.roombooking.service with parameters of type RoomScheduleItemModifier and TypeMethodDescriptionprivate static @NonNull RoomScheduleItemReservationService.merge(@NonNull RoomScheduleItem item1, @NonNull RoomScheduleItem item2) Creates a newRoomScheduleItemfrom the two given ones.Method parameters in de.gustavblass.fsu.fmi.roombooking.service with type arguments of type RoomScheduleItemModifier and TypeMethodDescriptionstatic @NonNull @Unmodifiable List<RoomScheduleItem> ReservationService.merge(@NonNull List<RoomScheduleItem> schedule, int roomCapacity, @NonNull MergeOptions mergeOptions) Merges consecutive RoomScheduleItems in the given schedule according to the givenMergeOptions.