Index

A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ACCESS_TOKEN_KEY - Static variable in class it.univr.passportease.service.jwt.JwtService
The access token key used to sign the access token.
accessToken - Variable in record class it.univr.passportease.dto.output.JWTSet
The field for the accessToken record component.
accessToken() - Method in record class it.univr.passportease.dto.output.JWTSet
Returns the value of the accessToken record component.
active - Variable in class it.univr.passportease.dto.input.RegisterInputDB
The active status.
active - Variable in class it.univr.passportease.entity.User
A boolean that indicates if the User is active or not
addAuthorities(String, List<GrantedAuthority>, String) - Method in class it.univr.passportease.config.AppUserDetailsService
Add the authorities to the list of authorities of the user
address - Variable in class it.univr.passportease.dto.input.OfficeInput
The address of the office.
address - Variable in class it.univr.passportease.dto.output.ReportDetails
The address of the office.
address - Variable in class it.univr.passportease.entity.Office
The address of this Office.
AppUserDetails - Class in it.univr.passportease.config
Implementation of UserDetails that represents a user
AppUserDetails(UUID, String, List<GrantedAuthority>) - Constructor for class it.univr.passportease.config.AppUserDetails
Constructor of AppUserDetails.
AppUserDetailsService - Class in it.univr.passportease.config
This class is used by spring security to authenticate and authorize users
AppUserDetailsService(UserRepository, WorkerRepository, RedisTemplate<String, String>) - Constructor for class it.univr.passportease.config.AppUserDetailsService
Constructor of AppUserDetailsService.
areNotDatesValid(Date, Date) - Method in class it.univr.passportease.service.userworker.impl.UserWorkerQueryServiceImpl
 
areNotTimesValid(LocalTime, LocalTime) - Method in class it.univr.passportease.service.userworker.impl.UserWorkerQueryServiceImpl
 
AuthenticationCredentialsNotFoundException - Exception Class in it.univr.passportease.exception.security
This exception is thrown when the credentials are not found in the request made to the server.
AuthenticationCredentialsNotFoundException(String) - Constructor for exception class it.univr.passportease.exception.security.AuthenticationCredentialsNotFoundException
authenticationManager - Variable in class it.univr.passportease.service.user.impl.UserAuthServiceImpl
The service that handles the authentication.
authenticationManager - Variable in class it.univr.passportease.service.worker.impl.WorkerAuthServiceImpl
Service for authenticating Worker
authenticationManager(AuthenticationConfiguration) - Method in class it.univr.passportease.config.SecurityConfig
Creates an AuthenticationManager bean, used to authenticate the user.
authenticationProvider() - Method in class it.univr.passportease.config.SecurityConfig
Creates an AuthenticationProvider bean, used to authenticate the user.
authorities - Variable in class it.univr.passportease.config.AppUserDetails
The authorities of the user
Availability - Class in it.univr.passportease.entity
The Availability class is an entity model object.
Availability() - Constructor for class it.univr.passportease.entity.Availability
 
AvailabilityFilters - Class in it.univr.passportease.dto.input
Filters to apply to the Availability query.
AvailabilityFilters() - Constructor for class it.univr.passportease.dto.input.AvailabilityFilters
 
AvailabilityNotFoundException - Exception Class in it.univr.passportease.exception.notfound
This exception is thrown when an availability is not found.
AvailabilityNotFoundException(String) - Constructor for exception class it.univr.passportease.exception.notfound.AvailabilityNotFoundException
availabilityRepository - Variable in class it.univr.passportease.service.user.impl.UserMutationServiceImpl
The repository for Availability entity.
availabilityRepository - Variable in class it.univr.passportease.service.userworker.impl.UserWorkerQueryServiceImpl
Repository for Availability entity
availabilityRepository - Variable in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Repository for Availability entity.
AvailabilityRepository - Interface in it.univr.passportease.repository
Repository for Availability entity.

B

badRequestError(Throwable, DataFetchingEnvironment) - Static method in class it.univr.passportease.exception.GraphQLExceptionHandler
Handles the exceptions thrown by the GraphQL queries and mutations of type Bad Request.
bucketCache - Variable in class it.univr.passportease.helper.ratelimiter.BucketLimiter
The cache of the buckets.
bucketLimiter - Variable in class it.univr.passportease.controller.user.UserAuthController
Bucket limiter.
bucketLimiter - Variable in class it.univr.passportease.controller.user.UserMutationController
Bucket limiter.
bucketLimiter - Variable in class it.univr.passportease.controller.user.UserQueryController
Bucket limiter.
bucketLimiter - Variable in class it.univr.passportease.controller.UserWorkerQueryController
Bucket limiter for rate limiting.
bucketLimiter - Variable in class it.univr.passportease.controller.worker.WorkerAuthController
Bucket limiter.
bucketLimiter - Variable in class it.univr.passportease.controller.worker.WorkerMutationController
Bucket limiter.
bucketLimiter - Variable in class it.univr.passportease.controller.worker.WorkerQueryController
Bucket limiter.
BucketLimiter - Class in it.univr.passportease.helper.ratelimiter
This class is used to resolve the bucket for each method.
BucketLimiter() - Constructor for class it.univr.passportease.helper.ratelimiter.BucketLimiter
 

C

CANCELLED - Enum constant in enum class it.univr.passportease.entity.enums.Status
The Availability has been cancelled by the worker.
category - Variable in class it.univr.passportease.entity.CitizenCategory
Category - Class in it.univr.passportease.entity
The Category entity that represents a category of a Citizen.
Category() - Constructor for class it.univr.passportease.entity.Category
 
CHANGE_EMAIL - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
CHANGE_PASSWORD - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
changeEmail(String, String) - Method in class it.univr.passportease.controller.user.UserAuthController
This mutation changes the email of the user.
changeEmail(String, String) - Method in class it.univr.passportease.service.userworker.impl.UserWorkerMutationServiceImpl
Changes the email of the user or worker.
changeEmail(String, String) - Method in interface it.univr.passportease.service.userworker.UserWorkerMutationService
Change email in the database
changePassword(String, String) - Method in class it.univr.passportease.controller.user.UserAuthController
This mutation changes the password of the user.
changePassword(String, String) - Method in class it.univr.passportease.service.userworker.impl.UserWorkerMutationServiceImpl
Changes the password of the user or worker.
changePassword(String, String) - Method in interface it.univr.passportease.service.userworker.UserWorkerMutationService
Change password in the database
citizen - Variable in class it.univr.passportease.entity.CitizenCategory
Citizen - Class in it.univr.passportease.entity
The Citizen class is an entity that represents a citizen.
Citizen() - Constructor for class it.univr.passportease.entity.Citizen
 
CitizenCategory - Class in it.univr.passportease.entity
The CitizenCategory entity that represents a category of a Citizen.
CitizenCategory() - Constructor for class it.univr.passportease.entity.CitizenCategory
 
citizenRepository - Variable in class it.univr.passportease.service.user.impl.UserAuthServiceImpl
The repository for Citizen entity.
CitizenRepository - Interface in it.univr.passportease.repository
Repository for Citizen entity.
cityOfBirth - Variable in class it.univr.passportease.dto.input.RegisterInput
The city of birth of the user.
cityOfBirth - Variable in class it.univr.passportease.dto.output.ReportDetails
The city of birth of the user.
cityOfBirth - Variable in class it.univr.passportease.entity.Citizen
The city of birth of this Citizen.
cityOfBirth - Variable in class it.univr.passportease.entity.User
The city of birth of the User
countBusyWorkersInOffice(Office, RequestInput) - Method in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Count busy workers in office, between start and end date and time.
countByOffice(Office) - Method in interface it.univr.passportease.repository.WorkerRepository
Counts the number of workers of the given Office.
CREATE_NOTIFICATION - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
CREATE_REQUEST - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
CREATE_RESERVATION - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
createAccessToken(Map<String, Object>, UUID) - Method in class it.univr.passportease.service.jwt.JwtService
Generates a new access token.
createAvailabilities(Date, Date, List<Office>, Request) - Method in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Create availabilities for each office between start and end date and time.
createdAt - Variable in class it.univr.passportease.entity.Availability
The creation Date of the Availability.
createdAt - Variable in class it.univr.passportease.entity.Category
The Date of creation of this Category.
createdAt - Variable in class it.univr.passportease.entity.Citizen
The Date of creation of this Citizen.
createdAt - Variable in class it.univr.passportease.entity.CitizenCategory
The date when this CitizenCategory was created.
createdAt - Variable in class it.univr.passportease.entity.Notification
The Date of when this Notification was created.
createdAt - Variable in class it.univr.passportease.entity.Office
The Date when this Office was created.
createdAt - Variable in class it.univr.passportease.entity.OfficeWorkingDay
The date and time of the creation of this object
createdAt - Variable in class it.univr.passportease.entity.Request
The creation date of the Request.
createdAt - Variable in class it.univr.passportease.entity.RequestOffice
The date and time when this RequestOffice was created.
createdAt - Variable in class it.univr.passportease.entity.RequestType
The Date of creation of the RequestType
createdAt - Variable in class it.univr.passportease.entity.User
The creation date of the User
createdAt - Variable in class it.univr.passportease.entity.Worker
The Date of creation of the Worker
createNotification(NotificationInput) - Method in class it.univr.passportease.controller.user.UserMutationController
This mutation creates a notification.
createNotification(NotificationInput, User) - Method in class it.univr.passportease.service.user.impl.UserMutationServiceImpl
Creates a notification.
createNotification(NotificationInput, User) - Method in interface it.univr.passportease.service.user.UserMutationService
Creates a new notification.
createRefreshToken(UUID) - Method in class it.univr.passportease.service.jwt.JwtService
Generates a new refresh token.
createRequest(RequestInput) - Method in class it.univr.passportease.controller.worker.WorkerMutationController
This mutation creates a request.
createRequest(JWT, RequestInput) - Method in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Create request.
createRequest(JWT, RequestInput) - Method in interface it.univr.passportease.service.worker.WorkerMutationService
Creates a request.
createReservation(String) - Method in class it.univr.passportease.controller.user.UserMutationController
This mutation creates a reservation from an availability.
createReservation(UUID, User) - Method in class it.univr.passportease.service.user.impl.UserMutationServiceImpl
Creates a reservation by id, setting the availability status to Status.TAKEN
createReservation(UUID, User) - Method in interface it.univr.passportease.service.user.UserMutationService
Creates a new availability.

D

date - Variable in class it.univr.passportease.entity.Availability
The date of the Availability.
dateOfAvailability - Variable in class it.univr.passportease.dto.output.ReportDetails
The date of availability requested by the user.
dateOfBirth - Variable in class it.univr.passportease.dto.input.RegisterInput
The date of birth of the user.
dateOfBirth - Variable in class it.univr.passportease.dto.output.ReportDetails
The date of birth of the user.
dateOfBirth - Variable in class it.univr.passportease.entity.Citizen
The date of birth of this Citizen.
dateOfBirth - Variable in class it.univr.passportease.entity.User
The date of birth of the User
day - Variable in class it.univr.passportease.entity.OfficeWorkingDay
The day of the week
Day - Enum Class in it.univr.passportease.entity.enums
Week days.
Day() - Constructor for enum class it.univr.passportease.entity.enums.Day
 
DELETE_NOTIFICATION - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
DELETE_REQUEST - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
DELETE_RESERVATION - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
deleteAvailabilities(Request) - Method in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Delete availabilities and requestOffice associated to a request.
deleteByFiscalCode(String) - Method in interface it.univr.passportease.repository.CitizenRepository
Delete the citizen with the given fiscal code.
deleteByFiscalCode(String) - Method in interface it.univr.passportease.repository.UserRepository
Deletes a user by its id.
deleteNotification(UUID) - Method in class it.univr.passportease.controller.user.UserMutationController
This mutation deletes a notification.
deleteNotification(UUID) - Method in class it.univr.passportease.service.user.impl.UserMutationServiceImpl
Deletes a notification by id
deleteNotification(UUID) - Method in interface it.univr.passportease.service.user.UserMutationService
Deletes a notification.
deleteRequest(JWT, String) - Method in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Delete request.
deleteRequest(JWT, String) - Method in interface it.univr.passportease.service.worker.WorkerMutationService
Deletes a request.
deleteRequest(String) - Method in class it.univr.passportease.controller.worker.WorkerMutationController
This mutation deletes a request.
deleteReservation(String) - Method in class it.univr.passportease.controller.user.UserMutationController
This mutation deletes a reservation.
deleteReservation(UUID) - Method in class it.univr.passportease.service.user.impl.UserMutationServiceImpl
Deletes a reservation by id, setting the availability status to Status.FREE and setting the availability user to null
deleteReservation(UUID) - Method in interface it.univr.passportease.service.user.UserMutationService
Deletes an availability.
description - Variable in class it.univr.passportease.entity.Category
The description of this Category.
doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class it.univr.passportease.filter.JwtAuthFilter
Checks if the user is authenticated.
duration - Variable in class it.univr.passportease.dto.input.RequestInput
The duration of the request in minutes.
duration - Variable in class it.univr.passportease.entity.Request
The duration of the Request.

E

email - Variable in class it.univr.passportease.dto.input.RegisterInput
The email of the user.
email - Variable in class it.univr.passportease.dto.input.WorkerInput
The email of the worker.
email - Variable in class it.univr.passportease.entity.User
The unique email of the User
email - Variable in class it.univr.passportease.entity.Worker
The email of the Worker.
EMAIL_VALID_REGEX - Static variable in class it.univr.passportease.service.userworker.impl.UserWorkerMutationServiceImpl
The regex used to check if the email is valid.
emailValid(String) - Method in class it.univr.passportease.service.userworker.impl.UserWorkerMutationServiceImpl
Checks if the email is valid.
endDate - Variable in class it.univr.passportease.dto.input.AvailabilityFilters
The end date to filter the query by.
endDate - Variable in class it.univr.passportease.dto.input.NotificationInput
The end date of the period of time in which the user wants to be notified.
endDate - Variable in class it.univr.passportease.dto.input.RequestInput
The end date of the request.
endDate - Variable in class it.univr.passportease.entity.Notification
The end date of this Notification, that is the date of when the User wants to end the notification.
endDate - Variable in class it.univr.passportease.entity.Request
The end date of the Request.
endTime - Variable in class it.univr.passportease.dto.input.AvailabilityFilters
The end time to filter the query by.
endTime - Variable in class it.univr.passportease.dto.input.RequestInput
The end time of the request.
endTime - Variable in class it.univr.passportease.entity.Request
The end time of the Request.
endTime1 - Variable in class it.univr.passportease.entity.OfficeWorkingDay
The start time and the end time of the second time interval
endTime2 - Variable in class it.univr.passportease.entity.OfficeWorkingDay
The start time and the end time of the second time interval, can be null if the office is open only in the morning
equals(Object) - Method in record class it.univr.passportease.dto.output.JWTSet
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class it.univr.passportease.dto.output.LoginOutput
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class it.univr.passportease.entity.Availability
Equals method for Availability.
equals(Object) - Method in class it.univr.passportease.entity.Category
Equals method for this Category.
equals(Object) - Method in class it.univr.passportease.entity.Citizen
Equals method for this Citizen.
equals(Object) - Method in class it.univr.passportease.entity.CitizenCategory
Equals method for this CitizenCategory.
equals(Object) - Method in class it.univr.passportease.entity.Notification
Equals method for this Notification.
equals(Object) - Method in class it.univr.passportease.entity.Office
Equals method for Office class.
equals(Object) - Method in class it.univr.passportease.entity.OfficeWorkingDay
Equal Method of OfficeWorkingDay
equals(Object) - Method in class it.univr.passportease.entity.Request
Equals method for Request.
equals(Object) - Method in class it.univr.passportease.entity.RequestOffice
Equals method for this RequestOffice.
equals(Object) - Method in class it.univr.passportease.entity.RequestType
Two RequestType are equals if they have the same id.
equals(Object) - Method in class it.univr.passportease.entity.User
Equals method for the User class
equals(Object) - Method in class it.univr.passportease.entity.Worker
Equals method for the Worker class.
existsById(UUID) - Method in interface it.univr.passportease.repository.UserRepository
Checks if a user with the given fiscal code exists.
extractAllClaims(JWT) - Method in class it.univr.passportease.service.jwt.JwtService
Extracts all the claims of the token.
extractClaim(JWT, Function<Claims, T>) - Method in class it.univr.passportease.service.jwt.JwtService
Extracts the claims of the token.
extractExpiration(JWT) - Method in class it.univr.passportease.service.jwt.JwtService
Extracts the expiration date of the token.
extractId(JWT) - Method in class it.univr.passportease.service.jwt.JwtService
Extracts the id of the user or worker from the token.

F

filtersValidation(AvailabilityFilters) - Method in class it.univr.passportease.service.userworker.impl.UserWorkerQueryServiceImpl
The filters are not valid if: start date is after end date start time is after end time one of the offices doesn't exist one of the request types doesn't exist
findAll(Specification<Availability>) - Method in interface it.univr.passportease.repository.AvailabilityRepository
Find the Availability entities that satisfy the given Specification.
findAllByNameIn(List<String>) - Method in interface it.univr.passportease.repository.OfficeRepository
Find all the offices with the given names.
findAllByOfficeAndIsReadyAndRequestType(Office, boolean, RequestType) - Method in interface it.univr.passportease.repository.NotificationRepository
Find all the notifications for the given office, ready status and request type.
findByFiscalCode(String) - Method in interface it.univr.passportease.repository.CitizenRepository
Find the citizen with the given fiscal code.
findByFiscalCode(String) - Method in interface it.univr.passportease.repository.UserRepository
Finds a user by its fiscal code.
findById(UUID) - Method in interface it.univr.passportease.repository.UserRepository
Finds a user by its id.
findById(UUID) - Method in interface it.univr.passportease.repository.WorkerRepository
Finds a Worker by its id.
findByName(String) - Method in interface it.univr.passportease.repository.OfficeRepository
Find the office with the given name.
findByName(String) - Method in interface it.univr.passportease.repository.RequestTypeRepository
Finds the RequestType with the given name.
findByOffice(Office) - Method in interface it.univr.passportease.repository.OfficeWorkingDayRepository
Find all the OfficeWorkingDay entities for the given Office entity.
findByRequestId(UUID) - Method in interface it.univr.passportease.repository.AvailabilityRepository
Find the Availability entities that satisfy the given Specification and have the given Request id.
findByRequestId(UUID) - Method in interface it.univr.passportease.repository.RequestOfficeRepository
Finds all the RequestOffice associated to the given request id.
findByStatus(Status) - Method in interface it.univr.passportease.repository.AvailabilityRepository
Find the list of Availability entities that have the given status.
findByUser(User) - Method in interface it.univr.passportease.repository.AvailabilityRepository
Find the list of Availability entities that have the given User id.
findByUserId(UUID) - Method in interface it.univr.passportease.repository.NotificationRepository
Find all the notifications for the user with the given id.
findByUserId(UUID) - Method in interface it.univr.passportease.repository.ReservationRepository
Finds all the Availability entities associated to the given user.
findByUsername(String) - Method in interface it.univr.passportease.repository.WorkerRepository
Finds a Worker by its username.
fiscalCode - Variable in class it.univr.passportease.dto.input.RegisterInput
The fiscal code of the user.
fiscalCode - Variable in class it.univr.passportease.dto.output.ReportDetails
The fiscal code of the user.
fiscalCode - Variable in class it.univr.passportease.entity.Citizen
The fiscal code of this Citizen.
fiscalCode - Variable in class it.univr.passportease.entity.User
The unique fiscal code of the User
forbiddenError(Throwable, DataFetchingEnvironment) - Static method in class it.univr.passportease.exception.GraphQLExceptionHandler
Handles the exceptions thrown by the GraphQL queries and mutations of type Forbidden.
FREE - Enum constant in enum class it.univr.passportease.entity.enums.Status
The Availability is free and can be booked.
FRIDAY - Enum constant in enum class it.univr.passportease.entity.enums.Day
Friday.

G

generateAccessToken(UUID) - Method in class it.univr.passportease.service.jwt.JwtService
Generates a new access token.
generateRefreshToken(UUID) - Method in class it.univr.passportease.service.jwt.JwtService
Generates a new refresh token.
GET_ALL_REQUEST_TYPES - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
GET_AVAILABILITIES - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
GET_OFFICES - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
GET_REPORT_DETAILS_BY_AVAILABILITY_ID - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
GET_REQUEST_BY_AVAILABILITY_ID - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
GET_REQUEST_TYPES_BY_USER - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
GET_USER_DETAILS - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
GET_USER_NOTIFICATIONS - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
GET_USER_RESERVATIONS - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
getAccessSignKey() - Method in class it.univr.passportease.service.jwt.JwtService
Gets the SecretKey used to sign the access token.
getAllRequestTypes() - Method in class it.univr.passportease.controller.worker.WorkerQueryController
This query returns all the request types in the database.
getAllRequestTypes() - Method in class it.univr.passportease.service.worker.impl.WorkerQueryServiceImpl
Get all the RequestType.
getAllRequestTypes() - Method in interface it.univr.passportease.service.worker.WorkerQueryService
Get all the requests in the database.
getAvailabilities(AvailabilityFilters, Integer, Integer) - Method in class it.univr.passportease.controller.UserWorkerQueryController
This query returns the availabilities matching the given filters.
getAvailabilities(AvailabilityFilters, Integer, Integer) - Method in class it.univr.passportease.service.userworker.impl.UserWorkerQueryServiceImpl
Get all the availabilities that match the filters
getAvailabilities(AvailabilityFilters, Integer, Integer) - Method in interface it.univr.passportease.service.userworker.UserWorkerQueryService
Get the list of availabilities.
getBandwidth() - Method in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
Get the default rate limiter for the enum value.
getBandwidth(int) - Method in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
Get the rate limiter for the enum value with the specified number of seconds.
getEmail() - Method in interface it.univr.passportease.helper.UserType
Returns the email of the user or worker.
getHashPassword() - Method in interface it.univr.passportease.helper.UserType
Returns the hash password of the user or worker.
getHigherTime(LocalTime, LocalTime) - Method in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Get higher time between time 1 and time 2, that is the time that is after the other.
getLimit() - Method in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
Get the rate limiter for the enum value.
getLowerTime(LocalTime, LocalTime) - Method in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Get lower time between time 1 and time 2, that is the time that is before the other.
getNotification(Request, Availability) - Static method in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Get notification for user that his request has been deleted.
getOfficeRequests(UUID, Date, Date) - Method in interface it.univr.passportease.repository.RequestRepository
Finds all the Request associated to the given worker id.
getOffices() - Method in class it.univr.passportease.controller.UserWorkerQueryController
This query returns all the offices in the database.
getOffices() - Method in class it.univr.passportease.service.userworker.impl.UserWorkerQueryServiceImpl
Get all the offices
getOffices() - Method in interface it.univr.passportease.service.userworker.UserWorkerQueryService
Get the list of offices.
getOrCreateRequestType(String) - Method in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Get request type if exists, otherwise create it and return it.
getRefreshSignKey() - Method in class it.univr.passportease.service.jwt.JwtService
Gets the SecretKey used to sign the refresh token.
getRefreshToken() - Method in interface it.univr.passportease.helper.UserType
Returns the refresh token of the user or worker.
getReportDetailsByAvailabilityID(String) - Method in class it.univr.passportease.controller.user.UserQueryController
This query returns the report details for the given availability id.
getReportDetailsByAvailabilityID(String, JWT) - Method in class it.univr.passportease.service.user.impl.UserQueryServiceImpl
Get the report details of the availability with the given UUID.
getReportDetailsByAvailabilityID(String, JWT) - Method in interface it.univr.passportease.service.user.UserQueryService
Get the list of information for the user to generate a report.
getRequestByAvailabilityID(String) - Method in class it.univr.passportease.controller.worker.WorkerQueryController
This query returns the request with the given availability id.
getRequestByAvailabilityID(String) - Method in class it.univr.passportease.service.worker.impl.WorkerQueryServiceImpl
Get the Request associated to the Availability with the given id.
getRequestByAvailabilityID(String) - Method in interface it.univr.passportease.service.worker.WorkerQueryService
Get all the requests with the given availability id.
getRequestTypesByUser() - Method in class it.univr.passportease.controller.user.UserQueryController
This query returns the request types associated to the user.
getRequestTypesByUser(JWT) - Method in class it.univr.passportease.service.user.impl.UserQueryServiceImpl
Get the list of request types that the user can make.
getRequestTypesByUser(JWT) - Method in interface it.univr.passportease.service.user.UserQueryService
Get the list of request types for the user.
getRoleById(UUID) - Method in class it.univr.passportease.service.jwt.JwtService
Gets the role of the user or worker.
getTokenFromRequest() - Method in class it.univr.passportease.helper.RequestAnalyzer
This method extracts the JWT token from the Authorization header of the request.
getUserDetails() - Method in class it.univr.passportease.controller.user.UserQueryController
This query returns the user details associated to the user.
getUserDetails(JWT) - Method in class it.univr.passportease.service.user.impl.UserQueryServiceImpl
Get the user details from the JWT token.
getUserDetails(JWT) - Method in interface it.univr.passportease.service.user.UserQueryService
Get the user details from the JWT token.
getUsername() - Method in class it.univr.passportease.config.AppUserDetails
 
getUserNotifications() - Method in class it.univr.passportease.controller.user.UserQueryController
This query returns the notifications associated to the user.
getUserNotifications(JWT) - Method in class it.univr.passportease.service.user.impl.UserQueryServiceImpl
Get the list of notifications of the user.
getUserNotifications(JWT) - Method in interface it.univr.passportease.service.user.UserQueryService
Get the list of notifications of the user.
getUserOrWorkerFromToken(JWT) - Method in class it.univr.passportease.service.jwt.JwtService
Wrapper function to return User or Worker depending on the token.
getUserReservations() - Method in class it.univr.passportease.controller.user.UserQueryController
This query returns the reservations associated to the user.
getUserReservations(JWT) - Method in class it.univr.passportease.service.user.impl.UserQueryServiceImpl
Get the list of reservations of the user.
getUserReservations(JWT) - Method in interface it.univr.passportease.service.user.UserQueryService
Get the list of reservations of the user.
GraphQLExceptionHandler - Class in it.univr.passportease.exception
This class handles the exceptions thrown by the GraphQL queries and mutations.
GraphQLExceptionHandler() - Constructor for class it.univr.passportease.exception.GraphQLExceptionHandler
 

H

hasDependency - Variable in class it.univr.passportease.entity.RequestType
A boolean value that indicates if the RequestType has a dependency.
hashCode() - Method in record class it.univr.passportease.dto.output.JWTSet
Returns a hash code value for this object.
hashCode() - Method in record class it.univr.passportease.dto.output.LoginOutput
Returns a hash code value for this object.
hashCode() - Method in class it.univr.passportease.entity.Availability
Hash code method for Availability.
hashCode() - Method in class it.univr.passportease.entity.Category
Hash code method for this Category.
hashCode() - Method in class it.univr.passportease.entity.Citizen
Hash code method for this Citizen.
hashCode() - Method in class it.univr.passportease.entity.CitizenCategory
Hash code method for this CitizenCategory.
hashCode() - Method in class it.univr.passportease.entity.Notification
Hash code method for this Notification.
hashCode() - Method in class it.univr.passportease.entity.Office
Hash code method for Office class.
hashCode() - Method in class it.univr.passportease.entity.OfficeWorkingDay
Hash Code Method of OfficeWorkingDay
hashCode() - Method in class it.univr.passportease.entity.Request
Hash code method for Request.
hashCode() - Method in class it.univr.passportease.entity.RequestOffice
Hash code method for this RequestOffice.
hashCode() - Method in class it.univr.passportease.entity.RequestType
The hash code of a RequestType is calculated using the id.
hashCode() - Method in class it.univr.passportease.entity.User
Hash code method for the User class
hashCode() - Method in class it.univr.passportease.entity.Worker
Hash code method for the Worker class.
hashPassword - Variable in class it.univr.passportease.dto.input.RegisterInputDB
The hash of the password.
hashPassword - Variable in class it.univr.passportease.entity.User
The hash password of the User.
hashPassword - Variable in class it.univr.passportease.entity.Worker
The hash password of the Worker.
healthCardNumber - Variable in class it.univr.passportease.entity.Citizen
The health card number of this Citizen.

I

id - Variable in record class it.univr.passportease.dto.output.LoginOutput
The field for the id record component.
id - Variable in class it.univr.passportease.entity.Availability
The id of the Availability.
id - Variable in class it.univr.passportease.entity.Category
The unique identifier of this Category.
id - Variable in class it.univr.passportease.entity.Citizen
The unique identifier of this Citizen.
id - Variable in class it.univr.passportease.entity.CitizenCategory
The unique identifier of this CitizenCategory.
id - Variable in class it.univr.passportease.entity.Notification
The unique identifier of this Notification.
id - Variable in class it.univr.passportease.entity.Office
The unique identifier of this Office.
id - Variable in class it.univr.passportease.entity.OfficeWorkingDay
The unique identifier of an OfficeWorkingDay
id - Variable in class it.univr.passportease.entity.Request
The unique identifier of the Request.
id - Variable in class it.univr.passportease.entity.RequestOffice
The unique identifier of this RequestOffice.
id - Variable in class it.univr.passportease.entity.RequestType
Unique identifier of the RequestType
id - Variable in class it.univr.passportease.entity.User
The unique identifier of the User
id - Variable in class it.univr.passportease.entity.Worker
The id of the Worker.
id() - Method in record class it.univr.passportease.dto.output.LoginOutput
Returns the value of the id record component.
invalidateAccessToken(JWT) - Method in class it.univr.passportease.service.jwt.JwtService
Invalidates the access token by deleting it from redis.
invalidateRefreshToken(JWT) - Method in class it.univr.passportease.service.jwt.JwtService
Invalidates the refresh token by setting it to an empty string.
InvalidAvailabilityIDException - Exception Class in it.univr.passportease.exception.invalid
Exception thrown when an invalid availability ID is passed to a method.
InvalidAvailabilityIDException(String) - Constructor for exception class it.univr.passportease.exception.invalid.InvalidAvailabilityIDException
Constructs a InvalidAvailabilityIDException with no detail message.
InvalidDataFromRequestException - Exception Class in it.univr.passportease.exception.invalid
Exception thrown when the generic data from the request are invalid.
InvalidDataFromRequestException(String) - Constructor for exception class it.univr.passportease.exception.invalid.InvalidDataFromRequestException
InvalidEmailException - Exception Class in it.univr.passportease.exception.invalid
Exception thrown when an email is invalid.
InvalidEmailException(String) - Constructor for exception class it.univr.passportease.exception.invalid.InvalidEmailException
Constructor of InvalidEmailException.
InvalidRefreshTokenException - Exception Class in it.univr.passportease.exception.invalid
This exception is thrown when a refresh token is invalid.
InvalidRefreshTokenException(String) - Constructor for exception class it.univr.passportease.exception.invalid.InvalidRefreshTokenException
InvalidRequestTypeException - Exception Class in it.univr.passportease.exception.invalid
This exception is thrown when a generic request type is not valid.
InvalidRequestTypeException(String) - Constructor for exception class it.univr.passportease.exception.invalid.InvalidRequestTypeException
InvalidWorkerActionException - Exception Class in it.univr.passportease.exception.invalid
Exception thrown when a worker tries to perform an invalid or not allowed action.
InvalidWorkerActionException(String) - Constructor for exception class it.univr.passportease.exception.invalid.InvalidWorkerActionException
isAccountNonExpired() - Method in class it.univr.passportease.config.AppUserDetails
 
isAccountNonLocked() - Method in class it.univr.passportease.config.AppUserDetails
 
isBadRequest(Throwable) - Method in class it.univr.passportease.exception.GraphQLExceptionHandler
Checks if the exception is part of the Bad Request exceptions.
isCredentialsNonExpired() - Method in class it.univr.passportease.config.AppUserDetails
 
isEnabled() - Method in class it.univr.passportease.config.AppUserDetails
 
isEndDateValid() - Method in class it.univr.passportease.dto.input.AvailabilityFilters
Checks if the start date and end date are valid.
isEndTimeValid() - Method in class it.univr.passportease.dto.input.AvailabilityFilters
Checks if the start date, end date, start time and end time are valid.
isForbidden(Throwable) - Method in class it.univr.passportease.exception.GraphQLExceptionHandler
Checks if the exception is part of the Forbidden exceptions.
isNotFound(Throwable) - Method in class it.univr.passportease.exception.GraphQLExceptionHandler
Checks if the exception is part of the Forbidden exceptions.
isReady - Variable in class it.univr.passportease.entity.Notification
A boolean value that indicates whether this Notification is ready to be collected by the User.
isRequestDateInsideNotificationDate(Date, Date, Date, Date) - Method in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Check if request date is inside notification date, by checking if the range of request date is inside the range of notification date.
isStartDateValid() - Method in class it.univr.passportease.dto.input.AvailabilityFilters
Checks if the start date and end date are valid.
isStartTimeValid() - Method in class it.univr.passportease.dto.input.AvailabilityFilters
Checks if the start date, end date, start time and end time are valid.
isTimeInsideTime(LocalTime, LocalTime, LocalTime, LocalTime) - Method in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Check if request time is inside office time, by checking if the range of request time is inside the range of office time.
isTokenExpired(JWT) - Method in class it.univr.passportease.service.jwt.JwtService
A token is expired if: it is expired it is not in redis the token in redis is not the same as the token in the request the token has nbf (not before) field and if it is after the current time the token has iat (issued at) field and if it is after the current time
isUnauthorized(Throwable) - Method in class it.univr.passportease.exception.GraphQLExceptionHandler
Checks if the exception is part of the Unauthorized exceptions.
isWorkersNotEnoughForRequest(RequestInput, List<Office>) - Method in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Check if there are not enough workers for the request, by checking if there are more requests than workers in each office.
it.univr.passportease - package it.univr.passportease
 
it.univr.passportease.config - package it.univr.passportease.config
 
it.univr.passportease.controller - package it.univr.passportease.controller
 
it.univr.passportease.controller.user - package it.univr.passportease.controller.user
 
it.univr.passportease.controller.worker - package it.univr.passportease.controller.worker
 
it.univr.passportease.dto.input - package it.univr.passportease.dto.input
 
it.univr.passportease.dto.output - package it.univr.passportease.dto.output
 
it.univr.passportease.entity - package it.univr.passportease.entity
 
it.univr.passportease.entity.enums - package it.univr.passportease.entity.enums
 
it.univr.passportease.exception - package it.univr.passportease.exception
 
it.univr.passportease.exception.illegalstate - package it.univr.passportease.exception.illegalstate
 
it.univr.passportease.exception.invalid - package it.univr.passportease.exception.invalid
 
it.univr.passportease.exception.notfound - package it.univr.passportease.exception.notfound
 
it.univr.passportease.exception.security - package it.univr.passportease.exception.security
 
it.univr.passportease.filter - package it.univr.passportease.filter
 
it.univr.passportease.helper - package it.univr.passportease.helper
 
it.univr.passportease.helper.map - package it.univr.passportease.helper.map
 
it.univr.passportease.helper.ratelimiter - package it.univr.passportease.helper.ratelimiter
 
it.univr.passportease.repository - package it.univr.passportease.repository
 
it.univr.passportease.service.jwt - package it.univr.passportease.service.jwt
 
it.univr.passportease.service.user - package it.univr.passportease.service.user
 
it.univr.passportease.service.user.impl - package it.univr.passportease.service.user.impl
 
it.univr.passportease.service.userworker - package it.univr.passportease.service.userworker
 
it.univr.passportease.service.userworker.impl - package it.univr.passportease.service.userworker.impl
 
it.univr.passportease.service.worker - package it.univr.passportease.service.worker
 
it.univr.passportease.service.worker.impl - package it.univr.passportease.service.worker.impl
 

J

JWT - Class in it.univr.passportease.helper
This class represents a JWT token.
JWT() - Constructor for class it.univr.passportease.helper.JWT
 
JWT_REGEX - Static variable in class it.univr.passportease.helper.RequestAnalyzer
The regex used to check if the token is valid.
JwtAuthFilter - Class in it.univr.passportease.filter
Filter that intercepts every request and checks if the user is authenticated.
JwtAuthFilter() - Constructor for class it.univr.passportease.filter.JwtAuthFilter
 
jwtService - Variable in class it.univr.passportease.controller.user.UserMutationController
Request analyzer.
jwtService - Variable in class it.univr.passportease.filter.JwtAuthFilter
The service that handles the JWT.
jwtService - Variable in class it.univr.passportease.helper.RequestAnalyzer
The service used to check if the token is valid and not expired.
jwtService - Variable in class it.univr.passportease.service.user.impl.UserAuthServiceImpl
The service that handles the JWT.
jwtService - Variable in class it.univr.passportease.service.user.impl.UserQueryServiceImpl
The service that handles the JWT.
jwtService - Variable in class it.univr.passportease.service.userworker.impl.UserWorkerMutationServiceImpl
The service that handles the JWT.
jwtService - Variable in class it.univr.passportease.service.worker.impl.WorkerAuthServiceImpl
Service for generating JWT
jwtService - Variable in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
JWT service to extract worker id from jwt access token.
JwtService - Class in it.univr.passportease.service.jwt
This class is used to generate and validate JWT tokens.
JwtService() - Constructor for class it.univr.passportease.service.jwt.JwtService
 
jwtSet - Variable in record class it.univr.passportease.dto.output.LoginOutput
The field for the jwtSet record component.
jwtSet() - Method in record class it.univr.passportease.dto.output.LoginOutput
Returns the value of the jwtSet record component.
JWTSet - Record Class in it.univr.passportease.dto.output
Record containing the JWTs
JWTSet(String, String) - Constructor for record class it.univr.passportease.dto.output.JWTSet
Creates an instance of a JWTSet record class.

L

loadUserByUsername(String) - Method in class it.univr.passportease.config.AppUserDetailsService
Load the user details of the user identified by the id
login(String, String) - Method in class it.univr.passportease.service.user.impl.UserAuthServiceImpl
Logs in the user.
login(String, String) - Method in interface it.univr.passportease.service.user.UserAuthService
Logs in the user with the given fiscal code and password.
login(String, String) - Method in class it.univr.passportease.service.worker.impl.WorkerAuthServiceImpl
Login a Worker
login(String, String) - Method in interface it.univr.passportease.service.worker.WorkerAuthService
Logs in the worker with the given fiscal code and password.
LOGIN_USER - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
LOGIN_WORKER - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
LoginOutput - Record Class in it.univr.passportease.dto.output
DTO containing the output of the login operation.
LoginOutput(UUID, JWTSet) - Constructor for record class it.univr.passportease.dto.output.LoginOutput
Creates an instance of a LoginOutput record class.
loginUser(String, String) - Method in class it.univr.passportease.controller.user.UserAuthController
This mutation logs in the user and returns the access token and the refresh token.
loginWorker(String, String) - Method in class it.univr.passportease.controller.worker.WorkerAuthController
Logs in the worker with the given username and password.
logout() - Method in class it.univr.passportease.controller.user.UserAuthController
This mutation invalidates the access token and the refresh token of the user, it is shared between users and workers.
logout() - Method in class it.univr.passportease.service.userworker.impl.UserWorkerMutationServiceImpl
Logs out the user by invalidating the access token and the refresh token.
logout() - Method in interface it.univr.passportease.service.userworker.UserWorkerMutationService
Logs out the user / worker
LOGOUT - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter

M

main(String[]) - Static method in class it.univr.passportease.PassportEaseApplication
Main method.
mapAvailability - Variable in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Service to map Request to Availability.
MapAvailability - Class in it.univr.passportease.helper.map
Map a Request to an Availability object.
MapAvailability() - Constructor for class it.univr.passportease.helper.map.MapAvailability
 
mapNotification - Variable in class it.univr.passportease.service.user.impl.UserMutationServiceImpl
The service that maps the NotificationInputDB DTO to the Notification entity.
MapNotification - Class in it.univr.passportease.helper.map
MapNotification() - Constructor for class it.univr.passportease.helper.map.MapNotification
 
mapNotificationInputDBToNotification(NotificationInputDB) - Method in class it.univr.passportease.helper.map.MapNotification
mapRegisterInputDBToUser(RegisterInputDB) - Method in class it.univr.passportease.helper.map.MapUser
mapRequest - Variable in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Service to map RequestInput to Request.
MapRequest - Class in it.univr.passportease.helper.map
MapRequest() - Constructor for class it.univr.passportease.helper.map.MapRequest
 
mapRequestAndOfficeToRequestOffice(Request, Office) - Method in class it.univr.passportease.helper.map.MapRequestOffice
mapRequestInputToRequest(RequestInput, RequestType, Worker) - Method in class it.univr.passportease.helper.map.MapRequest
mapRequestOffice - Variable in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Service to map Request and Office to RequestOffice.
MapRequestOffice - Class in it.univr.passportease.helper.map
MapRequestOffice() - Constructor for class it.univr.passportease.helper.map.MapRequestOffice
 
mapRequestToAvailability(Request, Office, LocalDate, LocalTime) - Method in class it.univr.passportease.helper.map.MapAvailability
Map a Request to an Availability object.
mapRequestType - Variable in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Service to map String to RequestType.
MapRequestType - Class in it.univr.passportease.helper.map
MapRequestType() - Constructor for class it.univr.passportease.helper.map.MapRequestType
 
mapStringToRequestType(String) - Method in class it.univr.passportease.helper.map.MapRequestType
mapUser - Variable in class it.univr.passportease.service.user.impl.UserAuthServiceImpl
The service that maps the User entity to the LoginOutput DTO.
MapUser - Class in it.univr.passportease.helper.map
Map the RegisterInputDB to User and JWT to LoginOutput.
MapUser() - Constructor for class it.univr.passportease.helper.map.MapUser
 
mapUserToLoginOutput(User, JWT) - Method in class it.univr.passportease.helper.map.MapUser
mapWorker - Variable in class it.univr.passportease.service.worker.impl.WorkerAuthServiceImpl
Service for mapping Worker to LoginOutput
MapWorker - Class in it.univr.passportease.helper.map
MapWorker() - Constructor for class it.univr.passportease.helper.map.MapWorker
 
mapWorkerToLoginOutput(Worker, JWT) - Method in class it.univr.passportease.helper.map.MapWorker
message - Variable in class it.univr.passportease.entity.Notification
The message of this Notification.
MODIFY_NOTIFICATION - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
MODIFY_REQUEST - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
modifyNotification(NotificationInput, UUID) - Method in class it.univr.passportease.controller.user.UserMutationController
This mutation modifies a notification.
modifyNotification(NotificationInput, UUID) - Method in class it.univr.passportease.service.user.impl.UserMutationServiceImpl
Modifies a notification by id
modifyNotification(NotificationInput, UUID) - Method in interface it.univr.passportease.service.user.UserMutationService
Modifies a notification.
modifyRequest(JWT, String, RequestInput) - Method in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Modify request.
modifyRequest(JWT, String, RequestInput) - Method in interface it.univr.passportease.service.worker.WorkerMutationService
Modifies a request.
modifyRequest(String, RequestInput) - Method in class it.univr.passportease.controller.worker.WorkerMutationController
This mutation modifies a request.
MONDAY - Enum constant in enum class it.univr.passportease.entity.enums.Day
Monday.

N

name - Variable in class it.univr.passportease.config.AppUserDetails
The user id
name - Variable in class it.univr.passportease.dto.input.OfficeInput
The name of the office.
name - Variable in class it.univr.passportease.dto.input.RegisterInput
The name of the user.
name - Variable in class it.univr.passportease.dto.output.ReportDetails
The name of the user.
name - Variable in class it.univr.passportease.entity.Category
The name of this Category.
name - Variable in class it.univr.passportease.entity.Citizen
The name of this Citizen.
name - Variable in class it.univr.passportease.entity.Office
The name of this Office.
name - Variable in class it.univr.passportease.entity.RequestType
The name of the RequestType
name - Variable in class it.univr.passportease.entity.User
The name of the User
nameRequestType - Variable in class it.univr.passportease.dto.output.ReportDetails
The RequestType of the request.
notFoundError(Throwable, DataFetchingEnvironment) - Static method in class it.univr.passportease.exception.GraphQLExceptionHandler
Handles the exceptions thrown by the GraphQL queries and mutations of type Forbidden.
Notification - Class in it.univr.passportease.entity
The Notification entity that represents a notification that can be requested by a User to a Office.
Notification() - Constructor for class it.univr.passportease.entity.Notification
 
notificationInput - Variable in class it.univr.passportease.dto.input.NotificationInputDB
The notification input.
NotificationInput - Class in it.univr.passportease.dto.input
Class used to represent the input of the notification service, that is the input from the user.
NotificationInput() - Constructor for class it.univr.passportease.dto.input.NotificationInput
 
NotificationInputDB - Class in it.univr.passportease.dto.input
This class is used to store the data of a notification input, together with the data of the user, the office and the request type.
NotificationInputDB() - Constructor for class it.univr.passportease.dto.input.NotificationInputDB
 
NotificationNotFoundException - Exception Class in it.univr.passportease.exception.notfound
This exception is thrown when a notification requested by id is not found.
NotificationNotFoundException(String) - Constructor for exception class it.univr.passportease.exception.notfound.NotificationNotFoundException
Constructs a NotificationNotFoundException with no detail message.
notificationRepository - Variable in class it.univr.passportease.service.user.impl.UserMutationServiceImpl
The repository for Notification entity.
notificationRepository - Variable in class it.univr.passportease.service.user.impl.UserQueryServiceImpl
The repository for Notification entity.
notificationRepository - Variable in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Repository for Notification entity.
NotificationRepository - Interface in it.univr.passportease.repository
Repository for the Notification entity.

O

office - Variable in class it.univr.passportease.dto.input.NotificationInputDB
The office.
office - Variable in class it.univr.passportease.entity.Availability
The Office of the Availability.
office - Variable in class it.univr.passportease.entity.Notification
The Office that this Notification is requested to.
office - Variable in class it.univr.passportease.entity.OfficeWorkingDay
The office to which this working day belongs
office - Variable in class it.univr.passportease.entity.RequestOffice
The Office that is related to this RequestOffice.
office - Variable in class it.univr.passportease.entity.Worker
The office of the Worker.
Office - Class in it.univr.passportease.entity
The Office class is an entity that represents an office, which is a place where workers can manages Request requests.
Office() - Constructor for class it.univr.passportease.entity.Office
 
OfficeInput - Class in it.univr.passportease.dto.input
This class is used to store the data of an office input from the user.
OfficeInput() - Constructor for class it.univr.passportease.dto.input.OfficeInput
 
officeName - Variable in class it.univr.passportease.dto.input.NotificationInput
The name of the office in which the user wants to be notified.
officeName - Variable in class it.univr.passportease.dto.input.WorkerInput
The name of the worker.
officeName - Variable in class it.univr.passportease.dto.output.ReportDetails
The name of the office.
OfficeNotFoundException - Exception Class in it.univr.passportease.exception.notfound
This exception is thrown when an office is not found.
OfficeNotFoundException(String) - Constructor for exception class it.univr.passportease.exception.notfound.OfficeNotFoundException
Constructs a OfficeNotFoundException with no detail message.
OfficeOverloadedException - Exception Class in it.univr.passportease.exception.illegalstate
Exception thrown when an office is overloaded and cannot accept more requests.
OfficeOverloadedException(String) - Constructor for exception class it.univr.passportease.exception.illegalstate.OfficeOverloadedException
Constructs a OfficeOverloadedException with no detail message.
officeRepository - Variable in class it.univr.passportease.service.user.impl.UserMutationServiceImpl
The repository for Office entity.
officeRepository - Variable in class it.univr.passportease.service.userworker.impl.UserWorkerQueryServiceImpl
Repository for Office entity
officeRepository - Variable in class it.univr.passportease.service.worker.impl.WorkerAuthServiceImpl
Repository for Office entity
officeRepository - Variable in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Repository for Office entity.
OfficeRepository - Interface in it.univr.passportease.repository
Repository for Office entity
offices - Variable in class it.univr.passportease.dto.input.RequestInput
The offices of the request.
officesName - Variable in class it.univr.passportease.dto.input.AvailabilityFilters
The offices name to filter the query by.
OfficeWorkingDay - Class in it.univr.passportease.entity
This class represents the working days of an office, which are defined by the day of the week, the start time and the end time.
OfficeWorkingDay() - Constructor for class it.univr.passportease.entity.OfficeWorkingDay
 
officeWorkingDayRepository - Variable in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Repository for OfficeWorkingDay entity.
OfficeWorkingDayRepository - Interface in it.univr.passportease.repository
Repository for OfficeWorkingDay entity.

P

PassportEaseApplication - Class in it.univr.passportease
Spring Boot main class.
PassportEaseApplication() - Constructor for class it.univr.passportease.PassportEaseApplication
 
password - Variable in class it.univr.passportease.config.AppUserDetails
The user password
password - Variable in class it.univr.passportease.dto.input.RegisterInput
The password of the user.
password - Variable in class it.univr.passportease.dto.input.WorkerInput
The password of the worker.
passwordEncoder - Variable in class it.univr.passportease.service.user.impl.UserAuthServiceImpl
The service that encodes the password.
passwordEncoder - Variable in class it.univr.passportease.service.userworker.impl.UserWorkerMutationServiceImpl
The service that encodes the password.
passwordEncoder - Variable in class it.univr.passportease.service.worker.impl.WorkerAuthServiceImpl
Service for encoding password
passwordEncoder() - Method in class it.univr.passportease.config.SecurityConfig
Creates a PasswordEncoder bean, used to encode the password.
PENDING - Enum constant in enum class it.univr.passportease.entity.enums.Status
TODO: can't remember what this is for The Availability is pending.
PRESERVE_AVAILABILITY - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
preserveAvailability(String) - Method in class it.univr.passportease.controller.user.UserMutationController
 
preserveAvailability(UUID) - Method in class it.univr.passportease.service.user.impl.UserMutationServiceImpl
Preserves the availability by id, setting the availability status to Status.PENDING
preserveAvailability(UUID) - Method in interface it.univr.passportease.service.user.UserMutationService
Preserves the availability.
processOfficeWorkingDays(Day, List<OfficeWorkingDay>, LocalDate, Request) - Method in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Process office working days for a specific day.
processOfficeWorkingDayTimeSlot(OfficeWorkingDay, LocalDate, Request) - Method in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Process office working day time slot.

R

RateLimiter - Enum Class in it.univr.passportease.helper.ratelimiter
This enum contains all the rate limiters used in the application.
RateLimiter() - Constructor for enum class it.univr.passportease.helper.ratelimiter.RateLimiter
 
RateLimitException - Exception Class in it.univr.passportease.exception.security
This exception is thrown when the user has exceeded the rate limit.
RateLimitException(String) - Constructor for exception class it.univr.passportease.exception.security.RateLimitException
Constructor for the RateLimitException
RedisConfig - Class in it.univr.passportease.config
Redis configuration class.
RedisConfig() - Constructor for class it.univr.passportease.config.RedisConfig
 
redisConnectionFactory() - Method in class it.univr.passportease.config.RedisConfig
Creates a connection to the Redis server.
redisHost - Variable in class it.univr.passportease.config.RedisConfig
Redis host.
redisTemplate - Variable in class it.univr.passportease.config.AppUserDetailsService
The redis template used to check if the user is validated
redisTemplate - Variable in class it.univr.passportease.config.SecurityConfig
Redis template.
redisTemplate - Variable in class it.univr.passportease.service.jwt.JwtService
The redis template used to store the access tokens.
redisTemplate() - Method in class it.univr.passportease.config.RedisConfig
Creates a RedisTemplate bean, used to interact with the Redis server.
REFRESH_ACCESS_TOKEN - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
REFRESH_TOKEN_KEY - Static variable in class it.univr.passportease.service.jwt.JwtService
The refresh token key used to sign the refresh token.
refreshAccessToken(JWT, JWT) - Method in class it.univr.passportease.service.userworker.impl.UserWorkerMutationServiceImpl
Refreshes the access token and the refresh token.
refreshAccessToken(JWT, JWT) - Method in interface it.univr.passportease.service.userworker.UserWorkerMutationService
Refresh the access token, and the refresh token in the database
refreshAccessToken(String) - Method in class it.univr.passportease.controller.user.UserAuthController
This mutation refreshes the access token and the refresh token of the user.
refreshToken - Variable in class it.univr.passportease.dto.input.RegisterInputDB
The refresh token.
refreshToken - Variable in record class it.univr.passportease.dto.output.JWTSet
The field for the refreshToken record component.
refreshToken - Variable in class it.univr.passportease.entity.User
The refresh token of the User.
refreshToken - Variable in class it.univr.passportease.entity.Worker
The refresh token of the Worker.
refreshToken() - Method in record class it.univr.passportease.dto.output.JWTSet
Returns the value of the refreshToken record component.
register(RegisterInput) - Method in class it.univr.passportease.service.user.impl.UserAuthServiceImpl
Registers the user.
register(RegisterInput) - Method in interface it.univr.passportease.service.user.UserAuthService
Registers the user with the given input.
register(WorkerInput) - Method in class it.univr.passportease.service.worker.impl.WorkerAuthServiceImpl
Deprecated.
Refreshes JWT of Worker, it's deprecated because the Worker is inserted in the database manually by the administrator
register(WorkerInput) - Method in interface it.univr.passportease.service.worker.WorkerAuthService
Deprecated. 
REGISTER_USER - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
REGISTER_WORKER - Enum constant in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
registerInput - Variable in class it.univr.passportease.dto.input.RegisterInputDB
The register input.
RegisterInput - Class in it.univr.passportease.dto.input
This class is used to store the data of a register input.
RegisterInput() - Constructor for class it.univr.passportease.dto.input.RegisterInput
 
RegisterInputDB - Class in it.univr.passportease.dto.input
Class used to store the data of a user to be registered in the database.
RegisterInputDB() - Constructor for class it.univr.passportease.dto.input.RegisterInputDB
 
registerUser(RegisterInput) - Method in class it.univr.passportease.controller.user.UserAuthController
This mutation registers the user and returns the access token and the refresh token.
registerWorker(WorkerInput) - Method in class it.univr.passportease.controller.worker.WorkerAuthController
ReportDetails - Class in it.univr.passportease.dto.output
This class represents the details of a report.
ReportDetails() - Constructor for class it.univr.passportease.dto.output.ReportDetails
 
request - Variable in class it.univr.passportease.entity.Availability
The Request of the Availability.
request - Variable in class it.univr.passportease.entity.RequestOffice
The Request that is related to this RequestOffice.
request - Variable in class it.univr.passportease.helper.RequestAnalyzer
The request to analyze.
Request - Class in it.univr.passportease.entity
The Request class is an entity that represents a request made by a Worker to the RequestType of his choice.
Request() - Constructor for class it.univr.passportease.entity.Request
 
requestAnalyzer - Variable in class it.univr.passportease.controller.user.UserAuthController
Request analyzer.
requestAnalyzer - Variable in class it.univr.passportease.controller.user.UserMutationController
Request analyzer.
requestAnalyzer - Variable in class it.univr.passportease.controller.user.UserQueryController
Request analyzer.
requestAnalyzer - Variable in class it.univr.passportease.controller.worker.WorkerMutationController
Request analyzer.
requestAnalyzer - Variable in class it.univr.passportease.service.userworker.impl.UserWorkerMutationServiceImpl
The service that analyzes the request.
RequestAnalyzer - Class in it.univr.passportease.helper
This class is used to analyze the request and extract the JWT token from the Authorization header.
RequestAnalyzer(JwtService, HttpServletRequest) - Constructor for class it.univr.passportease.helper.RequestAnalyzer
Constructor for the RequestAnalyzer class.
RequestInput - Class in it.univr.passportease.dto.input
Class that represents the input of a request.
RequestInput() - Constructor for class it.univr.passportease.dto.input.RequestInput
 
RequestNotFoundException - Exception Class in it.univr.passportease.exception.notfound
This exception is thrown when a request is not found.
RequestNotFoundException(String) - Constructor for exception class it.univr.passportease.exception.notfound.RequestNotFoundException
Constructor for the RequestNotFoundException
RequestOffice - Class in it.univr.passportease.entity
The RequestOffice class is an entity that represents the relationship between a Request and an Office.
RequestOffice() - Constructor for class it.univr.passportease.entity.RequestOffice
 
requestOfficeRepository - Variable in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Repository for RequestOffice entity.
RequestOfficeRepository - Interface in it.univr.passportease.repository
Repository for the RequestOffice entity.
requestRepository - Variable in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Repository for Request entity.
RequestRepository - Interface in it.univr.passportease.repository
Repository for the Request entity.
requestType - Variable in class it.univr.passportease.dto.input.NotificationInputDB
The request type.
requestType - Variable in class it.univr.passportease.dto.input.RequestInput
The type of the request.
requestType - Variable in class it.univr.passportease.entity.Notification
requestType - Variable in class it.univr.passportease.entity.Request
The RequestType of the Request.
RequestType - Class in it.univr.passportease.entity
The type Request type entity.
RequestType() - Constructor for class it.univr.passportease.entity.RequestType
 
requestTypeName - Variable in class it.univr.passportease.dto.input.NotificationInput
The name of the request type in which the user wants to be notified.
RequestTypeNotFoundException - Exception Class in it.univr.passportease.exception.notfound
This exception is thrown when a user tries to access a request type that does not exist.
RequestTypeNotFoundException(String) - Constructor for exception class it.univr.passportease.exception.notfound.RequestTypeNotFoundException
Constructor for the RequestTypeNotFoundException
requestTypeRepository - Variable in class it.univr.passportease.service.user.impl.UserMutationServiceImpl
The repository for RequestType entity.
requestTypeRepository - Variable in class it.univr.passportease.service.user.impl.UserQueryServiceImpl
The repository for RequestType entity.
requestTypeRepository - Variable in class it.univr.passportease.service.userworker.impl.UserWorkerQueryServiceImpl
Repository for RequestType entity
requestTypeRepository - Variable in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Repository for RequestType entity.
requestTypeRepository - Variable in class it.univr.passportease.service.worker.impl.WorkerQueryServiceImpl
Repository of RequestType entities.
RequestTypeRepository - Interface in it.univr.passportease.repository
Repository for the RequestType entity.
requestTypes - Variable in class it.univr.passportease.dto.input.AvailabilityFilters
The request types to filter the query by.
reservationRepository - Variable in class it.univr.passportease.service.user.impl.UserQueryServiceImpl
The repository for Availability entity.
reservationRepository - Variable in class it.univr.passportease.service.worker.impl.WorkerQueryServiceImpl
Repository of Availability entities.
ReservationRepository - Interface in it.univr.passportease.repository
Repository for the Availability entity.
resolveBucket(RateLimiter) - Method in class it.univr.passportease.helper.ratelimiter.BucketLimiter
This method is used to resolve the bucket for each method.
resolveToSingleError(Throwable, DataFetchingEnvironment) - Method in class it.univr.passportease.exception.GraphQLExceptionHandler
Resolves the exception to a single GraphQLError object containing the right error type, the message, the path and the location of the error.
restoreAvailability() - Method in class it.univr.passportease.service.user.impl.UserMutationServiceImpl
This method is scheduled to run every 10 minutes.
Roles - Enum Class in it.univr.passportease.helper
Enum for the roles of the clients
Roles() - Constructor for enum class it.univr.passportease.helper.Roles
 

S

SATURDAY - Enum constant in enum class it.univr.passportease.entity.enums.Day
Saturday.
saveRefreshTokenInDB(UUID, JWT) - Method in class it.univr.passportease.service.jwt.JwtService
Saves the refresh token in the database.
saveTokenInRedis(UUID, JWT) - Method in class it.univr.passportease.service.jwt.JwtService
Saves the token in redis with the key being the id of the user or worker.
SecurityConfig - Class in it.univr.passportease.config
Security configuration class.
SecurityConfig() - Constructor for class it.univr.passportease.config.SecurityConfig
 
securityFilterChain(HttpSecurity, JwtAuthFilter) - Method in class it.univr.passportease.config.SecurityConfig
Creates a SecurityFilterChain bean, used to configure the security filter chain.
setEmail(String) - Method in interface it.univr.passportease.helper.UserType
Changes the email of the user or worker.
setHashPassword(String) - Method in interface it.univr.passportease.helper.UserType
Changes the hash password of the user or worker.
setNotifications(Date, Date, List<Office>, RequestType) - Method in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Set notifications as ready = true if they are between start and end date and time and ready = false otherwise.
setRefreshToken(String) - Method in interface it.univr.passportease.helper.UserType
Changes the refresh token of the user or worker.
startDate - Variable in class it.univr.passportease.dto.input.AvailabilityFilters
The start date to filter the query by.
startDate - Variable in class it.univr.passportease.dto.input.NotificationInput
The start date of the period of time in which the user wants to be notified.
startDate - Variable in class it.univr.passportease.dto.input.RequestInput
The start date of the request.
startDate - Variable in class it.univr.passportease.entity.Notification
The start date of this Notification, that is the date of when the User wants to start the notification.
startDate - Variable in class it.univr.passportease.entity.Request
The start date of the Request.
startTime - Variable in class it.univr.passportease.dto.input.AvailabilityFilters
The start time to filter the query by.
startTime - Variable in class it.univr.passportease.dto.input.RequestInput
The start time of the request.
startTime - Variable in class it.univr.passportease.dto.output.ReportDetails
The time of availability requested by the user.
startTime - Variable in class it.univr.passportease.entity.Request
The start time of the Request.
startTime1 - Variable in class it.univr.passportease.entity.OfficeWorkingDay
The start time and the end time of the first time interval
startTime2 - Variable in class it.univr.passportease.entity.OfficeWorkingDay
The start time and the end time of the first time interval, can be null if the office is open only in the morning
status - Variable in class it.univr.passportease.entity.Availability
The status of the Availability.
Status - Enum Class in it.univr.passportease.entity.enums
Status of a Availability.
Status() - Constructor for enum class it.univr.passportease.entity.enums.Status
 
SUNDAY - Enum constant in enum class it.univr.passportease.entity.enums.Day
Sunday.
surname - Variable in class it.univr.passportease.dto.input.RegisterInput
The surname of the user.
surname - Variable in class it.univr.passportease.dto.output.ReportDetails
The surname of the user.
surname - Variable in class it.univr.passportease.entity.Citizen
The surname of this Citizen.
surname - Variable in class it.univr.passportease.entity.User
The surname of the User

T

TAKEN - Enum constant in enum class it.univr.passportease.entity.enums.Status
The Availability is taken and cannot be booked.
THURSDAY - Enum constant in enum class it.univr.passportease.entity.enums.Day
Thursday.
time - Variable in class it.univr.passportease.entity.Availability
The time of the Availability.
TIMEDOUT - Enum constant in enum class it.univr.passportease.entity.enums.Status
The Availability is not available anymore because it has expired has passed.
token - Variable in class it.univr.passportease.helper.JWT
The JWT token as a string.
TokenNotInRedisException - Exception Class in it.univr.passportease.exception.security
This exception is thrown when an access token is not found in Redis.
TokenNotInRedisException(String) - Constructor for exception class it.univr.passportease.exception.security.TokenNotInRedisException
Constructor for the TokenNotInRedisException
toPredicate(Root<Availability>, CriteriaQuery<?>, CriteriaBuilder) - Method in class it.univr.passportease.dto.input.AvailabilityFilters
Creates a Predicate from the AvailabilityFilters object.
toString() - Method in record class it.univr.passportease.dto.output.JWTSet
Returns a string representation of this record class.
toString() - Method in record class it.univr.passportease.dto.output.LoginOutput
Returns a string representation of this record class.
TUESDAY - Enum constant in enum class it.univr.passportease.entity.enums.Day
Tuesday.

U

unauthorizedError(Throwable, DataFetchingEnvironment) - Static method in class it.univr.passportease.exception.GraphQLExceptionHandler
Handles the exceptions thrown by the GraphQL queries and mutations of type Unauthorized.
updatedAt - Variable in class it.univr.passportease.entity.Availability
The update Date of the Availability.
updatedAt - Variable in class it.univr.passportease.entity.Category
The Date of last update of this Category.
updatedAt - Variable in class it.univr.passportease.entity.Citizen
The Date of last update of this Citizen.
updatedAt - Variable in class it.univr.passportease.entity.CitizenCategory
The date when this CitizenCategory was last updated.
updatedAt - Variable in class it.univr.passportease.entity.Notification
The Date of when this Notification was updated.
updatedAt - Variable in class it.univr.passportease.entity.Office
The Date when this Office was last updated.
updatedAt - Variable in class it.univr.passportease.entity.OfficeWorkingDay
The date and time of the last update of this object
updatedAt - Variable in class it.univr.passportease.entity.Request
The last update date of the Request.
updatedAt - Variable in class it.univr.passportease.entity.RequestOffice
The date and time when this RequestOffice was last updated.
updatedAt - Variable in class it.univr.passportease.entity.RequestType
The Date of the last update of the RequestType
updatedAt - Variable in class it.univr.passportease.entity.User
The last update date of the User
updatedAt - Variable in class it.univr.passportease.entity.Worker
The Date of the last update of the Worker
user - Variable in class it.univr.passportease.dto.input.NotificationInputDB
The user.
user - Variable in class it.univr.passportease.entity.Availability
The User of the Availability.
user - Variable in class it.univr.passportease.entity.Notification
The User that requested this Notification.
User - Class in it.univr.passportease.entity
The User class is an entity that represents a user, or costumers, of the application.
User() - Constructor for class it.univr.passportease.entity.User
 
USER - Enum constant in enum class it.univr.passportease.helper.Roles
The user role, for the clients that use the service
UserAlreadyExistsException - Exception Class in it.univr.passportease.exception.illegalstate
Exception thrown when a user already exists in the database.
UserAlreadyExistsException(String) - Constructor for exception class it.univr.passportease.exception.illegalstate.UserAlreadyExistsException
Constructs a UserAlreadyExistsException with the specified detail message.
UserAuthController - Class in it.univr.passportease.controller.user
Controller for user authentication and registration.
UserAuthController() - Constructor for class it.univr.passportease.controller.user.UserAuthController
 
userAuthService - Variable in class it.univr.passportease.controller.user.UserAuthController
User authentication service.
UserAuthService - Interface in it.univr.passportease.service.user
Service that provides the methods to authenticate the user.
UserAuthServiceImpl - Class in it.univr.passportease.service.user.impl
Implementation of UserAuthService, which provides methods for user authentication.
UserAuthServiceImpl() - Constructor for class it.univr.passportease.service.user.impl.UserAuthServiceImpl
 
userDetailsService - Variable in class it.univr.passportease.filter.JwtAuthFilter
The service that handles the user details of the application.
userDetailsService() - Method in class it.univr.passportease.config.SecurityConfig
Creates a UserDetailsService bean, used to retrieve user details from the database or from the Redis cache.
UserMutationController - Class in it.univr.passportease.controller.user
Controller for all the user mutations.
UserMutationController() - Constructor for class it.univr.passportease.controller.user.UserMutationController
 
userMutationService - Variable in class it.univr.passportease.controller.user.UserMutationController
User mutation service.
UserMutationService - Interface in it.univr.passportease.service.user
Service that handles the mutation of the user entity.
UserMutationServiceImpl - Class in it.univr.passportease.service.user.impl
This class implements the UserMutationService interface.
UserMutationServiceImpl() - Constructor for class it.univr.passportease.service.user.impl.UserMutationServiceImpl
 
username - Variable in class it.univr.passportease.dto.input.WorkerInput
The username of the worker.
username - Variable in class it.univr.passportease.entity.Worker
The username of the Worker.
UserNotFoundException - Exception Class in it.univr.passportease.exception.notfound
This exception is thrown when a user is not found.
UserNotFoundException(String) - Constructor for exception class it.univr.passportease.exception.notfound.UserNotFoundException
Constructor for the UserNotFoundException
UserOrWorkerIDNotFoundException - Exception Class in it.univr.passportease.exception.notfound
This exception is thrown when a user / worker ID is not found in the database.
UserOrWorkerIDNotFoundException(String) - Constructor for exception class it.univr.passportease.exception.notfound.UserOrWorkerIDNotFoundException
UserQueryController - Class in it.univr.passportease.controller.user
Controller for user queries.
UserQueryController() - Constructor for class it.univr.passportease.controller.user.UserQueryController
 
userQueryService - Variable in class it.univr.passportease.controller.user.UserQueryController
User query service.
UserQueryService - Interface in it.univr.passportease.service.user
Service for querying user data.
UserQueryServiceImpl - Class in it.univr.passportease.service.user.impl
Implementation of UserQueryService.
UserQueryServiceImpl() - Constructor for class it.univr.passportease.service.user.impl.UserQueryServiceImpl
 
userRepository - Variable in class it.univr.passportease.config.AppUserDetailsService
The repository of the users
userRepository - Variable in class it.univr.passportease.config.SecurityConfig
User repository.
userRepository - Variable in class it.univr.passportease.service.jwt.JwtService
The repository for the User entity.
userRepository - Variable in class it.univr.passportease.service.user.impl.UserAuthServiceImpl
The repository for User entity.
userRepository - Variable in class it.univr.passportease.service.user.impl.UserMutationServiceImpl
The repository for User entity.
userRepository - Variable in class it.univr.passportease.service.user.impl.UserQueryServiceImpl
The repository for User entity.
userRepository - Variable in class it.univr.passportease.service.userworker.impl.UserWorkerMutationServiceImpl
The repository for User entity.
UserRepository - Interface in it.univr.passportease.repository
Repository for the User entity.
UserType - Interface in it.univr.passportease.helper
Interface that represents a user or a worker.
userWorkerMutationService - Variable in class it.univr.passportease.controller.user.UserAuthController
User worker mutation service.
UserWorkerMutationService - Interface in it.univr.passportease.service.userworker
Service that handles the mutation of the user and worker data
UserWorkerMutationServiceImpl - Class in it.univr.passportease.service.userworker.impl
Implementation of UserWorkerMutationService.
UserWorkerMutationServiceImpl() - Constructor for class it.univr.passportease.service.userworker.impl.UserWorkerMutationServiceImpl
 
UserWorkerQueryController - Class in it.univr.passportease.controller
Controller for user and worker queries.
UserWorkerQueryController() - Constructor for class it.univr.passportease.controller.UserWorkerQueryController
 
userWorkerQueryService - Variable in class it.univr.passportease.controller.UserWorkerQueryController
Service for user and worker queries.
UserWorkerQueryService - Interface in it.univr.passportease.service.userworker
Service for querying data for the user and worker.
UserWorkerQueryServiceImpl - Class in it.univr.passportease.service.userworker.impl
Implementation of UserWorkerQueryService
UserWorkerQueryServiceImpl() - Constructor for class it.univr.passportease.service.userworker.impl.UserWorkerQueryServiceImpl
 

V

validateOffices(AvailabilityFilters) - Method in class it.univr.passportease.service.userworker.impl.UserWorkerQueryServiceImpl
For each office, check if it exists
validateRequestTypes(AvailabilityFilters) - Method in class it.univr.passportease.service.userworker.impl.UserWorkerQueryServiceImpl
For each request type, check if it exists
validTokenFromUserDetails(JWT, UserDetails) - Method in class it.univr.passportease.service.jwt.JwtService
Checks if the token is valid.
valueOf(String) - Static method in enum class it.univr.passportease.entity.enums.Day
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class it.univr.passportease.entity.enums.Status
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class it.univr.passportease.helper.Roles
Returns the enum constant of this class with the specified name.
values() - Static method in enum class it.univr.passportease.entity.enums.Day
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class it.univr.passportease.entity.enums.Status
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class it.univr.passportease.helper.ratelimiter.RateLimiter
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class it.univr.passportease.helper.Roles
Returns an array containing the constants of this enum class, in the order they are declared.

W

WEDNESDAY - Enum constant in enum class it.univr.passportease.entity.enums.Day
Wednesday.
worker - Variable in class it.univr.passportease.entity.Request
The Worker that made the Request.
Worker - Class in it.univr.passportease.entity
The Worker class is an entity that represents a worker.
Worker() - Constructor for class it.univr.passportease.entity.Worker
 
WORKER - Enum constant in enum class it.univr.passportease.helper.Roles
The worker role, for the clients that work in the service
WorkerAuthController - Class in it.univr.passportease.controller.worker
Controller for worker authentication and registration.
WorkerAuthController() - Constructor for class it.univr.passportease.controller.worker.WorkerAuthController
 
workerAuthService - Variable in class it.univr.passportease.controller.worker.WorkerAuthController
Worker authentication service.
WorkerAuthService - Interface in it.univr.passportease.service.worker
Service for worker authentication.
WorkerAuthServiceImpl - Class in it.univr.passportease.service.worker.impl
Implementation of WorkerAuthService, provides methods for authentication of Worker
WorkerAuthServiceImpl() - Constructor for class it.univr.passportease.service.worker.impl.WorkerAuthServiceImpl
 
WorkerInput - Class in it.univr.passportease.dto.input
WorkerInput is the class that represents the input data from the worker.
WorkerInput() - Constructor for class it.univr.passportease.dto.input.WorkerInput
 
WorkerMutationController - Class in it.univr.passportease.controller.worker
Controller for worker mutations.
WorkerMutationController() - Constructor for class it.univr.passportease.controller.worker.WorkerMutationController
 
workerMutationService - Variable in class it.univr.passportease.controller.worker.WorkerMutationController
Worker mutation service.
WorkerMutationService - Interface in it.univr.passportease.service.worker
Service for worker mutation operations.
WorkerMutationServiceImpl - Class in it.univr.passportease.service.worker.impl
Implementation of WorkerMutationService.
WorkerMutationServiceImpl() - Constructor for class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
 
WorkerNotFoundException - Exception Class in it.univr.passportease.exception.notfound
Exception thrown when a worker is not found.
WorkerNotFoundException() - Constructor for exception class it.univr.passportease.exception.notfound.WorkerNotFoundException
Default constructor, it sets the message to "Worker not found.".
WorkerNotFoundException(String) - Constructor for exception class it.univr.passportease.exception.notfound.WorkerNotFoundException
Constructor for the WorkerNotFoundException
WorkerQueryController - Class in it.univr.passportease.controller.worker
Controller for worker queries.
WorkerQueryController() - Constructor for class it.univr.passportease.controller.worker.WorkerQueryController
 
workerQueryService - Variable in class it.univr.passportease.controller.worker.WorkerQueryController
Worker query service.
WorkerQueryService - Interface in it.univr.passportease.service.worker
Service for querying the database for information about requests.
WorkerQueryServiceImpl - Class in it.univr.passportease.service.worker.impl
Implementation of WorkerQueryService.
WorkerQueryServiceImpl() - Constructor for class it.univr.passportease.service.worker.impl.WorkerQueryServiceImpl
 
workerRepository - Variable in class it.univr.passportease.config.AppUserDetailsService
The repository of the workers
workerRepository - Variable in class it.univr.passportease.config.SecurityConfig
Worker repository.
workerRepository - Variable in class it.univr.passportease.service.jwt.JwtService
The repository for the Worker entity.
workerRepository - Variable in class it.univr.passportease.service.userworker.impl.UserWorkerMutationServiceImpl
The repository for Worker entity.
workerRepository - Variable in class it.univr.passportease.service.worker.impl.WorkerAuthServiceImpl
Repository for Worker entity
workerRepository - Variable in class it.univr.passportease.service.worker.impl.WorkerMutationServiceImpl
Repository for Worker entity.
WorkerRepository - Interface in it.univr.passportease.repository
Repository for the Worker entity.
WrongPasswordException - Exception Class in it.univr.passportease.exception.security
This exception is thrown when the user has entered a wrong password.
WrongPasswordException(String) - Constructor for exception class it.univr.passportease.exception.security.WrongPasswordException
Constructor for the WrongPasswordException
A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form