|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.org.ury.common.library.LibraryUtils
public class LibraryUtils
A set of common utility routines to facilitate the extraction of library items from the library areas of the URY database.
Constructor Summary | |
---|---|
LibraryUtils()
|
Method Summary | |
---|---|
static java.util.List<LibraryItem> |
search(DatabaseDriver db,
java.lang.String search)
Perform a library search. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LibraryUtils()
Method Detail |
---|
public static java.util.List<LibraryItem> search(DatabaseDriver db, java.lang.String search) throws QueryFailureException, EmptySearchException
db
- The database to query.search
- The search fragment to include in the search.
Can be empty or null.
java.lang.IllegalArgumentException
- if the search term is
are null.
QueryFailureException
- if the database backend
yielded an error while executing the search
query.
EmptySearchException
- if the search term is
empty (to be handled as a user error).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |