org.deegree.services.csw.getrecords
Class GetRecords

java.lang.Object
  extended by org.deegree.services.csw.AbstractCSWRequest
      extended by org.deegree.services.csw.getrecords.GetRecords

public class GetRecords
extends AbstractCSWRequest

Represents a GetRecords request to a CSW.

Version:
$Revision: $, $Date: $
Author:
Steffen Thomas, last edited by: $Author: thomas $

Constructor Summary
GetRecords(Version version, NamespaceBindings namespaces, String outputFormat, CSWConstants.ResultType resultType, String requestId, URI outputSchema, int startPosition, int maxRecords, boolean distributedSearch, int hopCount, String responseHandler, AdhocQuery adhocQuery, org.apache.axiom.om.OMElement holeRequest)
           
GetRecords(Version version, NamespaceBindings namespaces, String outputFormat, CSWConstants.ResultType resultType, String requestId, URI outputSchema, int startPosition, int maxRecords, boolean distributedSearch, int hopCount, String responseHandler, Query query, org.apache.axiom.om.OMElement holeRequest)
          Creates a new GetRecords request.
 
Method Summary
 AdhocQuery getAdhocQuery()
           
 int getHopCount()
           
 int getMaxRecords()
           
 URI getOutputSchema()
           
 Query getQuery()
          Returns the query.
 String getRequestId()
           
 String getResponseHandler()
           
 CSWConstants.ResultType getResultType()
           
 int getStartPosition()
           
 org.apache.axiom.om.OMElement getXMLRequest()
           
 boolean isDistributedSearch()
           
 
Methods inherited from class org.deegree.services.csw.AbstractCSWRequest
getNamespaces, getOutputFormat, getTypeNames, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetRecords

public GetRecords(Version version,
                  NamespaceBindings namespaces,
                  String outputFormat,
                  CSWConstants.ResultType resultType,
                  String requestId,
                  URI outputSchema,
                  int startPosition,
                  int maxRecords,
                  boolean distributedSearch,
                  int hopCount,
                  String responseHandler,
                  Query query,
                  org.apache.axiom.om.OMElement holeRequest)
Creates a new GetRecords request.

Parameters:
version - protocol version
namespaces -
outputFormat - controls the format of the output regarding to a MIME-type (default: application/xml)
resultType - mode of the response that is requested
requestId - UUID
outputSchema - indicates the schema of the output (default: http://www.opengis.net/cat/csw/2.0.2)
startPosition - used to specify at which position should be started
maxRecords - defines the maximum number of records that should be returned
distributedSearch -
hopCount -
responseHandler -
query - the query of the GetRecords request, never null
holeRequest -

GetRecords

public GetRecords(Version version,
                  NamespaceBindings namespaces,
                  String outputFormat,
                  CSWConstants.ResultType resultType,
                  String requestId,
                  URI outputSchema,
                  int startPosition,
                  int maxRecords,
                  boolean distributedSearch,
                  int hopCount,
                  String responseHandler,
                  AdhocQuery adhocQuery,
                  org.apache.axiom.om.OMElement holeRequest)
Method Detail

getRequestId

public String getRequestId()
Returns:
the requestId

getOutputSchema

public URI getOutputSchema()
Returns:
the outputSchema

getStartPosition

public int getStartPosition()
Returns:
the startPosition

getMaxRecords

public int getMaxRecords()
Returns:
the maxRecords

isDistributedSearch

public boolean isDistributedSearch()
Returns:
the distributedSearch

getHopCount

public int getHopCount()
Returns:
the hopCount

getResponseHandler

public String getResponseHandler()
Returns:
the responseHandler

getResultType

public CSWConstants.ResultType getResultType()
Returns:
the resultType

getQuery

public Query getQuery()
Returns the query.

Returns:
query, can be null (if an AdhocQuery is used)

getAdhocQuery

public AdhocQuery getAdhocQuery()
Returns:
the query

getXMLRequest

public org.apache.axiom.om.OMElement getXMLRequest()
Returns:
the holeRequest


Copyright © 2011. All Rights Reserved.