DLESE Tools
v1.6.0

org.dlese.dpc.serviceclients.remotesearch
Class SearchServiceClient

java.lang.Object
  extended by org.dlese.dpc.serviceclients.remotesearch.SearchServiceClient

public class SearchServiceClient
extends Object

SearchServiceClient performs searches for records using a DDS Web Service (version 1.0), returning results as ADNItemDocReader instances.

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).

Author:
ostwald

Constructor Summary
SearchServiceClient(String searchServiceBaseUrl)
          Constructor for the SearchServiceClient object
 
Method Summary
 void destroy()
          Description of the Method
 WebServiceClient getWebServiceClient()
          Gets the webServiceClient attribute of the SearchServiceClient object
static void main(String[] args)
          SearchServiceClient tester
 List searchDocs(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchServiceClient

public SearchServiceClient(String searchServiceBaseUrl)
Constructor for the SearchServiceClient object

Parameters:
searchServiceBaseUrl - DDS Web Service URL
Method Detail

getWebServiceClient

public WebServiceClient getWebServiceClient()
Gets the webServiceClient attribute of the SearchServiceClient object

Returns:
The webServiceClient value
See Also:
WebServiceClient

searchDocs

public List searchDocs(String s)
Performs a Web Service Search (using the org.dlese.dpc.serviceclients.remotesearch.WebServiceClient) and returns results as a List of ADNItemDocReader instances.

Parameters:
s - Description of the Parameter
Returns:
found records as ADNItemDocReader instances.

destroy

public void destroy()
Description of the Method


setDebug

public static void setDebug(boolean db)
Sets the debug attribute

Parameters:
db - The new debug value

main

public static void main(String[] args)
                 throws Exception
SearchServiceClient tester

Parameters:
args - The command line arguments
Throws:
Exception - Description of the Exception

DLESE Tools
v1.6.0