org.wicketstuff.osgi.test.library.service.impl
Class SimpleLibraryService

java.lang.Object
  extended by org.wicketstuff.osgi.test.library.service.impl.SimpleLibraryService
All Implemented Interfaces:
Serializable, LibraryService

public class SimpleLibraryService
extends Object
implements LibraryService

See Also:
Serialized Form

Constructor Summary
SimpleLibraryService()
           
 
Method Summary
 void createAuthor(Author author)
           
 void fillLibrary()
           
 List<Book> findBooksByAuthor(String lastName)
           
 List<Book> findBooksByTitle(String title)
           
 long getNumAuthors()
           
 long getNumBooks()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleLibraryService

public SimpleLibraryService()
Method Detail

fillLibrary

public void fillLibrary()
Specified by:
fillLibrary in interface LibraryService

findBooksByAuthor

public List<Book> findBooksByAuthor(String lastName)
Specified by:
findBooksByAuthor in interface LibraryService

findBooksByTitle

public List<Book> findBooksByTitle(String title)
Specified by:
findBooksByTitle in interface LibraryService

getNumBooks

public long getNumBooks()
Specified by:
getNumBooks in interface LibraryService

getNumAuthors

public long getNumAuthors()
Specified by:
getNumAuthors in interface LibraryService

createAuthor

public void createAuthor(Author author)
Specified by:
createAuthor in interface LibraryService


Copyright © 2011. All Rights Reserved.