com.esri.arcgis.arcweb
Class ArcWebSpatialQuery

java.lang.Object
  extended by com.esri.arcgis.arcweb.ArcWebSpatialQuery
All Implemented Interfaces:
IArcWebSpatialQuery, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class ArcWebSpatialQuery
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IArcWebSpatialQuery

An ArcWeb service used to perform query and proximity searches.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
ArcWebSpatialQuery()
          Constructs a ArcWebSpatialQuery using ArcGIS Engine.
ArcWebSpatialQuery(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ArcWebSpatialQuery theArcWebSpatialQuery = (ArcWebSpatialQuery) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 IArcWebTable findFeatures(IGeometry geometry, IArcWebSpatialQueryOptions spatialQueryOptions, ITrackCancel cancelTracker)
          Returns the features that fulfill the criteria of the spatial query.
static String getClsid()
          getClsid.
 IEnumArcWebSpatialQueryInfo getFieldNames(IEnumArcWebDataSourceInfo dataSourceInfo, ITrackCancel cancelTracker)
          Returns the field names and related information supported by the data sources.
 IEnumArcWebDataSourceInfo getSupportedDataSources(ITrackCancel pCancelTracker)
          Returns the data sources that can support this service.
 int hashCode()
          the hashcode for this object
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

ArcWebSpatialQuery

public ArcWebSpatialQuery()
                   throws IOException,
                          UnknownHostException
Constructs a ArcWebSpatialQuery using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

ArcWebSpatialQuery

public ArcWebSpatialQuery(Object obj)
                   throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ArcWebSpatialQuery theArcWebSpatialQuery = (ArcWebSpatialQuery) obj;

Construct a ArcWebSpatialQuery using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ArcWebSpatialQuery.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

findFeatures

public IArcWebTable findFeatures(IGeometry geometry,
                                 IArcWebSpatialQueryOptions spatialQueryOptions,
                                 ITrackCancel cancelTracker)
                          throws IOException,
                                 AutomationException
Returns the features that fulfill the criteria of the spatial query.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
findFeatures in interface IArcWebSpatialQuery
Parameters:
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
spatialQueryOptions - A reference to a com.esri.arcgis.arcweb.IArcWebSpatialQueryOptions (in)
cancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Returns:
A reference to a com.esri.arcgis.arcweb.IArcWebTable
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSupportedDataSources

public IEnumArcWebDataSourceInfo getSupportedDataSources(ITrackCancel pCancelTracker)
                                                  throws IOException,
                                                         AutomationException
Returns the data sources that can support this service.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getSupportedDataSources in interface IArcWebSpatialQuery
Parameters:
pCancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Returns:
A reference to a com.esri.arcgis.arcweb.IEnumArcWebDataSourceInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFieldNames

public IEnumArcWebSpatialQueryInfo getFieldNames(IEnumArcWebDataSourceInfo dataSourceInfo,
                                                 ITrackCancel cancelTracker)
                                          throws IOException,
                                                 AutomationException
Returns the field names and related information supported by the data sources.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getFieldNames in interface IArcWebSpatialQuery
Parameters:
dataSourceInfo - A reference to a com.esri.arcgis.arcweb.IEnumArcWebDataSourceInfo (in)
cancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Returns:
A reference to a com.esri.arcgis.arcweb.IEnumArcWebSpatialQueryInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.