Class NDRAPIProxy

java.lang.Object
org.dlese.dpc.ndr.apiproxy.NDRAPIProxy

public class NDRAPIProxy extends Object
The proxy object represents the concrete implementation of the NDRAPI.
Author:
kmaull
  • Field Details

    • DEBUG_ON

      public static boolean DEBUG_ON
    • OFFLINE_TEST

      public static boolean OFFLINE_TEST
  • Constructor Details

    • NDRAPIProxy

      public NDRAPIProxy()
    • NDRAPIProxy

      public NDRAPIProxy(NDRAPIProxy.Service _service)
      Constructor based on the service ( FIND, GET, etc. ).
      Parameters:
      _service - - the service ( usually the endpoint, FIND, GET, etc. )
    • NDRAPIProxy

      public NDRAPIProxy(String verb, String handle)
  • Method Details

    • getAgentHandle

      public String getAgentHandle()
      Get the agent handle registered for this proxy object.
      Returns:
      The agent handle for this proxy object
    • requestExec

      public InfoXML requestExec(String _input) throws Exception
      Make the request to the NDR for executing the contents of the XML String representing an InputXML object. This method added to allow requests to be submitted with arbitrary XML (rather than actually created from in InfoXML object.
      Parameters:
      _input - - the inputXML object to execute
      Returns:
      Throws:
      Exception
    • searchDC

      public String searchDC(int _numResults, int _startPos, String _query)
      SEARCH API
    • getConnectionHandle

      public String getConnectionHandle()
      ADDITIONAL METHODS