Uses of Class
app.YUP.model.User
Packages that use User
-
Uses of User in app.YUP.config
Constructors in app.YUP.config with parameters of type UserModifierConstructorDescriptionUserAuthenticationToken(User user, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) Constructor for UserAuthenticationToken. -
Uses of User in app.YUP.model
Subclasses of User in app.YUP.modelModifier and TypeClassDescriptionclassThis class represents an external user in the system.classThis class represents an internal user in the system. -
Uses of User in app.YUP.repository
Methods in app.YUP.repository that return types with arguments of type UserModifier and TypeMethodDescriptionFinds a user by their ID.UserRepository.findByUsername(String username) Finds a user by their username.Methods in app.YUP.repository with parameters of type UserModifier and TypeMethodDescriptionEventRepository.findByOwner(User owner) Finds events by their owner. -
Uses of User in app.YUP.service
Methods in app.YUP.service that return UserModifier and TypeMethodDescriptionUserService.getUserById(String userId) Retrieves a user by their unique identifier (UUID).UserService.getUserByUsername(String username) Retrieves a user by their username.Methods in app.YUP.service that return types with arguments of type UserModifier and TypeMethodDescriptionEventService.getEventParticipants(UUID eventId) Retrieves the participants of a given event.Methods in app.YUP.service with parameters of type UserModifier and TypeMethodDescriptionbooleanReservationService.checkIfEventIsReservedByUser(User user, UUID eventId) Checks if a specific event is reserved by a user.voidReservationService.checkIfUserIsOwnerOfReservation(UUID userId, User userLogged, Event event) This method checks if the logged-in user is the owner of the reservation.ReservationService.createReservation(ReservationRequest reservationRequest, User user) Creates a new reservation in the system.voidReservationService.deleteReservation(Event event, User user) Deletes a reservation from the system.voidUserService.deleteUser(User user) Deletes a user from the database.JwtService.generateToken(User user) Generates a JWT token for the given user details.JwtService.generateToken(Map<String, Object> extraClaims, User user) Generates a JWT token for the given user details and additional claims.booleanJwtService.isTokenValid(String token, User user) Checks if the JWT token is valid for the given user details.UserService.mapEntityToDTO(User user) Maps a User entity to a UserResponse DTO.ReservationService.returnReservationCode(User user, UUID eventId) This method is used to return the reservation code for a specific event that a user has reserved.voidUserService.updateUser(User user, UserUpdateRequest userUpdateRequest) Updates a user's information in the database.Method parameters in app.YUP.service with type arguments of type UserModifier and TypeMethodDescriptionEventService.getEventParticipantsEmails(Set<User> participants) Retrieves the emails of participants of a given event.