public abstract class LibrarySearcher extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected javax.swing.JTree |
_library
the library to search
|
protected java.util.Hashtable<java.lang.String,java.lang.Object> |
_properties
a user setable properties hash
|
protected LibrarySearchResults |
_results
Description of the Field
|
protected LibrarySearchPane |
_searchPane
Description of the Field
|
Constructor and Description |
---|
LibrarySearcher(javax.swing.JTree library,
LibrarySearchPane searchPane)
constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getProperty(java.lang.String name)
returns a user set property
|
protected abstract void |
init()
provides any initialization needed prior to searching.
|
abstract LibrarySearchResults |
search(java.lang.String value,
boolean authenticate)
search for value in the library
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
set a user setable property
|
protected javax.swing.JTree _library
protected LibrarySearchResults _results
protected LibrarySearchPane _searchPane
protected java.util.Hashtable<java.lang.String,java.lang.Object> _properties
public LibrarySearcher(javax.swing.JTree library, LibrarySearchPane searchPane)
library
- Description of the ParametersearchPane
- Description of the Parameterpublic void setProperty(java.lang.String name, java.lang.Object value)
public java.lang.Object getProperty(java.lang.String name)
public abstract LibrarySearchResults search(java.lang.String value, boolean authenticate) throws IllegalActionException, RepositoryException, AuthenticationException
value
- the value to search forsearchRemotely
- true if a remote search should take place.authenticate
- true will prompt user to login if necessary.RepositoryException
AuthenticationException
IllegalActionException
protected abstract void init()