com.esri.arcgis.carto
Interface IMxdServerQuery

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IMxdServerQueryProxy, MxdServer

public interface IMxdServerQuery
extends java.io.Serializable

COM Interface 'IMxdServerQuery'. Generated 3/19/2015 1:20:53 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to functionality that allows the client to query features on the map.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID1e90974d_6d47_480d_9aa9_d8f582757226
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 double computeDistance(java.lang.String mapName, IPoint fromPoint, IPoint toPoint)
          Computes the distance between two points on the specified map.
 double computeScale(java.lang.String mapName, int imageWidthPixels, IEnvelope extent)
          Computes the scale of the specified map, at the given map extent, for an image with the given width, specified in pixels.
 IArray find(java.lang.String mapName, java.lang.String findString, int layerID)
          Returns an array of 'find objects' (that implement the IFindObject interface) that contain the given search string.
 IArray getRelatedIdentifyObjects(java.lang.String mapName, IIdentifyObj identifyObject)
          An array of 'identify objects' that are related to the specified identify object.
 IArray identify(java.lang.String mapName, int layerID, IGeometry shape)
          Returns an array of 'identify objects' (that support the IIdentifyObj interface) at the given location.
 IFeatureCursor queryByLayer(java.lang.String mapName, int targetLayerID, int selectionLayerID, int selectionMethod, boolean useSelected, double bufferDistance, int bufferDistanceUnits)
          Returns a feature cursor for the specified layer based on the input parameters for the purpose of selecting based on another layer.
 IFeatureCursor queryFeatures(java.lang.String mapName, int layerID, IArray queryFilters)
          Returns a feature cursor for the specified layer based on the given array of query filters.
 

Field Detail

IID1e90974d_6d47_480d_9aa9_d8f582757226

static final int IID1e90974d_6d47_480d_9aa9_d8f582757226
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

queryFeatures

IFeatureCursor queryFeatures(java.lang.String mapName,
                             int layerID,
                             IArray queryFilters)
                             throws java.io.IOException,
                                    AutomationException
Returns a feature cursor for the specified layer based on the given array of query filters. If there is more than one query filter in the array, they are 'ANDed' together.

Parameters:
mapName - The mapName (in)
layerID - The layerID (in)
queryFilters - A reference to a com.esri.arcgis.system.IArray (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureCursor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

identify

IArray identify(java.lang.String mapName,
                int layerID,
                IGeometry shape)
                throws java.io.IOException,
                       AutomationException
Returns an array of 'identify objects' (that support the IIdentifyObj interface) at the given location. If layerID is equal to -1, the top-most visible layer with any results is used. If layerID is equal to -2, all visible layers will be queried.

Parameters:
mapName - The mapName (in)
layerID - The layerID (in)
shape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelatedIdentifyObjects

IArray getRelatedIdentifyObjects(java.lang.String mapName,
                                 IIdentifyObj identifyObject)
                                 throws java.io.IOException,
                                        AutomationException
An array of 'identify objects' that are related to the specified identify object.

Parameters:
mapName - The mapName (in)
identifyObject - A reference to a com.esri.arcgis.carto.IIdentifyObj (in)
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

computeScale

double computeScale(java.lang.String mapName,
                    int imageWidthPixels,
                    IEnvelope extent)
                    throws java.io.IOException,
                           AutomationException
Computes the scale of the specified map, at the given map extent, for an image with the given width, specified in pixels.

Parameters:
mapName - The mapName (in)
imageWidthPixels - The imageWidthPixels (in)
extent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Returns:
The scale
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

computeDistance

double computeDistance(java.lang.String mapName,
                       IPoint fromPoint,
                       IPoint toPoint)
                       throws java.io.IOException,
                              AutomationException
Computes the distance between two points on the specified map. The result is in the map units of the specified map.

Parameters:
mapName - The mapName (in)
fromPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
toPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
The distance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

find

IArray find(java.lang.String mapName,
            java.lang.String findString,
            int layerID)
            throws java.io.IOException,
                   AutomationException
Returns an array of 'find objects' (that implement the IFindObject interface) that contain the given search string. If layerID is equal to -1, all layers are searched.

Parameters:
mapName - The mapName (in)
findString - The findString (in)
layerID - The layerID (in)
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryByLayer

IFeatureCursor queryByLayer(java.lang.String mapName,
                            int targetLayerID,
                            int selectionLayerID,
                            int selectionMethod,
                            boolean useSelected,
                            double bufferDistance,
                            int bufferDistanceUnits)
                            throws java.io.IOException,
                                   AutomationException
Returns a feature cursor for the specified layer based on the input parameters for the purpose of selecting based on another layer.

Parameters:
mapName - The mapName (in)
targetLayerID - The targetLayerID (in)
selectionLayerID - The selectionLayerID (in)
selectionMethod - A com.esri.arcgis.carto.esriLayerSelectionMethod constant (in)
useSelected - The useSelected (in)
bufferDistance - The bufferDistance (in)
bufferDistanceUnits - A com.esri.arcgis.system.esriUnits constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureCursor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.