test
Форк от lirfrnk/test
1package com.bittercode.service;
2
3import java.util.List;
4
5import com.bittercode.model.Book;
6import com.bittercode.model.StoreException;
7
8public interface BookService {
9
10public Book getBookById(String bookId) throws StoreException;
11
12public List<Book> getAllBooks() throws StoreException;
13
14public List<Book> getBooksByCommaSeperatedBookIds(String commaSeperatedBookIds) throws StoreException;
15
16public String deleteBookById(String bookId) throws StoreException;
17
18public String addBook(Book book) throws StoreException;
19
20public String updateBookQtyById(String bookId, int quantity) throws StoreException;
21
22public String updateBook(Book book) throws StoreException;
23
24}
25