com.esri.arcgis.carto
Class IMxdServerQueryProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.carto.IMxdServerQueryProxy
All Implemented Interfaces:
IMxdServerQuery, java.io.Externalizable, java.io.Serializable

Deprecated. Internal use only. Proxy for 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 =

public class IMxdServerQueryProxy
extends com.esri.arcgis.interop.Dispatch
implements IMxdServerQuery, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.carto.IMxdServerQuery
IID, IID1e90974d_6d47_480d_9aa9_d8f582757226
 
Constructor Summary
  IMxdServerQueryProxy()
          Deprecated. For internal use only
  IMxdServerQueryProxy(java.lang.Object obj)
          Deprecated.  
protected IMxdServerQueryProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IMxdServerQueryProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IMxdServerQueryProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 double computeDistance(java.lang.String mapName, IPoint fromPoint, IPoint toPoint)
          Deprecated. Computes the distance between two points on the specified map.
 double computeScale(java.lang.String mapName, int imageWidthPixels, IEnvelope extent)
          Deprecated. 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)
          Deprecated. 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)
          Deprecated. An array of 'identify objects' that are related to the specified identify object.
 IArray identify(java.lang.String mapName, int layerID, IGeometry shape)
          Deprecated. 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)
          Deprecated. 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)
          Deprecated. Returns a feature cursor for the specified layer based on the given array of query filters.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IMxdServerQueryProxy

public IMxdServerQueryProxy(java.lang.String CLSID,
                            java.lang.String host,
                            com.esri.arcgis.interop.AuthInfo authInfo)
                     throws java.net.UnknownHostException,
                            java.io.IOException
Deprecated. 
Throws:
java.net.UnknownHostException
java.io.IOException

IMxdServerQueryProxy

public IMxdServerQueryProxy()
Deprecated. 
For internal use only


IMxdServerQueryProxy

public IMxdServerQueryProxy(java.lang.Object obj)
                     throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IMxdServerQueryProxy

protected IMxdServerQueryProxy(java.lang.Object obj,
                               java.lang.String iid)
                        throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IMxdServerQueryProxy

protected IMxdServerQueryProxy(java.lang.String CLSID,
                               java.lang.String iid,
                               java.lang.String host,
                               com.esri.arcgis.interop.AuthInfo authInfo)
                        throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Deprecated. 
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Deprecated. 
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

queryFeatures

public IFeatureCursor queryFeatures(java.lang.String mapName,
                                    int layerID,
                                    IArray queryFilters)
                             throws java.io.IOException,
                                    AutomationException
Deprecated. 
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.

Specified by:
queryFeatures in interface IMxdServerQuery
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

public IArray identify(java.lang.String mapName,
                       int layerID,
                       IGeometry shape)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
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.

Specified by:
identify in interface IMxdServerQuery
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

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

Specified by:
getRelatedIdentifyObjects in interface IMxdServerQuery
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

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

Specified by:
computeScale in interface IMxdServerQuery
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

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

Specified by:
computeDistance in interface IMxdServerQuery
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

public IArray find(java.lang.String mapName,
                   java.lang.String findString,
                   int layerID)
            throws java.io.IOException,
                   AutomationException
Deprecated. 
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.

Specified by:
find in interface IMxdServerQuery
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

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

Specified by:
queryByLayer in interface IMxdServerQuery
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.