Uses of Class
it.univr.passportease.entity.Request
Package
Description
-
Uses of Request in it.univr.passportease.controller.worker
Modifier and TypeMethodDescriptionWorkerMutationController.createRequest
(RequestInput requestInput) This mutation creates a request.WorkerQueryController.getRequestByAvailabilityID
(String id) This query returns the request with the given availability id.WorkerMutationController.modifyRequest
(String requestID, RequestInput requestInput) This mutation modifies a request. -
Uses of Request in it.univr.passportease.entity
Modifier and TypeFieldDescriptionprivate @NonNull Request
Availability.request
TheRequest
of theAvailability
.private @NonNull Request
RequestOffice.request
TheRequest
that is related to thisRequestOffice
. -
Uses of Request in it.univr.passportease.helper.map
Modifier and TypeMethodDescriptionMapRequest.mapRequestInputToRequest
(RequestInput requestInput, RequestType requestType, Worker worker) MapRequestInput
toRequest
Modifier and TypeMethodDescriptionMapRequestOffice.mapRequestAndOfficeToRequestOffice
(Request request, Office office) MapAvailability.mapRequestToAvailability
(Request request, Office office, LocalDate localDate, LocalTime time) Map aRequest
to anAvailability
object. -
Uses of Request in it.univr.passportease.repository
-
Uses of Request in it.univr.passportease.service.worker
Modifier and TypeMethodDescriptionWorkerMutationService.createRequest
(JWT token, RequestInput requestInput) Creates a request.WorkerQueryService.getRequestByAvailabilityID
(String id) Get all the requests with the given availability id.WorkerMutationService.modifyRequest
(JWT token, String requestID, RequestInput requestInput) Modifies a request. -
Uses of Request in it.univr.passportease.service.worker.impl
Modifier and TypeMethodDescriptionWorkerMutationServiceImpl.createRequest
(JWT token, RequestInput requestInput) Create request.WorkerQueryServiceImpl.getRequestByAvailabilityID
(String id) Get theRequest
associated to theAvailability
with the given id.WorkerMutationServiceImpl.modifyRequest
(JWT token, String requestID, RequestInput requestInput) Modify request.Modifier and TypeMethodDescriptionprivate void
WorkerMutationServiceImpl.createAvailabilities
(Date startDate, Date endDate, List<Office> offices, Request request) Create availabilities for each office between start and end date and time.private void
WorkerMutationServiceImpl.deleteAvailabilities
(Request request) Delete availabilities and requestOffice associated to a request.private static @NotNull Notification
WorkerMutationServiceImpl.getNotification
(Request request, Availability availability) Get notification for user that his request has been deleted.private void
WorkerMutationServiceImpl.processOfficeWorkingDays
(Day day, List<OfficeWorkingDay> officeWorkingDays, LocalDate date, Request request) Process office working days for a specific day.private void
WorkerMutationServiceImpl.processOfficeWorkingDayTimeSlot
(OfficeWorkingDay officeWorkingDay, LocalDate date, Request request) Process office working day time slot.