Uses of Class
com.mindstore.backend.data.entity.User
Packages that use User
Package
Description
-
Uses of User in com.mindstore.backend.controller
Methods in com.mindstore.backend.controller that return UserModifier and TypeMethodDescriptionUserController.getRecentUser(String email, LocalDateTime createdAt) function: get a user based on their email and the date they were created in the database.Methods in com.mindstore.backend.controller that return types with arguments of type UserModifier and TypeMethodDescriptionUserController.getAllUsers()function: return all users available, usually this will be only 1-2 users note: the initializer creates a test user.UserController.getUserById(Long Id) function: get a singular userorg.springframework.http.ResponseEntity<User> AuthenticationController.register(RegisterUserDto registerUserDto) function: used to register users -
Uses of User in com.mindstore.backend.data.entity
Methods in com.mindstore.backend.data.entity that return UserModifier and TypeMethodDescriptiondefault setterUser.setFullName(String fullName) default setterUser.setPassword(String password) default setter -
Uses of User in com.mindstore.backend.repository
Methods in com.mindstore.backend.repository that return UserModifier and TypeMethodDescriptionUserRepository.getUserWithMailAdressAndSpecificCreatedAtDate(String email, LocalDateTime createdAt) function to select users by mail who were created before a certain dateMethods in com.mindstore.backend.repository that return types with arguments of type UserModifier and TypeMethodDescriptionUserRepository.findByEmail(String email) function to find a user by email -
Uses of User in com.mindstore.backend.service
Methods in com.mindstore.backend.service that return UserModifier and TypeMethodDescriptionAuthenticationService.authenticate(LoginUserDto input) function: used to authenticate a user, for example for the login by using authenticationManagerAuthenticationService.findOrCreateUserByEmail(String email) function: search for a user by using the email if the user isn't found, create them.UserService.getRecentUser(String email, LocalDateTime createdAt) function: search for a user with email that was created before a specific Datefunction: adds a new user to the user repoAuthenticationService.signup(RegisterUserDto input) function: sign up a userMethods in com.mindstore.backend.service that return types with arguments of type UserModifier and TypeMethodDescriptionUserService.findAll()function: searches for all users in the user repoUserService.findUserById(Long id) function: find a specific user in the user repoMethods in com.mindstore.backend.service with parameters of type User