Class SearchServiceClient
java.lang.Object
org.dlese.dpc.serviceclients.remotesearch.SearchServiceClient
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
ConstructorsConstructorDescriptionSearchServiceClient(String searchServiceBaseUrl) Constructor for the SearchServiceClient object -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Description of the MethodGets the webServiceClient attribute of the SearchServiceClient objectstatic voidSearchServiceClient testersearchDocs(String s) Performs a Web Service Search (using the) and returns results as a List ofinvalid reference
org.dlese.dpc.serviceclients.remotesearch.WebServiceClientADNItemDocReaderinstances.static voidsetDebug(boolean db) Sets the debug attribute
-
Constructor Details
-
SearchServiceClient
Constructor for the SearchServiceClient object- Parameters:
searchServiceBaseUrl- DDS Web Service URL
-
-
Method Details
-
getWebServiceClient
Gets the webServiceClient attribute of the SearchServiceClient object- Returns:
- The webServiceClient value
- See Also:
-
searchDocs
Performs a Web Service Search (using the) and returns results as a List ofinvalid reference
org.dlese.dpc.serviceclients.remotesearch.WebServiceClientADNItemDocReaderinstances.- 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
SearchServiceClient tester- Parameters:
args- The command line arguments- Throws:
Exception- Description of the Exception
-