维护入口
This commit is contained in:
@@ -11,6 +11,14 @@ import java.util.Optional;
|
||||
public interface BookService {
|
||||
ServiceResult<List<BookCategory>> listCategories();
|
||||
|
||||
ServiceResult<Optional<BookCategory>> findCategory(long id);
|
||||
|
||||
ServiceResult<Long> createCategory(AuthenticatedUser actor, BookCategory category);
|
||||
|
||||
ServiceResult<Void> updateCategory(AuthenticatedUser actor, BookCategory category);
|
||||
|
||||
ServiceResult<Void> deleteCategory(AuthenticatedUser actor, long id);
|
||||
|
||||
ServiceResult<List<Book>> searchBooks(BookSearchCriteria criteria);
|
||||
|
||||
ServiceResult<Optional<Book>> findBook(long id);
|
||||
|
||||
Reference in New Issue
Block a user