Esri Geoportal Server
1.0

com.esri.gpt.catalog.arcims
Class ExtendedQueryRequest

java.lang.Object
  extended by com.esri.gpt.catalog.arcims.ImsRequest
      extended by com.esri.gpt.catalog.arcims.HarvestRequest
          extended by com.esri.gpt.catalog.arcims.QueryRequest
              extended by com.esri.gpt.catalog.arcims.ExtendedQueryRequest

public class ExtendedQueryRequest
extends QueryRequest

Extended Arc IMS query request. Provides capability to specify additional search/query parameters: text, bounding box, bounding box bounds.


Nested Class Summary
static class ExtendedQueryRequest.SpatialOperator
          Spatial operator.
 
Field Summary
 
Fields inherited from class com.esri.gpt.catalog.arcims.ImsRequest
ACTION_STATUS_ERROR, ACTION_STATUS_NONE, ACTION_STATUS_OK, ACTION_STATUS_REPLACED, ACTION_STATUS_UNKNOWN
 
Constructor Summary
ExtendedQueryRequest()
          Creates instance of the request.
ExtendedQueryRequest(UsernamePasswordCredentials credentials)
          Creates instance of the request.
 
Method Summary
 void execute()
          Executes query.
 Envelope getBBox()
          Gets bounding box.
 String[] getFullText()
          Gets full text to search.
 ExtendedQueryRequest.SpatialOperator getSpatialOperator()
          Gets spatial operator.
 void setBBox(Envelope bbox)
          Sets bounding box.
 void setFullText(String[] fullText)
          Sets full text to search.
 void setSpatialOperator(ExtendedQueryRequest.SpatialOperator spatialOperator)
          Sets spatial operator.
 
Methods inherited from class com.esri.gpt.catalog.arcims.QueryRequest
getMaxRec, getUpdatedAfterDate, getUpdatedBeforeDate, getUuids, setMaxRec, setUpdatedAfterDate, setUpdatedBeforeDate
 
Methods inherited from class com.esri.gpt.catalog.arcims.ImsRequest
executeRequest, executeRequest, getActionStatus, getAxlRequest, getAxlResponse, getCredentials, getService, makeClient, onEndSaxElement, onStartSaxElement, setActionStatus, setAxlRequest, setAxlResponse, setCredentials, setService, wasActionOK
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedQueryRequest

public ExtendedQueryRequest()
Creates instance of the request.


ExtendedQueryRequest

public ExtendedQueryRequest(UsernamePasswordCredentials credentials)
Creates instance of the request.

Parameters:
credentials - credentials
Method Detail

setFullText

public void setFullText(String[] fullText)
Sets full text to search.

Parameters:
fullText - full text to search

getFullText

public String[] getFullText()
Gets full text to search.

Returns:
full text to search

setBBox

public void setBBox(Envelope bbox)
Sets bounding box.

Parameters:
bbox - bounding box

getBBox

public Envelope getBBox()
Gets bounding box.

Returns:
bounding box

setSpatialOperator

public void setSpatialOperator(ExtendedQueryRequest.SpatialOperator spatialOperator)
Sets spatial operator.

Parameters:
spatialOperator - spatial operator

getSpatialOperator

public ExtendedQueryRequest.SpatialOperator getSpatialOperator()
Gets spatial operator.

Returns:
spatial operator

execute

public void execute()
             throws ImsServiceException
Executes query.

Overrides:
execute in class QueryRequest
Throws:
ImsServiceException - if error executing query

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.