01: package auction.dao;
02:
03: import auction.model.Bid;
04: import auction.model.Book;
05: import auction.model.Category;
06: import auction.model.Language;
07: import auction.model.User;
08: import java.util.List;
09:
10: public interface BookDAO extends GenericDAO<Book, Long> {
11: public Bid getMaxBid(Long bookId);
12:
13: public List<Book> search(String title, String author,
14: String[] languageNames, Long[] categoryIds, User user,
15: boolean onlyActive);
16: }
|