Index

A C D E F G H I J L M N O P Q R S T U V Y 
All Classes and Interfaces|All Packages|Serialized Form

A

addResourceHandlers(ResourceHandlerRegistry) - Method in class app.YUP.config.ResourceHandlerConfig
This method is overridden to add resource handlers for serving static resources.
APERITIVO - Enum constant in enum class app.YUP.Enum.EventTag
Represents an aperitivo event.
apiLogin(AuthenticationRequest, HttpServletResponse, String) - Method in class app.YUP.controller.AuthenticationController
This method is used to authenticate a user.
apiLogout(HttpServletRequest, HttpServletResponse) - Method in class app.YUP.controller.AuthenticationController
This method is used to log out a user.
app.services.config - package app.services.config
 
app.services.model - package app.services.model
 
app.services.service - package app.services.service
 
app.YUP - package app.YUP
 
app.YUP.config - package app.YUP.config
 
app.YUP.controller - package app.YUP.controller
 
app.YUP.dto.request - package app.YUP.dto.request
 
app.YUP.dto.response - package app.YUP.dto.response
 
app.YUP.Enum - package app.YUP.Enum
 
app.YUP.exception - package app.YUP.exception
 
app.YUP.externalModel - package app.YUP.externalModel
 
app.YUP.externalService - package app.YUP.externalService
 
app.YUP.model - package app.YUP.model
 
app.YUP.repository - package app.YUP.repository
 
app.YUP.service - package app.YUP.service
 
app.YUP.utils - package app.YUP.utils
 
app.YUP.wrapper - package app.YUP.wrapper
 
ApplicationConfig - Class in app.YUP.config
Configuration class for the application.
ApplicationConfig() - Constructor for class app.YUP.config.ApplicationConfig
 
authenticate(AuthenticationRequest, HttpServletResponse) - Method in class app.YUP.service.AuthenticationService
Authenticates a user using their username and password.
AuthenticationController - Class in app.YUP.controller
This class is a controller for handling authentication related requests.
AuthenticationController() - Constructor for class app.YUP.controller.AuthenticationController
 
authenticationManager(AuthenticationConfiguration) - Method in class app.YUP.config.ApplicationConfig
Bean definition for AuthenticationManager.
authenticationProvider() - Method in class app.YUP.config.ApplicationConfig
Bean definition for AuthenticationProvider.
AuthenticationRequest - Class in app.YUP.dto.request
This class represents the data transfer object (DTO) for an authentication request.
AuthenticationRequest() - Constructor for class app.YUP.dto.request.AuthenticationRequest
 
AuthenticationResponse - Class in app.YUP.dto.response
This class represents the data transfer object (DTO) for an authentication response.
AuthenticationResponse() - Constructor for class app.YUP.dto.response.AuthenticationResponse
 
AuthenticationService - Class in app.YUP.service
This class represents the service layer for the Authentication entity.
AuthenticationService() - Constructor for class app.YUP.service.AuthenticationService
 

C

CaptchaNotValidException - Exception Class in app.YUP.exception
This class represents a custom exception that is thrown when the captcha is not valid.
CaptchaNotValidException(String) - Constructor for exception class app.YUP.exception.CaptchaNotValidException
Constructs a new CaptchaNotValidException with the specified detail message.
CaptchaNotValidException(String, Throwable) - Constructor for exception class app.YUP.exception.CaptchaNotValidException
Constructs a new CaptchaNotValidException with the specified detail message and cause.
CaptchaNotValidException(Throwable) - Constructor for exception class app.YUP.exception.CaptchaNotValidException
Constructs a new CaptchaNotValidException with the specified cause.
CaptchaResponse - Class in app.YUP.dto.response
This class represents the data transfer object (DTO) for a Captcha response.
CaptchaResponse() - Constructor for class app.YUP.dto.response.CaptchaResponse
 
CaptchaSettings - Class in app.YUP.config
Configuration class for Google reCAPTCHA.
CaptchaSettings() - Constructor for class app.YUP.config.CaptchaSettings
 
changePassword(ChangePasswordRequest, InternalUser) - Method in class app.YUP.service.InternalUserService
Changes the password of an internal user.
changePassword(ChangePasswordRequest, HttpServletRequest, HttpServletResponse) - Method in class app.YUP.controller.UserController
This method is used to change a user's password.
ChangePasswordRequest - Class in app.YUP.dto.request
 
ChangePasswordRequest() - Constructor for class app.YUP.dto.request.ChangePasswordRequest
 
checkEmail(String) - Method in class app.YUP.service.UserService
Checks if the email is valid and not already in use.
checkIdFromCookie(HttpServletRequest) - Method in class app.YUP.service.AuthenticationService
This method retrieves the user ID from the cookie in the HttpServletRequest object.
checkIfEventIsReservedByUser(User, UUID) - Method in class app.YUP.service.ReservationService
Checks if a specific event is reserved by a user.
checkIfUserExist(Map<String, String>, HttpServletResponse) - Method in class app.YUP.controller.UserController
This method is used to check if a user with a given username exists in the system.
checkIfUserExistsByUsername(String) - Method in class app.YUP.service.UserService
Checks if a user with the given username already exists in the system.
checkIfUserIsOwnerOfReservation(UUID, User, Event) - Method in class app.YUP.service.ReservationService
This method checks if the logged-in user is the owner of the reservation.
checkQrCode(Map<String, String>, HttpServletRequest, HttpServletResponse) - Method in class app.YUP.controller.ReservationController
This method is used to check the reservation of a participant.
checkUserCanReserveBeforeStartDateTime(Event) - Method in class app.YUP.service.ReservationService
This method checks if the current time is before the start time of the event.
convertTo24Hour(LocalDateTime) - Static method in class app.YUP.utils.DateTimeConverter
Converts a LocalDateTime to a string format of "HH:mm" (24-hour format).
convertToBase64(BufferedImage) - Static method in class app.YUP.utils.ImageConverter
Converts a BufferedImage to a Base64 string.
convertToGeoJson(List<Event>) - Method in class app.YUP.service.EventService
Converts a list of events to a GeoJSON representation.
convertToMonthDay(LocalDateTime) - Static method in class app.YUP.utils.DateTimeConverter
Converts a LocalDateTime to a string format of "MMMM d" (e.g., "January 1").
CookieNotFoundException - Exception Class in app.YUP.exception
This class represents a custom exception that is thrown when a cookie is not found.
CookieNotFoundException(String) - Constructor for exception class app.YUP.exception.CookieNotFoundException
Constructs a new CookieNotFoundException with the specified detail message.
CookieNotFoundException(String, Throwable) - Constructor for exception class app.YUP.exception.CookieNotFoundException
Constructs a new CookieNotFoundException with the specified detail message and cause.
CookieNotFoundException(Throwable) - Constructor for exception class app.YUP.exception.CookieNotFoundException
Constructs a new CookieNotFoundException with the specified cause.
createEvent(EventRequest, HttpServletRequest, BindingResult, MultipartFile, Model, HttpServletResponse) - Method in class app.YUP.controller.EventController
This method is used to create a new event.
createEvent(EventRequest, String, BindingResult, MultipartFile, Model) - Method in class app.YUP.service.EventService
Creates a new event by saving the provided event object to the repository.
createExternalUser(HttpServletResponse, ExternalProviderUser) - Method in class app.YUP.service.ExternalUserService
Creates a new external user or updates an existing one.
createInternalUser(RegistrationRequest) - Method in class app.YUP.service.InternalUserService
Creates a new internal user in the system.
createReservation(ReservationRequest, User) - Method in class app.YUP.service.ReservationService
Creates a new reservation in the system.

D

DateTimeConverter - Class in app.YUP.utils
Utility class for converting LocalDateTime to different string formats.
deleteCookie(HttpServletRequest, HttpServletResponse) - Method in class app.YUP.service.JwtService
Deletes the JWT cookie.
deleteEvent(Event) - Method in class app.YUP.service.EventService
Service method to delete a user event from the repository.
deleteEvent(UUID, HttpServletRequest, HttpServletResponse) - Method in class app.YUP.controller.EventController
Deletes an event.
deleteReservation(Event, User) - Method in class app.YUP.service.ReservationService
Deletes a reservation from the system.
deleteReservation(UUID, UUID, HttpServletRequest, HttpServletResponse) - Method in class app.YUP.controller.ReservationController
This method is used to delete a reservation.
deleteUser(User) - Method in class app.YUP.service.UserService
Deletes a user from the database.
deleteUser(HttpServletRequest, HttpServletResponse) - Method in class app.YUP.controller.UserController
This method is used to delete a user from the system.
doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class app.YUP.config.JwtAuthenticationFilter
This method is called by Spring when a request is received by the application.

E

EmailDetails - Class in app.YUP.externalModel
The EmailDetails class represents the details of an email.
EmailDetails() - Constructor for class app.YUP.externalModel.EmailDetails
 
EmailNotSentException - Exception Class in app.YUP.exception
This class represents a custom exception that is thrown when an email cannot be sent.
EmailNotSentException(String) - Constructor for exception class app.YUP.exception.EmailNotSentException
Constructs a new EmailNotSentException with the specified detail message.
EmailNotSentException(String, Throwable) - Constructor for exception class app.YUP.exception.EmailNotSentException
Constructs a new EmailNotSentException with the specified detail message and cause.
EmailNotSentException(Throwable) - Constructor for exception class app.YUP.exception.EmailNotSentException
Constructs a new EmailNotSentException with the specified cause.
EmailService - Interface in app.YUP.externalService
This interface provides methods to send emails.
EmailServiceImplementation - Class in app.YUP.externalService
This class implements the EmailService interface and provides the functionality to send emails with or without attachments.
EmailServiceImplementation() - Constructor for class app.YUP.externalService.EmailServiceImplementation
 
errorInvalidParameterException(Exception, HttpServletResponse) - Method in class app.YUP.exception.YupControllerAdvice
Handles exceptions of type InvalidParameterException by setting the HTTP response status to 400 (Bad Request) and returning a ModelAndView object that directs the user to an error view with an appropriate error message.
Event - Class in app.YUP.model
This class represents an event in the system.
Event() - Constructor for class app.YUP.model.Event
 
EventController - Class in app.YUP.controller
This class is a controller for handling event related requests.
EventController() - Constructor for class app.YUP.controller.EventController
 
eventPage(Model, HttpServletRequest, HttpServletResponse) - Method in class app.YUP.controller.EventController
This method is used to display the event creation page.
EventProperties() - Constructor for class app.YUP.dto.response.EventResponseGeoJson.EventProperties
 
EventRepository - Interface in app.YUP.repository
Repository interface for the Event entity.
EventRequest - Class in app.YUP.dto.request
This class represents the data transfer object (DTO) for an event request.
EventRequest() - Constructor for class app.YUP.dto.request.EventRequest
 
EventResponse - Class in app.YUP.dto.response
This class represents the data transfer object (DTO) for an event response.
EventResponse() - Constructor for class app.YUP.dto.response.EventResponse
 
EventResponseGeoJson - Class in app.YUP.dto.response
This class represents the data transfer object (DTO) for an event response in GeoJSON format.
EventResponseGeoJson() - Constructor for class app.YUP.dto.response.EventResponseGeoJson
 
EventResponseGeoJson.EventProperties - Class in app.YUP.dto.response
This class represents the properties of an event in a GeoJSON object.
EventResponseGeoJson.Geometry - Class in app.YUP.dto.response
This class represents the Geometry of a GeoJSON object.
EventService - Class in app.YUP.service
This class represents the service layer for the Event entity.
EventService() - Constructor for class app.YUP.service.EventService
 
EventTag - Enum Class in app.YUP.Enum
Enum representing different types of event tags.
existsByEmail(String) - Method in interface app.YUP.repository.UserRepository
Checks if a user exists by their email.
existsById(String) - Method in class app.YUP.service.ExternalUserService
Checks if a user exists by their userId.
existsById(String) - Method in class app.YUP.service.InternalUserService
Checks if a user with the given userId exists in the system.
existsById(UUID) - Method in class app.YUP.service.EventService
 
existsById(UUID) - Method in class app.YUP.service.UserService
Checks if a user with the given unique identifier (UUID) exists in the database.
existsByUsername(String) - Method in interface app.YUP.repository.UserRepository
Checks if a user exists by their username.
existsByUsername(String) - Method in class app.YUP.service.UserService
Checks if a user with the given username exists in the database.
externalProviderAuthenticationSuccessHandler(ExternalUserService) - Method in class app.YUP.config.ApplicationConfig
Creates an instance of the ExternalProviderAuthenticationSuccessHandler class.
ExternalProviderAuthenticationSuccessHandler - Class in app.services.config
 
ExternalProviderAuthenticationSuccessHandler() - Constructor for class app.services.config.ExternalProviderAuthenticationSuccessHandler
 
ExternalProviderUser - Class in app.services.model
Questa classe funge da mapping fra l'oggetto di ritorno dal provider e il mio oggetto nel database.
ExternalProviderUser() - Constructor for class app.services.model.ExternalProviderUser
 
externalProviderUserService() - Method in class app.YUP.config.ApplicationConfig
Creates an instance of the ExternalProviderUserService class.
ExternalProviderUserService - Class in app.services.service
 
ExternalProviderUserService() - Constructor for class app.services.service.ExternalProviderUserService
 
ExternalUser - Class in app.YUP.model
This class represents an external user in the system.
ExternalUser() - Constructor for class app.YUP.model.ExternalUser
 
ExternalUserRepository - Interface in app.YUP.repository
Repository for the ExternalUsers entity.
ExternalUserService - Class in app.YUP.service
Service class for managing external users.
ExternalUserService() - Constructor for class app.YUP.service.ExternalUserService
 
extractClaimFromToken(String, Function<Claims, T>) - Method in class app.YUP.service.JwtService
Extracts a claim from the JWT token.
extractClaimsFrom(String) - Method in class app.YUP.service.JwtService
Extracts the claims from the JWT token.
extractTokenFromCookie(HttpServletRequest) - Method in class app.YUP.config.JwtAuthenticationFilter
Extracts the JWT token from the request cookies.

F

findByEventId(UUID) - Method in interface app.YUP.repository.ReservationRepository
This method is used to fetch all reservations made for a specific event.
findByExternalId(String) - Method in interface app.YUP.repository.ExternalUserRepository
 
findById(UUID) - Method in interface app.YUP.repository.EventRepository
Finds an event by its ID.
findById(UUID) - Method in interface app.YUP.repository.UserRepository
Finds a user by their ID.
findByName(String) - Method in interface app.YUP.repository.EventRepository
Finds an event by its name.
findByOwner(User) - Method in interface app.YUP.repository.EventRepository
Finds events by their owner.
findByPrenotationCode(String) - Method in interface app.YUP.repository.ReservationRepository
This method is used to fetch a reservation using its prenotation code.
findByUserId(UUID) - Method in interface app.YUP.repository.ReservationRepository
This method is used to fetch all reservations made by a specific user.
findByUserIdAndEventId(UUID, UUID) - Method in interface app.YUP.repository.ReservationRepository
This method is used to fetch a reservation using its prenotation code and the user ID.
findByUsername(String) - Method in interface app.YUP.repository.InternalUserRepository
 
findByUsername(String) - Method in interface app.YUP.repository.UserRepository
Finds a user by their username.

G

generateCookie(HttpServletResponse, String) - Method in class app.YUP.service.JwtService
Generates a cookie containing the JWT token.
generateQrcode(String) - Static method in class app.YUP.utils.QRCodeService
Generates a QR code image from the provided text.
generateToken(User) - Method in class app.YUP.service.JwtService
Generates a JWT token for the given user details.
generateToken(Map<String, Object>, User) - Method in class app.YUP.service.JwtService
Generates a JWT token for the given user details and additional claims.
GenericController - Class in app.YUP.controller
Controller that handles generic operations for the application.
GenericController() - Constructor for class app.YUP.controller.GenericController
 
GeoJsonWrapper - Class in app.YUP.wrapper
Wrapper class for GeoJson data.
GeoJsonWrapper() - Constructor for class app.YUP.wrapper.GeoJsonWrapper
 
Geometry() - Constructor for class app.YUP.dto.response.EventResponseGeoJson.Geometry
 
getAllEvents() - Method in class app.YUP.service.EventService
Retrieves all events from the event repository and maps them to their corresponding DTOs.
getAllEvents(Model, HttpServletRequest, HttpServletResponse) - Method in class app.YUP.controller.EventController
This method is used to retrieve all events.
getAllEventsReservedByUser(UUID) - Method in class app.YUP.service.ReservationService
Retrieves all events reserved by a specific user.
getAllGEOEvents() - Method in class app.YUP.service.EventService
Retrieves all events from the event repository and maps them to their corresponding DTOs.
getAllGEOEvents(HttpServletResponse) - Method in class app.YUP.controller.EventController
This method is used to retrieve all events in GeoJSON format.
getAllReservationsForEvent(UUID) - Method in class app.YUP.service.ReservationService
Retrieves the reservations of a given event in alphabetical order by participant last name and first name This method takes an Event UUID as input and returns a set of ParticipantResponse objects representing the reservations for the event.
getAttributes() - Method in class app.services.model.ExternalProviderUser
Returns the attributes of the user provided by the external provider.
getAuthorities() - Method in class app.services.model.ExternalProviderUser
Returns the authorities granted to the user represented by this object.
getAuthorities() - Method in class app.YUP.model.User
Returns a collection of granted authorities based on the user's role.
getByUserIdAndEventId(UUID, UUID) - Method in class app.YUP.service.ReservationService
Retrieves a reservation by user ID and event ID.
getCredentials() - Method in class app.YUP.config.UserAuthenticationToken
Returns the credentials (usually a password) associated with this token.
getEmail() - Method in class app.services.model.ExternalProviderUser
The user email in external provider.
getEventById(UUID) - Method in class app.YUP.service.EventService
Retrieves an event by its unique identifier.
getEventById(UUID, Model, HttpServletRequest, HttpServletResponse) - Method in class app.YUP.controller.EventController
This method is used to retrieve a specific event by its ID.
getEventByOwner(UUID, Model, HttpServletRequest, HttpServletResponse) - Method in class app.YUP.controller.EventController
This method is used to retrieve a specific event with an owner view.
getEventImage(UUID) - Method in class app.YUP.controller.EventController
Retrieves the image of a specific event by its ID.
getEventParticipants(UUID) - Method in class app.YUP.service.EventService
Retrieves the participants of a given event.
getEventParticipants(UUID, Model, HttpServletRequest, HttpServletResponse) - Method in class app.YUP.controller.EventController
Handles HTTP GET requests to retrieve the list of participants for a specified event.
getEventParticipantsEmails(Set<User>) - Method in class app.YUP.service.EventService
Retrieves the emails of participants of a given event.
getEventsByOwner(String) - Method in class app.YUP.service.EventService
Retrieves all events owned by a specific user.
getEventsByOwner(Model, HttpServletRequest, HttpServletResponse) - Method in class app.YUP.controller.EventController
This method is used to retrieve events owned by the authenticated user.
getFamilyName() - Method in class app.services.model.ExternalProviderUser
The user last name in external provider.
getFirstNameFromCookie(HttpServletRequest) - Method in class app.YUP.service.AuthenticationService
Retrieves the first name if the user is logged in.
getGivenName() - Method in class app.services.model.ExternalProviderUser
The user first name in external provider.
getIdFromCookie(HttpServletRequest) - Method in class app.YUP.service.AuthenticationService
Retrieves the id from the JWT cookie.
getIdFromToken(String) - Method in class app.YUP.service.JwtService
Extracts the username from the JWT token.
getImageData(UUID) - Method in class app.YUP.service.EventService
Retrieves an event image by their ID (event id).
getName() - Method in class app.services.model.ExternalProviderUser
The user full name in external provider.
getPresence() - Method in class app.YUP.model.Reservation
 
getPresenceCounts(Set<ParticipantResponse>) - Method in class app.YUP.service.ReservationService
Counts the number of participants who are present and not present.
getPrincipal() - Method in class app.YUP.config.UserAuthenticationToken
Returns the principal (usually a User object) associated with this token.
getSub() - Method in class app.services.model.ExternalProviderUser
Returns the provider unique identifier of the user represented by this object.
getUserById(String) - Method in class app.YUP.service.ExternalUserService
Retrieves a user by their userId.
getUserById(String) - Method in class app.YUP.service.InternalUserService
Retrieves a user by their userId.
getUserById(String) - Method in class app.YUP.service.UserService
Retrieves a user by their unique identifier (UUID).
getUserByUsername(String) - Method in class app.YUP.service.UserService
Retrieves a user by their username.
GOOGLE - Enum constant in enum class app.YUP.Enum.LoginProvider
Represents the Google login provider.

H

handleError(HttpServletRequest, HttpServletResponse, Model) - Method in class app.YUP.controller.YupErrorController
This method is used to handle errors in the application.
handleException(CaptchaNotValidException, HttpServletResponse) - Method in class app.YUP.exception.YupControllerAdvice
Handles exceptions of type CaptchaNotValidException by setting the HTTP response status to 403 (Forbidden) and returning a ModelAndView object that displays an exception view with the exception message.
handleException(CookieNotFoundException, HttpServletResponse) - Method in class app.YUP.exception.YupControllerAdvice
Handles exceptions of type CookieNotFoundException by setting the HTTP response status to 403 (Forbidden) and returning a ModelAndView object that redirects the user to the login view with an error message.
handleException(EmailNotSentException, HttpServletResponse) - Method in class app.YUP.exception.YupControllerAdvice
Handles exceptions of type EmailNotSentException by setting the HTTP response status to 502 (Bad Gateway) and returning a ModelAndView object that directs the user to an error view with an appropriate error message.
handleException(InvalidParameterException, HttpServletResponse) - Method in class app.YUP.exception.YupControllerAdvice
Handles exceptions of type InvalidParameterException by setting the HTTP response status to 403 (Forbidden) and returning a ModelAndView object that displays an exception view with the exception message.
handleException(InvalidPermissionException, HttpServletResponse) - Method in class app.YUP.exception.YupControllerAdvice
Handles exceptions of type InvalidPermissionException by setting the HTTP response status to 401 (Unauthorized) and returning a ModelAndView object that displays an exception view with the exception message.
handleException(ItemAlreadyExistException, HttpServletResponse) - Method in class app.YUP.exception.YupControllerAdvice
Handles exceptions of type ItemAlreadyExistException by setting the HTTP response status to 500 (Bad Gateway) and returning a ModelAndView object that directs the user to an error view with an appropriate error message.
handleException(ResourceNotFoundException, HttpServletResponse) - Method in class app.YUP.exception.YupControllerAdvice
Handles exceptions of type ResourceNotFoundException by setting the HTTP response status to 404 (Not Found) and returning a ModelAndView object that displays an exception view with the exception message.
handleException(UnauthorizedAccessException, HttpServletResponse) - Method in class app.YUP.exception.YupControllerAdvice
Handles exceptions of type UnauthorizedAccessException by setting the HTTP response status to 403 (Forbidden) and returning a ModelAndView object that directs the user to an error view with an appropriate error message.
handleException(IllegalArgumentException, HttpServletResponse) - Method in class app.YUP.exception.YupControllerAdvice
Handles exceptions of type IllegalArgumentException by setting the HTTP response status to 400 (Bad Request) and returning a ModelAndView object that displays an exception view with the exception message.
handleException(IllegalStateException, HttpServletResponse) - Method in class app.YUP.exception.YupControllerAdvice
Handles exceptions of type IllegalStateException by setting the HTTP response status to 500 (Internal Server Error) and returning a ModelAndView object that displays an exception view with the exception message.
handleException(NoHandlerFoundException, HttpServletResponse) - Method in class app.YUP.exception.YupControllerAdvice
Handles exceptions of type NoHandlerFoundException by redirecting the user to the root ("/") URL.

I

ImageConverter - Class in app.YUP.utils
Utility class for converting BufferedImage to Base64 string.
index(HttpServletRequest, HttpServletResponse, Model) - Method in class app.YUP.controller.GenericController
Returns the homepage of the application.
InternalUser - Class in app.YUP.model
This class represents an internal user in the system.
InternalUser() - Constructor for class app.YUP.model.InternalUser
 
InternalUserRepository - Interface in app.YUP.repository
Repository for the InternalUsers entity.
InternalUserService - Class in app.YUP.service
Service class for managing internal users.
InternalUserService() - Constructor for class app.YUP.service.InternalUserService
 
InvalidParameterException - Exception Class in app.YUP.exception
This class represents a custom exception that is thrown when an invalid parameter is encountered.
InvalidParameterException(String) - Constructor for exception class app.YUP.exception.InvalidParameterException
Constructs a new InvalidParameterException with the specified detail message.
InvalidParameterException(Throwable) - Constructor for exception class app.YUP.exception.InvalidParameterException
Constructs a new InvalidParameterException with the specified cause.
InvalidPermissionException - Exception Class in app.YUP.exception
This class represents a custom exception that is thrown when a user tries to perform an action they do not have permission for.
InvalidPermissionException(String) - Constructor for exception class app.YUP.exception.InvalidPermissionException
Constructs a new InvalidPermissionException with the specified detail message.
InvalidPermissionException(String, Throwable) - Constructor for exception class app.YUP.exception.InvalidPermissionException
Constructs a new InvalidPermissionException with the specified detail message and cause.
InvalidPermissionException(Throwable) - Constructor for exception class app.YUP.exception.InvalidPermissionException
Constructs a new InvalidPermissionException with the specified cause.
isAccountNonExpired() - Method in class app.YUP.model.InternalUser
Returns true if the user's account is not expired.
isAccountNonLocked() - Method in class app.YUP.model.InternalUser
Returns true if the user's account is not locked.
isCredentialsNonExpired() - Method in class app.YUP.model.InternalUser
Returns true if the user's credentials are not expired.
isEnabled() - Method in class app.YUP.model.InternalUser
Returns true if the user's account is enabled.
isEventOwner(String, UUID) - Method in class app.YUP.service.EventService
This method checks if a user is the owner of a specific event.
isTokenValid(String, User) - Method in class app.YUP.service.JwtService
Checks if the JWT token is valid for the given user details.
isValidCaptcha(String) - Method in class app.YUP.service.InternalUserService
Check if captcha is valid.
ItemAlreadyExistException - Exception Class in app.YUP.exception
Custom exception class for handling scenarios where a cookie is not found.
ItemAlreadyExistException(String) - Constructor for exception class app.YUP.exception.ItemAlreadyExistException
Constructs a new CookieNotFoundException with the specified detail message.
ItemAlreadyExistException(String, Throwable) - Constructor for exception class app.YUP.exception.ItemAlreadyExistException
Constructs a new CookieNotFoundException with the specified detail message and cause.
ItemAlreadyExistException(Throwable) - Constructor for exception class app.YUP.exception.ItemAlreadyExistException
Constructs a new CookieNotFoundException with the specified cause.

J

JwtAuthenticationFilter - Class in app.YUP.config
A Spring Security filter that authenticates requests using JWT tokens.
JwtAuthenticationFilter() - Constructor for class app.YUP.config.JwtAuthenticationFilter
 
JwtService - Class in app.YUP.service
This class provides JWT (JSON Web Token) related functionalities.
JwtService() - Constructor for class app.YUP.service.JwtService
 

L

LIVEMUSIC - Enum constant in enum class app.YUP.Enum.EventTag
Represents a live music event.
loadUser(OAuth2UserRequest) - Method in class app.services.service.ExternalProviderUserService
Overrides the loadUser method from DefaultOAuth2UserService to create an instance of ExternalProviderUser.
LOGGED_USER - Enum constant in enum class app.YUP.Enum.Role
Represents a user that is logged in.
loginPage(Model, HttpServletResponse) - Method in class app.YUP.controller.AuthenticationController
This method is used to display the login page.
LoginProvider - Enum Class in app.YUP.Enum
Enum representing different login providers.
logout(HttpServletRequest, HttpServletResponse) - Method in class app.YUP.service.AuthenticationService
Logs out a user by deleting the JWT cookie.

M

main(String[]) - Static method in class app.YUP.YupApplication
The main method which serves as the entry point for the Spring Boot application.
mapEntityToDTO(Event) - Method in class app.YUP.service.EventService
Maps an EventDTO object to an Event entity object.
mapEntityToDTO(User) - Method in class app.YUP.service.UserService
Maps a User entity to a UserResponse DTO.
myReservation(Model, HttpServletRequest, HttpServletResponse) - Method in class app.YUP.controller.ReservationController
This method is used to retrieve all the reservations made by the user.

N

newReservation(ReservationRequest, HttpServletRequest, HttpServletResponse) - Method in class app.YUP.controller.ReservationController
This method is used to create a new reservation.

O

onAuthenticationSuccess(HttpServletRequest, HttpServletResponse, Authentication) - Method in class app.services.config.ExternalProviderAuthenticationSuccessHandler
This method is called when the user successfully authenticates with an external provider.

P

ParticipantResponse - Class in app.YUP.dto.response
This class represents the data transfer object (DTO) for the event participant.
ParticipantResponse() - Constructor for class app.YUP.dto.response.ParticipantResponse
 
PARTY - Enum constant in enum class app.YUP.Enum.EventTag
Represents a party event.
passwordEncoder() - Method in class app.YUP.config.ApplicationConfig
Bean definition for PasswordEncoder.

Q

QRCodeService - Class in app.YUP.utils
A utility class for generating QR codes.

R

register(RegistrationRequest, String, HttpServletResponse) - Method in class app.YUP.controller.UserController
This method is used to register a new user.
registrationPage(Model, HttpServletResponse) - Method in class app.YUP.controller.UserController
This method is used to display the registration page.
RegistrationRequest - Class in app.YUP.dto.request
This class represents the data transfer object (DTO) for a registration request.
RegistrationRequest() - Constructor for class app.YUP.dto.request.RegistrationRequest
 
Reservation - Class in app.YUP.model
 
Reservation() - Constructor for class app.YUP.model.Reservation
 
ReservationController - Class in app.YUP.controller
This class is a controller for handling reservation related requests.
ReservationController() - Constructor for class app.YUP.controller.ReservationController
 
ReservationRepository - Interface in app.YUP.repository
Repository interface for the Reservation entity.
ReservationRequest - Class in app.YUP.dto.request
This class represents the data transfer object (DTO) for a reservation request.
ReservationRequest() - Constructor for class app.YUP.dto.request.ReservationRequest
 
ReservationService - Class in app.YUP.service
 
ReservationService() - Constructor for class app.YUP.service.ReservationService
 
ResourceHandlerConfig - Class in app.YUP.config
Configuration class for resource handlers.
ResourceHandlerConfig() - Constructor for class app.YUP.config.ResourceHandlerConfig
 
ResourceNotFoundException - Exception Class in app.YUP.exception
This class represents a custom exception that is thrown when a specific resource is not found.
ResourceNotFoundException(String) - Constructor for exception class app.YUP.exception.ResourceNotFoundException
Constructs a new ResourceNotFoundException with the specified detail message.
ResourceNotFoundException(String, Throwable) - Constructor for exception class app.YUP.exception.ResourceNotFoundException
Constructs a new ResourceNotFoundException with the specified detail message and cause.
ResourceNotFoundException(Throwable) - Constructor for exception class app.YUP.exception.ResourceNotFoundException
Constructs a new ResourceNotFoundException with the specified cause.
returnReservationCode(User, UUID) - Method in class app.YUP.service.ReservationService
This method is used to return the reservation code for a specific event that a user has reserved.
Role - Enum Class in app.YUP.Enum
Enum representing different user roles in the application.

S

SecurityConfig - Class in app.YUP.config
Configuration class for Spring Security.
SecurityConfig() - Constructor for class app.YUP.config.SecurityConfig
 
securityFilterChain(HttpSecurity) - Method in class app.YUP.config.SecurityConfig
Bean definition for SecurityFilterChain.
sender - Variable in class app.YUP.externalService.EmailServiceImplementation
The sender's email address.
sendErrorEmail(Map<String, String>, HttpServletResponse) - Method in class app.YUP.controller.YupErrorController
This method is used to send an error email to the team.
sendMailWithAttachment(EmailDetails) - Method in interface app.YUP.externalService.EmailService
Sends an email with an attachment.
sendMailWithAttachment(EmailDetails) - Method in class app.YUP.externalService.EmailServiceImplementation
Sends an email with an attachment.
sendMailWithoutAttachment(EmailDetails) - Method in interface app.YUP.externalService.EmailService
Sends an email without an attachment.
sendMailWithoutAttachment(EmailDetails) - Method in class app.YUP.externalService.EmailServiceImplementation
Sends an email without an attachment.

T

toImage(QrCode, int, int, int, int) - Static method in class app.YUP.utils.QRCodeService
Converts a QrCode object to a BufferedImage.

U

UnauthorizedAccessException - Exception Class in app.YUP.exception
Exception thrown when a user attempts to access a resource they do not have permission to access.
UnauthorizedAccessException(String) - Constructor for exception class app.YUP.exception.UnauthorizedAccessException
Constructs a new UnauthorizedAccessException with the specified detail message.
UnauthorizedAccessException(String, Throwable) - Constructor for exception class app.YUP.exception.UnauthorizedAccessException
Constructs a new UnauthorizedAccessException with the specified detail message and cause.
UnauthorizedAccessException(Throwable) - Constructor for exception class app.YUP.exception.UnauthorizedAccessException
Constructs a new UnauthorizedAccessException with the specified cause.
updateParticipants(UUID, int) - Method in class app.YUP.service.EventService
Updates the number of participants for a specific event.
updateParticipantsById(UUID, int) - Method in interface app.YUP.repository.EventRepository
Updates the number of participants for an event by its ID.
updatePresenceByPrenotationCode(String, UUID, UUID) - Method in class app.YUP.service.ReservationService
Updates the presence status of a reservation by its prenotation code.
updateUser(UserUpdateRequest, HttpServletRequest, HttpServletResponse) - Method in class app.YUP.controller.UserController
This method is used to update a user's details.
updateUser(ExternalUser, UserUpdateRequest) - Method in class app.YUP.service.ExternalUserService
 
updateUser(User, UserUpdateRequest) - Method in class app.YUP.service.UserService
Updates a user's information in the database.
User - Class in app.YUP.model
This class represents a user in the application.
User() - Constructor for class app.YUP.model.User
 
UserAuthenticationToken - Class in app.YUP.config
Custom authentication token for the application.
UserAuthenticationToken(User, Collection<? extends GrantedAuthority>) - Constructor for class app.YUP.config.UserAuthenticationToken
Constructor for UserAuthenticationToken.
UserController - Class in app.YUP.controller
This class is a controller for handling user related requests.
UserController() - Constructor for class app.YUP.controller.UserController
 
userDetailsService(InternalUserRepository) - Method in class app.YUP.config.ApplicationConfig
Bean definition for UserDetailsService.
userPage(Model, HttpServletRequest, HttpServletResponse) - Method in class app.YUP.controller.UserController
This method is used to display the user page.
UserRepository - Interface in app.YUP.repository
Repository interface for the User entity.
UserResponse - Class in app.YUP.dto.response
This class represents the data transfer object (DTO) for a user response.
UserResponse() - Constructor for class app.YUP.dto.response.UserResponse
 
UserService - Class in app.YUP.service
This class represents the service layer for the User entity.
UserService() - Constructor for class app.YUP.service.UserService
 
UserUpdateRequest - Class in app.YUP.dto.request
 
UserUpdateRequest() - Constructor for class app.YUP.dto.request.UserUpdateRequest
 

V

valueOf(String) - Static method in enum class app.YUP.Enum.EventTag
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class app.YUP.Enum.LoginProvider
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class app.YUP.Enum.Role
Returns the enum constant of this class with the specified name.
values() - Static method in enum class app.YUP.Enum.EventTag
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class app.YUP.Enum.LoginProvider
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class app.YUP.Enum.Role
Returns an array containing the constants of this enum class, in the order they are declared.

Y

YupApplication - Class in app.YUP
Main application class for the YUP application.
YupApplication() - Constructor for class app.YUP.YupApplication
 
YupControllerAdvice - Class in app.YUP.exception
This class provides centralized exception handling across all @RequestMapping methods through @ExceptionHandler methods.
YupControllerAdvice() - Constructor for class app.YUP.exception.YupControllerAdvice
 
YupErrorController - Class in app.YUP.controller
This class is a controller for handling errors in the application.
YupErrorController() - Constructor for class app.YUP.controller.YupErrorController
 
A C D E F G H I J L M N O P Q R S T U V Y 
All Classes and Interfaces|All Packages|Serialized Form