Uses of Class
com.example.restapi.model.User
Packages that use User
Package
Description
-
Uses of User in com.example.restapi.controller
Methods in com.example.restapi.controller that return types with arguments of type UserModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<User>UserController.createUser(User user) UserController.getAllUsers()org.springframework.http.ResponseEntity<User>UserController.getUserById(Long id) org.springframework.http.ResponseEntity<User>UserController.getUserByUsername(String username) org.springframework.http.ResponseEntity<User>LibraryController.getUserProfile(Long userId) org.springframework.http.ResponseEntity<User>LibraryController.getUserProfileByUsername(String username) Methods in com.example.restapi.controller with parameters of type UserModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<String>BorrowingController.borrowBook(Long bookId, User user) Endpoint for borrowing a book by a specific user.org.springframework.http.ResponseEntity<User>UserController.createUser(User user) org.springframework.http.ResponseEntity<?>org.springframework.http.ResponseEntity<?>org.springframework.http.ResponseEntity<?>org.springframework.http.ResponseEntity<?>LibraryController.registerUser(User user) -
Uses of User in com.example.restapi.model
Fields in com.example.restapi.model declared as UserMethods in com.example.restapi.model that return UserMethods in com.example.restapi.model with parameters of type UserConstructors in com.example.restapi.model with parameters of type User -
Uses of User in com.example.restapi.repository
Methods in com.example.restapi.repository that return types with arguments of type User -
Uses of User in com.example.restapi.service
Methods in com.example.restapi.service that return UserMethods in com.example.restapi.service that return types with arguments of type UserModifier and TypeMethodDescriptionUserService.findByUsername(String username) UserService.getAllUsers()UserService.getUserById(Long id) Methods in com.example.restapi.service with parameters of type UserModifier and TypeMethodDescriptionbooleanBorrowingService.borrowBook(Long bookId, User user) UserService.createUser(User user)