Class SimpleLibraryService
- java.lang.Object
-
- 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
Constructors Constructor Description SimpleLibraryService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateAuthor(Author author)voidfillLibrary()List<Book>findBooksByAuthor(String lastName)List<Book>findBooksByTitle(String title)longgetNumAuthors()longgetNumBooks()
-
-
-
Method Detail
-
fillLibrary
public void fillLibrary()
- Specified by:
fillLibraryin interfaceLibraryService
-
findBooksByAuthor
public List<Book> findBooksByAuthor(String lastName)
- Specified by:
findBooksByAuthorin interfaceLibraryService
-
findBooksByTitle
public List<Book> findBooksByTitle(String title)
- Specified by:
findBooksByTitlein interfaceLibraryService
-
getNumBooks
public long getNumBooks()
- Specified by:
getNumBooksin interfaceLibraryService
-
getNumAuthors
public long getNumAuthors()
- Specified by:
getNumAuthorsin interfaceLibraryService
-
createAuthor
public void createAuthor(Author author)
- Specified by:
createAuthorin interfaceLibraryService
-
-