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 OfficeAvailability.officeTheOfficeof theAvailability.private @NonNull OfficeNotification.officeTheOfficethat thisNotificationis requested to.private @NonNull OfficeOfficeWorkingDay.officeThe office to which this working day belongsprivate @NonNull OfficeRequestOffice.officeTheOfficethat is related to thisRequestOffice.private @NonNull OfficeWorker.officeThe 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 aRequestto anAvailabilityobject. -
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 TypeMethodDescriptionlongWorkerRepository.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 theOfficeWorkingDayentities for the givenOfficeentity. -
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 longWorkerMutationServiceImpl.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 voidWorkerMutationServiceImpl.createAvailabilities(Date startDate, Date endDate, List<Office> offices, Request request) Create availabilities for each office between start and end date and time.private booleanWorkerMutationServiceImpl.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 voidWorkerMutationServiceImpl.setNotifications(Date startDate, Date endDate, List<Office> offices, RequestType requestType) Set notifications asready = trueif they are between start and end date and time andready = falseotherwise.