public class SearchServiceClient
extends java.lang.Object
SearchServiceClient employs the WebServiceClient to do the actual search (via the doSearch method (so this class can be thought of as a wrapper for the Search Web Service).
Constructor and Description |
---|
SearchServiceClient(java.lang.String searchServiceBaseUrl)
Constructor for the SearchServiceClient object
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Description of the Method
|
WebServiceClient |
getWebServiceClient()
Gets the webServiceClient attribute of the SearchServiceClient object
|
static void |
main(java.lang.String[] args)
SearchServiceClient tester
|
java.util.List |
searchDocs(java.lang.String s)
Performs a Web Service Search (using the
org.dlese.dpc.serviceclients.remotesearch.WebServiceClient ) and returns
results as a List of ADNItemDocReader
instances. |
static void |
setDebug(boolean db)
Sets the debug attribute
|
public SearchServiceClient(java.lang.String searchServiceBaseUrl)
searchServiceBaseUrl
- DDS Web Service URLpublic WebServiceClient getWebServiceClient()
WebServiceClient
public java.util.List searchDocs(java.lang.String s)
org.dlese.dpc.serviceclients.remotesearch.WebServiceClient
) and returns
results as a List of ADNItemDocReader
instances.s
- Description of the Parameterpublic void destroy()
public static void setDebug(boolean db)
db
- The new debug valuepublic static void main(java.lang.String[] args) throws java.lang.Exception
args
- The command line argumentsjava.lang.Exception
- Description of the Exception