Uses of Class
it.univr.passportease.entity.Office
Packages that use Office
Package
Description
-
Uses of Office in it.univr.passportease.controller
Methods in it.univr.passportease.controller that return types with arguments of type OfficeModifier and TypeMethodDescriptionUserWorkerQueryController.getOffices()
This query returns all the offices in the database. -
Uses of Office in it.univr.passportease.dto.input
Fields in it.univr.passportease.dto.input declared as Office -
Uses of Office in it.univr.passportease.entity
Fields in it.univr.passportease.entity declared as OfficeModifier and TypeFieldDescriptionprivate @NonNull Office
Availability.office
TheOffice
of theAvailability
.private @NonNull Office
Notification.office
TheOffice
that thisNotification
is requested to.private @NonNull Office
OfficeWorkingDay.office
The office to which this working day belongsprivate @NonNull Office
RequestOffice.office
TheOffice
that is related to thisRequestOffice
.private @NonNull Office
Worker.office
The office of theWorker
. -
Uses of Office in it.univr.passportease.helper.map
Methods in it.univr.passportease.helper.map with parameters of type OfficeModifier and TypeMethodDescriptionMapRequestOffice.mapRequestAndOfficeToRequestOffice
(Request request, Office office) MapAvailability.mapRequestToAvailability
(Request request, Office office, LocalDate localDate, LocalTime time) Map aRequest
to anAvailability
object. -
Uses of Office in it.univr.passportease.repository
Methods in it.univr.passportease.repository that return types with arguments of type OfficeModifier and TypeMethodDescriptionOfficeRepository.findAllByNameIn
(List<String> names) Find all the offices with the given names.OfficeRepository.findByName
(String name) Find the office with the given name.Methods in it.univr.passportease.repository with parameters of type OfficeModifier and TypeMethodDescriptionlong
WorkerRepository.countByOffice
(Office office) Counts the number of workers of the givenOffice
.NotificationRepository.findAllByOfficeAndIsReadyAndRequestType
(Office office, boolean isReady, RequestType requestType) Find all the notifications for the given office, ready status and request type.OfficeWorkingDayRepository.findByOffice
(Office office) Find all theOfficeWorkingDay
entities for the givenOffice
entity. -
Uses of Office in it.univr.passportease.service.userworker
Methods in it.univr.passportease.service.userworker that return types with arguments of type Office -
Uses of Office in it.univr.passportease.service.userworker.impl
Methods in it.univr.passportease.service.userworker.impl that return types with arguments of type Office -
Uses of Office in it.univr.passportease.service.worker.impl
Methods in it.univr.passportease.service.worker.impl with parameters of type OfficeModifier and TypeMethodDescriptionprivate long
WorkerMutationServiceImpl.countBusyWorkersInOffice
(Office office, RequestInput requestInput) Count busy workers in office, between start and end date and time.Method parameters in it.univr.passportease.service.worker.impl with type arguments of type OfficeModifier 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 boolean
WorkerMutationServiceImpl.isWorkersNotEnoughForRequest
(RequestInput requestInput, List<Office> offices) Check if there are not enough workers for the request, by checking if there are more requests than workers in each office.private void
WorkerMutationServiceImpl.setNotifications
(Date startDate, Date endDate, List<Office> offices, RequestType requestType) Set notifications asready = true
if they are between start and end date and time andready = false
otherwise.