|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Bookmark
A Bookmark remembers a particular view of one or more Books. What is viewed regarding a book set is either a SearchRequest or a key lookup request.
The GNU Lesser General Public License for details.
Method Summary | |
---|---|
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. |
Method Detail |
---|
void addBook(Book book)
book
- the Book to add.List<Book> getBooks()
void setSearchRequest(SearchRequest request)
request
- the SearchRequestSearchRequest getSearchRequest()
void setLookupRequest(String request)
request
- the lookup request.String getLookupRequest()
BookData getBookData()
Bookmark clone()
|
Copyright ยจ 2003-2015 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |