Uses of Class
vaultWeb.models.User
Packages that use User
Package
Description
-
Uses of User in vaultWeb.controllers
Methods in vaultWeb.controllers that return types with arguments of type UserModifier and TypeMethodDescriptionGroupController.getGroupMembers(Long id) Retrieves all members of a given group. -
Uses of User in vaultWeb.dtos.user
Constructors in vaultWeb.dtos.user with parameters of type User -
Uses of User in vaultWeb.models
Constructors in vaultWeb.models with parameters of type User -
Uses of User in vaultWeb.repositories
Methods in vaultWeb.repositories that return types with arguments of type UserMethods in vaultWeb.repositories with parameters of type UserModifier and TypeMethodDescriptionlongChatMessageRepository.countBySender(User sender) voidGroupMemberRepository.deleteByGroupAndUser(Group group, User userId) booleanPollVoteRepository.existsByOption_PollAndUser(Poll poll, User user) GroupMemberRepository.findAllByUser(User user) GroupMemberRepository.findByGroupAndUser(Group group, User user) PrivateChatRepository.findByUser1AndUser2(User user1, User user2) PrivateChatRepository.findByUser1OrUser2(User user1, User user2) PrivateChatRepository.findByUser2AndUser1(User user1, User user2) ChatMessageRepository.findTop10BySenderOrderByTimestampDesc(User sender) -
Uses of User in vaultWeb.security
Methods in vaultWeb.security with parameters of type UserModifier and TypeMethodDescriptionJwtUtil.generateRefreshToken(User user, String tokenId) Generates a signed refresh token JWT for the given user.JwtUtil.generateToken(User user) Generates a signed JWT token for the given user. -
Uses of User in vaultWeb.services
Methods in vaultWeb.services that return types with arguments of type UserModifier and TypeMethodDescriptionUserService.getAllUsers()Retrieves a list of all registered users.GroupService.getMembers(Long groupId) Retrieves all members of a group.Methods in vaultWeb.services with parameters of type UserModifier and TypeMethodDescriptionDashboardService.buildDashboard(User user) Builds the full dashboard payload for a given user.voidUserService.changePassword(User user, String currentPassword, String newPassword) Allows an authenticated user to change their password after validating the old password.GroupService.createGroup(GroupDto dto, User creator) Creates a new group with the given DTO and sets the creator as admin.PollService.createPoll(Group group, User author, PollRequestDto pollDto) Creates a new poll in the specified group by the given author.voidPollService.deletePoll(Long groupId, Long pollId, User user) Deletes a poll authored by a user.PollService.getPollsByGroup(Long groupId, User currentUser) Retrieves all polls for a given group.Adds a user to a group as a regular member.GroupService.leaveGroup(Long groupId, User currentUser) Removes a user from a group.voidUserService.registerUser(User user) Registers a new user by encoding their password and assigning the default role.PollService.updatePoll(Long groupId, Long pollId, User user, PollRequestDto pollDto) Updates an existing poll authored by a user.voidAllows a user to vote for a specific option in a poll within a group. -
Uses of User in vaultWeb.services.auth
Methods in vaultWeb.services.auth that return UserModifier and TypeMethodDescriptionAuthService.getCurrentUser()Retrieves the currently authenticated user from the SecurityContext.LoginResult.user()Returns the value of theuserrecord component.Methods in vaultWeb.services.auth with parameters of type UserModifier and TypeMethodDescriptionvoidCreates and issues a new refresh token for the given user.Constructors in vaultWeb.services.auth with parameters of type UserModifierConstructorDescriptionLoginResult(User user, String accessToken) Creates an instance of aLoginResultrecord class.