Uses of Class
it.univr.passportease.entity.Availability
Package
Description
-
Uses of Availability in it.univr.passportease.controller
Modifier and TypeMethodDescriptionUserWorkerQueryController.getAvailabilities
(AvailabilityFilters availabilityFilters, Integer size, Integer page) This query returns the availabilities matching the given filters. -
Uses of Availability in it.univr.passportease.controller.user
Modifier and TypeMethodDescriptionUserMutationController.createReservation
(String availabilityID) This mutation creates a reservation from an availability.Modifier and TypeMethodDescriptionUserQueryController.getUserReservations()
This query returns the reservations associated to the user. -
Uses of Availability in it.univr.passportease.dto.input
Modifier and TypeMethodDescriptionjakarta.persistence.criteria.Predicate
AvailabilityFilters.toPredicate
(@NotNull jakarta.persistence.criteria.Root<Availability> root, @NotNull jakarta.persistence.criteria.CriteriaQuery<?> query, @NotNull jakarta.persistence.criteria.CriteriaBuilder criteriaBuilder) Creates aPredicate
from theAvailabilityFilters
object. -
Uses of Availability in it.univr.passportease.helper.map
Modifier and TypeMethodDescriptionMapAvailability.mapRequestToAvailability
(Request request, Office office, LocalDate localDate, LocalTime time) Map aRequest
to anAvailability
object. -
Uses of Availability in it.univr.passportease.repository
Modifier and TypeMethodDescription@NotNull List
<Availability> AvailabilityRepository.findAll
(@NotNull org.springframework.data.jpa.domain.Specification<Availability> specification) Find theAvailability
entities that satisfy the givenSpecification
.AvailabilityRepository.findByRequestId
(UUID requestId) AvailabilityRepository.findByStatus
(Status status) Find the list ofAvailability
entities that have the given status.AvailabilityRepository.findByUser
(User user) Find the list ofAvailability
entities that have the givenUser
id.ReservationRepository.findByUserId
(UUID id) Finds all theAvailability
entities associated to the given user.Modifier and TypeMethodDescription@NotNull List
<Availability> AvailabilityRepository.findAll
(@NotNull org.springframework.data.jpa.domain.Specification<Availability> specification) Find theAvailability
entities that satisfy the givenSpecification
. -
Uses of Availability in it.univr.passportease.service.user
Modifier and TypeMethodDescriptionUserMutationService.createReservation
(UUID availabilityId, User user) Creates a new availability.Modifier and TypeMethodDescriptionUserQueryService.getUserReservations
(JWT token) Get the list of reservations of the user. -
Uses of Availability in it.univr.passportease.service.user.impl
Modifier and TypeMethodDescriptionUserMutationServiceImpl.createReservation
(UUID availabilityId, User user) Creates a reservation by id, setting the availability status toStatus.TAKEN
Modifier and TypeMethodDescriptionUserQueryServiceImpl.getUserReservations
(JWT token) Get the list of reservations of the user. -
Uses of Availability in it.univr.passportease.service.userworker
Modifier and TypeMethodDescriptionUserWorkerQueryService.getAvailabilities
(AvailabilityFilters availabilityFilters, Integer page, Integer size) Get the list of availabilities. -
Uses of Availability in it.univr.passportease.service.userworker.impl
Modifier and TypeMethodDescriptionUserWorkerQueryServiceImpl.getAvailabilities
(AvailabilityFilters availabilityFilters, Integer page, Integer size) Get all the availabilities that match the filters -
Uses of Availability in it.univr.passportease.service.worker.impl
Modifier and TypeMethodDescriptionprivate static @NotNull Notification
WorkerMutationServiceImpl.getNotification
(Request request, Availability availability) Get notification for user that his request has been deleted.