public interface SearchClient extends Configurable, java.io.Serializable
Modifier and Type | Method and Description |
---|---|
SearchClient |
cloneMe() |
HttpResponseWrapper |
executeCommand(Pazpar2Command command)
Issues the provided command against the selected Pazpar2 service.
|
Configuration |
getConfiguration()
Returns the current client configuration - mainly for error resolution.
|
java.lang.String |
getServiceUrl()
Returns the URL of the currently selected Pazpar2/SP service
|
boolean |
hasServiceUrl()
Returns true if a service has been selected, whether by configuration or runtime.
|
boolean |
isAuthenticatingClient()
Basically says if this client accesses a Service Proxy, which (usually)
requires some form of authentication, or Pazpar2, which don't.
|
void |
setSearchCommand(Pazpar2Command command)
Search commands are saved for management purposes, like bootstrapping
expired sessions and write log statements.
|
void |
setServiceUrl(java.lang.String url)
Sets the URL of the Pazpar2/SP service to use for searching.
|
configure, documentConfiguration, getDefaults, getModuleName
void setSearchCommand(Pazpar2Command command)
command
- HttpResponseWrapper executeCommand(Pazpar2Command command)
command
- SearchClient cloneMe()
boolean isAuthenticatingClient()
Configuration getConfiguration()
java.lang.String getServiceUrl()
void setServiceUrl(java.lang.String url)
url
- boolean hasServiceUrl()