net.jakubholy.jeeutils.jsfelcheck.webtest.jsf12.dao
Class InMemoryDaoImpl
java.lang.Object
net.jakubholy.jeeutils.jsfelcheck.webtest.jsf12.dao.InMemoryDaoImpl
- All Implemented Interfaces:
- BookDao
public class InMemoryDaoImpl
- extends Object
- implements BookDao
InMemoryDaoImpl
public InMemoryDaoImpl()
getAllBooks
public Collection<Book> getAllBooks()
- Specified by:
getAllBooks in interface BookDao
findTopBestRatedBooks
public Collection<Book> findTopBestRatedBooks()
- Specified by:
findTopBestRatedBooks in interface BookDao
findBooksByAuthor
public Collection<Book> findBooksByAuthor(String author)
- Specified by:
findBooksByAuthor in interface BookDao
markSoldOut
public void markSoldOut(Collection<Book> booksToMark)
- Specified by:
markSoldOut in interface BookDao
findAuthors
public SortedSet<AuthorStats> findAuthors()
- Specified by:
findAuthors in interface BookDao
Copyright © 2012. All Rights Reserved.