net.jakubholy.jeeutils.jsfelcheck.webtest.jsf12.dao
Class InMemoryDaoImpl

java.lang.Object
  extended by net.jakubholy.jeeutils.jsfelcheck.webtest.jsf12.dao.InMemoryDaoImpl
All Implemented Interfaces:
BookDao

public class InMemoryDaoImpl
extends Object
implements BookDao


Constructor Summary
InMemoryDaoImpl()
           
 
Method Summary
 SortedSet<AuthorStats> findAuthors()
           
 Collection<Book> findBooksByAuthor(String author)
           
 Collection<Book> findTopBestRatedBooks()
           
 Collection<Book> getAllBooks()
           
 void markSoldOut(Collection<Book> booksToMark)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InMemoryDaoImpl

public InMemoryDaoImpl()
Method Detail

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.