Interface BooksService

All Known Implementing Classes:
BooksServiceImpl

public interface BooksService
  • Method Details

    • createBook

      BookDTO createBook(BookDTO bookDTO)
    • getBook

      BookDTO getBook(String id)
    • getRandomBook

      BookDTO getRandomBook()
    • updateBook

      void updateBook(String id, BookDTO bookDTO)
    • deleteBook

      void deleteBook(String id)
    • deleteAllBooks

      void deleteAllBooks()
    • getBooks

      org.springframework.data.domain.Page<BookDTO> getBooks(org.springframework.data.domain.Pageable pageable)
    • findPublishedAfter

      org.springframework.data.domain.Page<BookDTO> findPublishedAfter(LocalDate exclusive, org.springframework.data.domain.Pageable pageable)
    • findBooksMatchingAll

      org.springframework.data.domain.Page<BookDTO> findBooksMatchingAll(BookDTO probe, org.springframework.data.domain.Pageable pageable)