Package io.keikai.app
Interface BookManager
-
- All Known Implementing Classes:
BookManagerEx
,BookManagerImpl
public interface BookManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deleteBook(BookInfo info)
void
detachBook(BookInfo info)
boolean
isBookAttached(BookInfo info)
Book
readBook(BookInfo info)
void
saveAll()
BookInfo
saveBook(BookInfo info, Book book)
void
shutdownAutoFileSaving()
BookInfo
updateBook(BookInfo info, Book book)
-
-
-
Method Detail
-
readBook
Book readBook(BookInfo info) throws IOException
- Throws:
IOException
-
updateBook
BookInfo updateBook(BookInfo info, Book book) throws IOException
- Throws:
IOException
-
saveBook
BookInfo saveBook(BookInfo info, Book book) throws IOException
- Throws:
IOException
-
deleteBook
void deleteBook(BookInfo info) throws IOException
- Throws:
IOException
-
saveAll
void saveAll() throws IOException
- Throws:
IOException
-
detachBook
void detachBook(BookInfo info) throws IOException
- Throws:
IOException
-
isBookAttached
boolean isBookAttached(BookInfo info)
-
shutdownAutoFileSaving
void shutdownAutoFileSaving()
-
-