Class SearchServiceClient

java.lang.Object
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 Details

    • SearchServiceClient

      public SearchServiceClient(String searchServiceBaseUrl)
      Constructor for the SearchServiceClient object
      Parameters:
      searchServiceBaseUrl - DDS Web Service URL
  • Method Details

    • getWebServiceClient

      public WebServiceClient getWebServiceClient()
      Gets the webServiceClient attribute of the SearchServiceClient object
      Returns:
      The webServiceClient value
      See Also:
    • searchDocs

      public List searchDocs(String s)
      Performs a Web Service Search (using the
      invalid reference
      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