DLESE Tools
v1.6.0

org.dlese.dpc.ndr.request
Class FindRequest

java.lang.Object
  extended by org.dlese.dpc.ndr.request.SimpleNdrRequest
      extended by org.dlese.dpc.ndr.request.NdrRequest
          extended by org.dlese.dpc.ndr.request.FindRequest

public class FindRequest
extends NdrRequest

Convenience method for constructing "find" NdrRequest.

See NDR API documentation.

Version:
$Id: FindRequest.java,v 1.8 2009/03/20 23:33:53 jweather Exp $
Author:
Jonathan Ostwald

Field Summary
 
Fields inherited from class org.dlese.dpc.ndr.request.NdrRequest
inputXML, objectType, payload
 
Fields inherited from class org.dlese.dpc.ndr.request.SimpleNdrRequest
handle, requestAgent, verb, verbose
 
Constructor Summary
FindRequest()
          Constructor for the FindRequest object
FindRequest(NDRConstants.NDRObjectType objectType)
          Constructor for the FindRequest to restrict hits to objects of specified type.
 
Method Summary
 String getResultHandle()
          Gets the first handle (of potentially many) found.
 List getResultHandles()
          Gets the resultHandle attribute of the ListMembersRequest object
 
Methods inherited from class org.dlese.dpc.ndr.request.NdrRequest
addCommand, addCommand, addCommand, addCommand, addDataStreamCmd, addDataStreamCmd, addDCStreamCmd, addDleseCommand, addDleseCommand, addNativeDataStreamCmd, addNativeDataStreamCmd, addNcsPropertyCmd, addNcsPropertyCmd, addNcsRelationshipCmd, addNcsRelationshipCmd, addOaiVisibilityCmd, addOaiVisibilityCmd, addQualifiedCommand, addQualifiedCommand, addServiceDescriptionCmd, addServiceDescriptionCmd, addStateCmd, addStateCmd, getComponent, getInputXML, getNDRConnection, getObjectType, getPayload, report, setDataInfoStream, setObjectType, submit, submit
 
Methods inherited from class org.dlese.dpc.ndr.request.SimpleNdrRequest
getDebug, getHandle, getNDRConnection, getRequestAgent, getVerb, getVerbose, makePath, pp, prtln, prtlnErr, report, setDebug, setHandle, setRequestAgent, setVerb, setVerbose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindRequest

public FindRequest()
Constructor for the FindRequest object


FindRequest

public FindRequest(NDRConstants.NDRObjectType objectType)
Constructor for the FindRequest to restrict hits to objects of specified type.

Parameters:
objectType - NOT YET DOCUMENTED
Method Detail

getResultHandle

public String getResultHandle()
                       throws Exception
Gets the first handle (of potentially many) found.

Returns:
The resultHandle value
Throws:
Exception - NOT YET DOCUMENTED

getResultHandles

public List getResultHandles()
                      throws Exception
Gets the resultHandle attribute of the ListMembersRequest object

Returns:
The resultHandle value
Throws:
Exception - NOT YET DOCUMENTED

DLESE Tools
v1.6.0