org.outerj.daisy.books.store.impl
Class BookStoreImpl
java.lang.Object
org.outerj.daisy.books.store.impl.BookStoreImpl
- All Implemented Interfaces:
- BookStore
public class BookStoreImpl
- extends java.lang.Object
- implements BookStore
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createBookInstance
public BookInstance createBookInstance(java.lang.String name,
java.lang.String label)
- Description copied from interface:
BookStore
- Throws an exception if a book instance with this name already exists.
The returned book instance will be locked.
- Specified by:
createBookInstance in interface BookStore
getBookInstance
public BookInstance getBookInstance(java.lang.String name)
- Specified by:
getBookInstance in interface BookStore
deleteBookInstance
public void deleteBookInstance(java.lang.String name)
- Specified by:
deleteBookInstance in interface BookStore
getBookInstances
public java.util.Collection getBookInstances()
- Specified by:
getBookInstances in interface BookStore
renameBookInstance
public void renameBookInstance(java.lang.String oldName,
java.lang.String newName)
- Specified by:
renameBookInstance in interface BookStore
existsBookInstance
public boolean existsBookInstance(java.lang.String name)
- Description copied from interface:
BookStore
- Checks whether a book instance with the given name exists.
- Specified by:
existsBookInstance in interface BookStore
Copyright © -2006 . All Rights Reserved.