public interface Bookmark extends Serializable, Cloneable
The GNU Lesser General Public License for details.
Modifier and Type | Method and Description |
---|---|
void |
addBook(Book book)
Add a Book to this Bookmark.
|
Bookmark |
clone()
This needs to be declared here so that it is visible as a method on a
derived Bookmark.
|
BookData |
getBookData()
Convert this Bookmark into a BookData by converting the SearchReqeust or
lookup request into a key list.
|
List<Book> |
getBooks()
Return the ordered set of books.
|
String |
getLookupRequest()
Get the lookup request.
|
SearchRequest |
getSearchRequest()
Get the SearchRequest for this Bookmark.
|
void |
setLookupRequest(String request)
Set the lookup request for this Bookmark.
|
void |
setSearchRequest(SearchRequest request)
Set the SearchRequest for this Bookmark.
|
void addBook(Book book)
book
- the Book to add.void setSearchRequest(SearchRequest request)
request
- the SearchRequestSearchRequest getSearchRequest()
void setLookupRequest(String request)
request
- the lookup request.String getLookupRequest()
BookData getBookData()
Bookmark clone()