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
Methods in vaultWeb.dtos with parameters of type User -
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) SecurityEventRepository.findTop50ByUserOrderByTimestampDesc(User user) Method parameters in vaultWeb.repositories with type arguments of type User -
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(PollContext pollContext, User author, PollRequestDto pollDto) Creates a new poll in the specified group by the given author.voidPollService.deletePoll(Long pollId, User user) Deletes a poll authored by a user.voidPollService.deletePollInGroup(Long groupId, Long pollId, User user) voidPollService.deletePollInPrivateChat(Long privateChatId, Long pollId, User user) PollService.getPollsByGroup(Long groupId, User currentUser) Retrieves all polls for a given group.PollService.getPollsByPrivateChat(Long privateChatId, User currentUser) UserService.getSecurityEvents(User user) Retrieves recent security events for a specific user, ordered chronologically (newest first).GroupService.getUserGroups(User user) Retrieves all groups that a user is a member of.Adds a user to a group as a regular member.GroupService.leaveGroup(Long groupId, User currentUser) Removes a user from a group.voidUserService.logSecurityEvent(User user, SecurityEventType eventType, String status, jakarta.servlet.http.HttpServletRequest request, String deviceId) Manually logs a security event (e.g. for external/custom actions).voidUserService.registerUser(User user) Registers a new user by encoding their password and assigning the default role.voidUserService.removeProfilePicture(User user) Clears the profile picture from the user's database record (sets it to null).PollService.updatePoll(Long pollId, User user, PollRequestDto pollDto) Updates an existing poll authored by a user.PollService.updatePollInGroup(Long groupId, Long pollId, User user, PollRequestDto pollDto) PollService.updatePollInPrivateChat(Long privateChatId, Long pollId, User user, PollRequestDto pollDto) voidUserService.updateProfilePicture(User user, String picturePath) Saves a profile picture path to the user's record in the database.voidAllows a user to vote for a specific option in a poll within a group.voidPollService.voteInGroup(Long groupId, Long pollId, Long optionId, User user) voidPollService.voteInPrivateChat(Long privateChatId, Long pollId, Long optionId, User user) -
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.