Uses of Class
com.example.restapi.model.Book
Packages that use Book
Package
Description
-
Uses of Book in com.example.restapi.controller
Methods in com.example.restapi.controller that return types with arguments of type BookModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Book>org.springframework.http.ResponseEntity<Book>BookController.createBook(Book book) BookController.getAllBooks()org.springframework.http.ResponseEntity<Book>BookController.getBookById(Long id) LibraryController.getBooks()org.springframework.http.ResponseEntity<Book>BookController.updateBook(Long id, Book bookDetails) Methods in com.example.restapi.controller with parameters of type BookModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Book>org.springframework.http.ResponseEntity<Book>BookController.createBook(Book book) org.springframework.http.ResponseEntity<Book>BookController.updateBook(Long id, Book bookDetails) -
Uses of Book in com.example.restapi.model
Fields in com.example.restapi.model declared as BookMethods in com.example.restapi.model that return BookConstructors in com.example.restapi.model with parameters of type Book -
Uses of Book in com.example.restapi.repository
Methods in com.example.restapi.repository that return types with arguments of type BookModifier and TypeMethodDescriptionBorrowingRepository.findBooksBorrowedByUserId(Long userId) BorrowingRepository.findBooksByUserId(Long userId) -
Uses of Book in com.example.restapi.service
Methods in com.example.restapi.service that return BookModifier and TypeMethodDescriptionBookService.createBook(Book book) Creates a new book entry in the repository.BookService.updateBook(Long id, Book bookDetails) Updates an existing book's details.Methods in com.example.restapi.service that return types with arguments of type BookModifier and TypeMethodDescriptionBookService.getAllBooks()Retrieves all books from the repository.BookService.getBookById(Long id) Retrieves a book by its unique identifier.Methods in com.example.restapi.service with parameters of type BookModifier and TypeMethodDescriptionBookService.createBook(Book book) Creates a new book entry in the repository.BookService.updateBook(Long id, Book bookDetails) Updates an existing book's details.