Package | Description |
---|---|
org.sourceforge.vlibrary.user.dao | |
org.sourceforge.vlibrary.user.logic | |
org.sourceforge.vlibrary.user.workers |
Modifier and Type | Method and Description |
---|---|
Book |
BookDAO.insert(Book book)
Inserts a book into the database and returns the result of retrieving
the inserted book.
|
Book |
BookDAO.retrieve(long bookID)
Retrieves the book with the given ID, if there is such a book;
otherwise Null.
|
Book |
BookDAO.retrieve(String bookID)
Retrieves the book having the ID represented by the input string, if
there is such a book; otherwise Null.
|
Book |
BookDAO.retrieveByGenericCriteria(String sqlString,
Object[] criteria)
Retrieve Book by unique criteria from the database.
|
Book |
BookDAO.retrieveByIsbn(String isbn)
Retrieves the book having the given ISBN,
there is such a book; otherwise Null.
|
Modifier and Type | Method and Description |
---|---|
ArrayList<Book> |
BookDAO.authorSearch(String authorLastName)
Returns a list of
Book instances whose author lists contain
an author with the given last name. |
ArrayList<Book> |
BookDAO.subjectAndSearch(ArrayList subjects)
Returns a list of
Book instances association with all of
the subjects in the input subjects array. |
ArrayList<Book> |
BookDAO.subjectOrSearch(ArrayList<Subject> subjects)
Returns a list of
Book instances association with all of
the subjects in the input subjects array. |
Modifier and Type | Method and Description |
---|---|
void |
BookDAO.addAuthor(Book book,
Author author)
Adds
author to the authors of book . |
void |
BookDAO.addSubject(Book book,
Subject subject)
Adds
subject to the subjects associated with
book . |
ArrayList<Author> |
BookDAO.getAuthors(Book book)
Returns an ArrayList consisting of the authors of the given book.
|
ArrayList<Subject> |
BookDAO.getSubjects(Book book)
Returns an ArrayList consisting of the subject classifications
associated with the the given book.
|
Book |
BookDAO.insert(Book book)
Inserts a book into the database and returns the result of retrieving
the inserted book.
|
void |
BookDAO.setAuthors(Book book,
ArrayList<Author> authors)
Sets the list of authors associated with the given book.
|
void |
BookDAO.setSubjects(Book book,
ArrayList<Subject> subjects)
Sets the list of subjects associated with the given book.
|
void |
BookDAO.update(Book book)
Updates
book in the database. |
Modifier and Type | Method and Description |
---|---|
Book |
LibraryManager.createBook(Book book,
ArrayList<Subject> subjects,
ArrayList<Author> authors)
Creates a book in the database and associates the given lists of
subjects and authors with the book.
|
Book |
LibraryManager.retrieveBook(long bookID)
Returns the book with the given ID, or
null if there is no
such book. |
Modifier and Type | Method and Description |
---|---|
ArrayList<Book> |
LibraryManager.authorSearch(String authorLastName)
Returns a list including all {org.sourceforge.vlibrary.user.domain.Author}s with the the given
last name.
|
ArrayList<Book> |
LibraryManager.dump()
Returns an ArrayList of
Book instances consisting of all books
in the library. |
ArrayList<Book> |
LibraryManager.ownerSearch(long owner)
Returns an ArrayList of
Book instances consisting of all books
that are owned by the reader with the given ID. |
ArrayList<Book> |
LibraryManager.subjectAndSearch(ArrayList subjects)
|
ArrayList<Book> |
LibraryManager.subjectOrSearch(ArrayList<Subject> subjects)
|
ArrayList<Book> |
LibraryManager.titleSearch(String title)
Returns an ArrayList of
Book instances consisting of all books
having the given title. |
Modifier and Type | Method and Description |
---|---|
Book |
LibraryManager.createBook(Book book,
ArrayList<Subject> subjects,
ArrayList<Author> authors)
Creates a book in the database and associates the given lists of
subjects and authors with the book.
|
void |
LibraryManager.createBookAuthors(Book book,
ArrayList<Author> authors)
Sets the authors for the given book.
|
void |
LibraryManager.createBookSubjects(Book book,
ArrayList<Subject> subjects)
Sets the subjects for the given book.
|
ArrayList<Author> |
LibraryManager.getAuthors(Book book)
Returns an ArrayList of Author} instances including the authors
of the given book.
|
ArrayList<Subject> |
LibraryManager.getSubjects(Book book)
Returns an ArrayList including all subjects currently defined in the
Virtual Library.
|
void |
LibraryManager.updateBook(Book book)
Updates the database record associated with
book with the
properties that the given instance has. |
Modifier and Type | Method and Description |
---|---|
void |
MailWorker.sendAcquisitionNotification(Reader requestor,
Book bk,
String location)
Sends notification to the admin email that a request has been made for a book
that is not available (checked into or checked out from) the location where the
request has been made.
|
void |
MailWorker.sendAcquisitionRequestConfirmation(Reader requestor,
Book bk,
String locationDescription)
Sends request confirmation to requestor for a book that is not available
in the location of the order.
|
void |
MailWorker.sendCheckoutNotification(Reader requestor,
Reader newPossessor,
Book bk,
String locationDescription)
Sends checkout notification
|
void |
MailWorker.sendDeleteConfirmation(Reader rd,
Book bk)
Sends deleted request notification
|
void |
MailWorker.sendRequestConfirmation(Reader possessor,
Reader requestor,
Book bk,
String locationDescription)
Sends request confirmation to requestor
|
void |
MailWorker.sendRequestNotification(Reader possessor,
Reader requestor,
Book bk,
String location)
Sends request notification to current possessor
|
void |
MailWorker.sendReturnNotification(Reader rd,
Book bk,
String locationDescription)
Sends return notification
|
Copyright © 2003-2017 The Virtual Library Team. All Rights Reserved.