Uses of Class
com.jangular.backend.models.User
Packages that use User
Package
Description
-
Uses of User in com.jangular.backend.dto
Constructors in com.jangular.backend.dto with parameters of type User -
Uses of User in com.jangular.backend.repository
Methods in com.jangular.backend.repository that return types with arguments of type UserModifier and TypeMethodDescriptionUserRepository.findByEmailAndIsDeletedFalse(String email) UserRepository.findByIdAndIsDeletedFalse(Long id) UserRepository.findByIsActiveAndIsDeletedFalse(boolean isActive) UserRepository.findByUsername(String username) UserRepository.findByUsernameAndIsDeletedFalse(String username) UserRepository.findByUsernameAndIsDeletedFalseAndIsActive(String username, boolean isActive) Methods in com.jangular.backend.repository with parameters of type UserModifier and TypeMethodDescriptionvoidRefreshTokenRepository.deleteByUser(User user) RefreshTokenRepository.findByUser(User user) PasswordHistoryRepository.findTop5ByUserOrderByChangedAtDesc(User user) -
Uses of User in com.jangular.backend.security
Methods in com.jangular.backend.security with parameters of type User -
Uses of User in com.jangular.backend.service
Methods in com.jangular.backend.service that return UserModifier and TypeMethodDescriptionUserService.addRoleToUser(Long userId, RoleName roleName) Add role to userUserService.createUser(User user) Creates a new user with encoded password and default USER roleUserService.removeRoleFromUser(Long userId, RoleName roleName) Remove role from userUserService.updateUser(User user) Updates a user's informationMethods in com.jangular.backend.service that return types with arguments of type UserModifier and TypeMethodDescriptionUserService.findAllActiveUsers()Get all active usersUserService.findByEmail(String email) Find user by emailFind user by IDUserService.findByUsername(String username) Find user by usernameMethods in com.jangular.backend.service with parameters of type UserModifier and TypeMethodDescriptionUserService.createUser(User user) Creates a new user with encoded password and default USER roleUserService.updateUser(User user) Updates a user's information