📄 bookdao.java
字号:
package com.eline.wap.resource.dao;
import com.eline.wap.common.model.Page;
import com.eline.wap.resource.exceptions.ResourceDAOSysException;
import com.eline.wap.resource.model.Book;
import com.eline.wap.resource.model.BookChapter;
import com.eline.wap.resource.model.BookCondition;
public interface BookDAO {
public Book getBook(int bookId) throws ResourceDAOSysException;
public Page getBooks(int parentId, int start, int count) throws ResourceDAOSysException;
public Page searchBooks(BookCondition condition, int start, int count) throws ResourceDAOSysException;
public void createBook(Book item) throws ResourceDAOSysException;
public void updateBook(Book item) throws ResourceDAOSysException;
public void deleteBook(int bookId) throws ResourceDAOSysException;
public Page getBookChapters(int bookId, int start, int count) throws ResourceDAOSysException;
public void createBookChapter(BookChapter item) throws ResourceDAOSysException;
public void updateBookChapter(BookChapter item) throws ResourceDAOSysException;
public void deleteBookChapter(int chapterId) throws ResourceDAOSysException;
public void setBookChapterSortOrder(int chapterId, int sortOrder) throws ResourceDAOSysException;
public BookChapter getBookChapter(int chapterId/*, int start, int count*/) throws ResourceDAOSysException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -