com.esri.arcgis.carto
Interface IQueryByLayer

All Superinterfaces:
Serializable
All Known Implementing Classes:
QueryByLayer

public interface IQueryByLayer
extends Serializable

Provides access to the QueryByLayer interface.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 ISelectionSet select()
          Selects the features based on the input parameters and returns a selection set.
 void setBufferDistance(double rhs1)
          The type of selection method to be performed.
 void setBufferUnits(int rhs1)
          The buffer units.
 void setByLayerByRef(IFeatureLayer rhs1)
          The layer features will be selected from.
 void setFromLayerByRef(IFeatureLayer rhs1)
          Provides access to the methods and properties of QueryByLayer.
 void setLayerSelectionMethod(int rhs1)
          The input layer that contains features to base the selection on.
 void setResultType(int rhs1)
          The result type of the selection where it can be specified that the selection adds to a current selection etc.
 void setUseSelectedFeatures(boolean rhs1)
          Indicates whether selected features will be used.
 

Method Detail

setFromLayerByRef

void setFromLayerByRef(IFeatureLayer rhs1)
                       throws IOException,
                              AutomationException
Provides access to the methods and properties of QueryByLayer.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.IFeatureLayer (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setByLayerByRef

void setByLayerByRef(IFeatureLayer rhs1)
                     throws IOException,
                            AutomationException
The layer features will be selected from.

Product Availability

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

Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.IFeatureLayer (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLayerSelectionMethod

void setLayerSelectionMethod(int rhs1)
                             throws IOException,
                                    AutomationException
The input layer that contains features to base the selection on.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
rhs1 - A com.esri.arcgis.carto.esriLayerSelectionMethod constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBufferDistance

void setBufferDistance(double rhs1)
                       throws IOException,
                              AutomationException
The type of selection method to be performed.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBufferUnits

void setBufferUnits(int rhs1)
                    throws IOException,
                           AutomationException
The buffer units.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
rhs1 - A com.esri.arcgis.system.esriUnits constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUseSelectedFeatures

void setUseSelectedFeatures(boolean rhs1)
                            throws IOException,
                                   AutomationException
Indicates whether selected features will be used.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setResultType

void setResultType(int rhs1)
                   throws IOException,
                          AutomationException
The result type of the selection where it can be specified that the selection adds to a current selection etc.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
rhs1 - A com.esri.arcgis.carto.esriSelectionResultEnum constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

select

ISelectionSet select()
                     throws IOException,
                            AutomationException
Selects the features based on the input parameters and returns a selection set.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.ISelectionSet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.