com.esri.arcgis.trackinganalyst
Class QueryBuilder

java.lang.Object
  extended by com.esri.arcgis.trackinganalyst.QueryBuilder
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, IQueryBuilder, Serializable

public class QueryBuilder
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IQueryBuilder, ISupportErrorInfo

Controls functionality for the custom query builder for actions.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

See Also:
Serialized Form

Constructor Summary
QueryBuilder()
          Constructs a QueryBuilder using ArcGIS Engine.
QueryBuilder(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
QueryBuilder theQueryBuilder = (QueryBuilder) obj;
 
Method Summary
 void doModal(int hParentWindowHandle)
          Displays the Query Builder dialog box.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 String getDatasetDefinitionID()
          The value of the DatasetDefinitionID property.
 String getDatasetDefinitionName()
          The value of the DatasetDefinitionName property.
 String getWhereClause()
          Places SQL where clause in the query builder.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void setDatasetDefinitionID(String pVal)
          The value of the DatasetDefinitionID property.
 void setDatasetDefinitionName(String pVal)
          The value of the DatasetDefinitionName property.
 void setLayer(ILayer rhs1)
          Layer containing test geometries for query.
 void setServerConnection(IServerConnection rhs1)
          Connection to tracking server being used in query.
 void setWhereClause(String pVal)
          Places SQL where clause in the query builder.
 
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

QueryBuilder

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

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

QueryBuilder

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

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

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

getWhereClause

public String getWhereClause()
                      throws IOException,
                             AutomationException
Places SQL where clause in the query builder.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Specified by:
getWhereClause in interface IQueryBuilder
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWhereClause

public void setWhereClause(String pVal)
                    throws IOException,
                           AutomationException
Places SQL where clause in the query builder.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Specified by:
setWhereClause in interface IQueryBuilder
Parameters:
pVal - The pVal (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatasetDefinitionName

public String getDatasetDefinitionName()
                                throws IOException,
                                       AutomationException
The value of the DatasetDefinitionName property.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Specified by:
getDatasetDefinitionName in interface IQueryBuilder
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDatasetDefinitionName

public void setDatasetDefinitionName(String pVal)
                              throws IOException,
                                     AutomationException
The value of the DatasetDefinitionName property.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Specified by:
setDatasetDefinitionName in interface IQueryBuilder
Parameters:
pVal - The pVal (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatasetDefinitionID

public String getDatasetDefinitionID()
                              throws IOException,
                                     AutomationException
The value of the DatasetDefinitionID property.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Specified by:
getDatasetDefinitionID in interface IQueryBuilder
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDatasetDefinitionID

public void setDatasetDefinitionID(String pVal)
                            throws IOException,
                                   AutomationException
The value of the DatasetDefinitionID property.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Specified by:
setDatasetDefinitionID in interface IQueryBuilder
Parameters:
pVal - The pVal (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setServerConnection

public void setServerConnection(IServerConnection rhs1)
                         throws IOException,
                                AutomationException
Connection to tracking server being used in query.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Specified by:
setServerConnection in interface IQueryBuilder
Parameters:
rhs1 - A reference to a com.esri.arcgis.trackinganalyst.IServerConnection (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLayer

public void setLayer(ILayer rhs1)
              throws IOException,
                     AutomationException
Layer containing test geometries for query.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

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

doModal

public void doModal(int hParentWindowHandle)
             throws IOException,
                    AutomationException
Displays the Query Builder dialog box.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Specified by:
doModal in interface IQueryBuilder
Parameters:
hParentWindowHandle - The hParentWindowHandle (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Description

Indicates whether the interface supports IErrorInfo.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.