com.esri.arcgis.catalogUI
Class FileSystemQuery

java.lang.Object
  extended by com.esri.arcgis.catalogUI.FileSystemQuery
All Implemented Interfaces:
IQuery, IArcIMSQuery, IFindDialogSettings, IXmlQuery, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class FileSystemQuery
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IQuery, IXmlQuery, IArcIMSQuery, IFindDialogSettings

COM Class 'FileSystemQuery'. Generated 3/19/2015 1:20:49 PM from 'C:\ArcGIS\COM\esriCatalogUI.olb'

Description 'A query that can be used to search XML documents.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.catalog.IQuery
IID, IID4ea3e4eb_9dfa_11d3_a6cb_0008c7d3ae50, xxDummy
 
Fields inherited from interface com.esri.arcgis.catalogUI.IXmlQuery
IID, IIDb1c0a748_d6c7_4477_9c84_e83da6f60617, xxDummy
 
Fields inherited from interface com.esri.arcgis.catalogUI.IArcIMSQuery
IID, IID3155eef7_8734_43a5_87e7_62bd658363af, xxDummy
 
Fields inherited from interface com.esri.arcgis.catalogUI.IFindDialogSettings
IID, IID52e909ba_552e_4ae2_87e7_9ed84c703d1e, xxDummy
 
Constructor Summary
FileSystemQuery()
          Constructs a FileSystemQuery using ArcGIS Engine.
FileSystemQuery(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FileSystemQuery theFileSystemQuery = (FileSystemQuery) obj;
 
Method Summary
 void addFieldQuery(int type, int op, java.lang.String value, java.lang.String tag)
          Adds a field query.
 void buildExpressions()
          Creates a set of XSL Pattern expressions from a query.
 boolean equals(java.lang.Object o)
          Compare this object with another
 java.lang.String getBackgroundMap()
          Full name of the dataset to be used as the background map in the Geography tab.
 IUID getClassID()
          Class ID indicating the type of query object that has been defined.
static java.lang.String getClsid()
          getClsid.
 int getContentType()
          The Content type.
 java.lang.String getDatasetName()
          Name of the dataset for which to search.
 INativeType getDatasetType()
          Type of object for which to search.
 java.lang.String getDate1()
          Start date, or first date.
 java.lang.String getDate2()
          End date, or second date.
 int getDateOperator()
          Operator for comparing dates.
 int getDateType()
          Date that will be tested.
 IPropertySet getEngineProperties()
          Property set containing properties of the search engine that will be used to execute the query.
 IEnvelope getEnvelope()
          Search extent in decimal degrees.
 int getEnvelopeOperator()
          Operator for comparing the dataset's extent to the search extent.
 java.lang.String getExpression(int index)
          The nth expression.
 void getFieldQuery(int index, int[] type, int[] op, java.lang.String[] value, java.lang.String[] tag)
          Returns the nth field query.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getNameOfQuery()
          Name of the query.
 IEnvelope getNativeEnvelope()
          Search extent in the dataset's coordinate system.
 int getNumExpressions()
          Number of expressions that were generated.
 int getNumFieldQueries()
          Number of field queries.
 int hashCode()
          the hashcode for this object
 boolean isAnd()
          Indicates if the expressions are ANDed together (as opposed to ORed).
 boolean isCaseSensitive()
          Indicates if field query comparisons will be case sensitive.
 void load(IPropertySet pPropertySet)
          Loads the query's parameters from the given XML property set.
 void release()
          Release a FileSystemQuery.
 void save(IPropertySet pPropertySet)
          Saves the query's parameters to the given XML property set.
 void setBackgroundMap(java.lang.String pBackgroundMap)
          Full name of the dataset to be used as the background map in the Geography tab.
 void setContentType(int type)
          The Content type.
 void setDatasetName(java.lang.String name)
          Name of the dataset for which to search.
 void setDatasetTypeByRef(INativeType ppNativeType)
          Type of object for which to search.
 void setDate1(java.lang.String date)
          Start date, or first date.
 void setDate2(java.lang.String date)
          End date, or second date.
 void setDateOperator(int op)
          Operator for comparing dates.
 void setDateType(int type)
          Date that will be tested.
 void setEnvelopeByRef(IEnvelope ppEnvelope)
          Search extent in decimal degrees.
 void setEnvelopeOperator(int pOp)
          Operator for comparing the dataset's extent to the search extent.
 void setIsAnd(boolean isAnd)
          Indicates if the expressions are ANDed together (as opposed to ORed).
 void setIsCaseSensitive(boolean isCaseSensitive)
          Indicates if field query comparisons will be case sensitive.
 void setNameOfQuery(java.lang.String name)
          Name of the query.
 void setNativeEnvelopeByRef(IEnvelope ppEnvelope)
          Search extent in the dataset's coordinate system.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystemQuery

public FileSystemQuery()
                throws java.io.IOException,
                       java.net.UnknownHostException
Constructs a FileSystemQuery using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

FileSystemQuery

public FileSystemQuery(java.lang.Object obj)
                throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FileSystemQuery theFileSystemQuery = (FileSystemQuery) obj;

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

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

getClsid

public static java.lang.String getClsid()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a FileSystemQuery.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getNameOfQuery

public java.lang.String getNameOfQuery()
                                throws java.io.IOException,
                                       AutomationException
Name of the query.

Specified by:
getNameOfQuery in interface IQuery
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNameOfQuery

public void setNameOfQuery(java.lang.String name)
                    throws java.io.IOException,
                           AutomationException
Name of the query.

Specified by:
setNameOfQuery in interface IQuery
Parameters:
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatasetName

public java.lang.String getDatasetName()
                                throws java.io.IOException,
                                       AutomationException
Name of the dataset for which to search.

Specified by:
getDatasetName in interface IQuery
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDatasetName

public void setDatasetName(java.lang.String name)
                    throws java.io.IOException,
                           AutomationException
Name of the dataset for which to search.

Specified by:
setDatasetName in interface IQuery
Parameters:
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCaseSensitive

public boolean isCaseSensitive()
                        throws java.io.IOException,
                               AutomationException
Indicates if field query comparisons will be case sensitive.

Specified by:
isCaseSensitive in interface IQuery
Returns:
The isCaseSensitive
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsCaseSensitive

public void setIsCaseSensitive(boolean isCaseSensitive)
                        throws java.io.IOException,
                               AutomationException
Indicates if field query comparisons will be case sensitive.

Specified by:
setIsCaseSensitive in interface IQuery
Parameters:
isCaseSensitive - The isCaseSensitive (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatasetType

public INativeType getDatasetType()
                           throws java.io.IOException,
                                  AutomationException
Type of object for which to search.

Specified by:
getDatasetType in interface IQuery
Returns:
A reference to a com.esri.arcgis.geodatabase.INativeType
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDatasetTypeByRef

public void setDatasetTypeByRef(INativeType ppNativeType)
                         throws java.io.IOException,
                                AutomationException
Type of object for which to search.

Specified by:
setDatasetTypeByRef in interface IQuery
Parameters:
ppNativeType - A reference to a com.esri.arcgis.geodatabase.INativeType (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEnvelope

public IEnvelope getEnvelope()
                      throws java.io.IOException,
                             AutomationException
Search extent in decimal degrees.

Specified by:
getEnvelope in interface IQuery
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEnvelopeByRef

public void setEnvelopeByRef(IEnvelope ppEnvelope)
                      throws java.io.IOException,
                             AutomationException
Search extent in decimal degrees.

Specified by:
setEnvelopeByRef in interface IQuery
Parameters:
ppEnvelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNativeEnvelope

public IEnvelope getNativeEnvelope()
                            throws java.io.IOException,
                                   AutomationException
Search extent in the dataset's coordinate system.

Specified by:
getNativeEnvelope in interface IQuery
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNativeEnvelopeByRef

public void setNativeEnvelopeByRef(IEnvelope ppEnvelope)
                            throws java.io.IOException,
                                   AutomationException
Search extent in the dataset's coordinate system.

Specified by:
setNativeEnvelopeByRef in interface IQuery
Parameters:
ppEnvelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEnvelopeOperator

public int getEnvelopeOperator()
                        throws java.io.IOException,
                               AutomationException
Operator for comparing the dataset's extent to the search extent.

Specified by:
getEnvelopeOperator in interface IQuery
Returns:
A com.esri.arcgis.catalog.esriFindEnvelopeOperator constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEnvelopeOperator

public void setEnvelopeOperator(int pOp)
                         throws java.io.IOException,
                                AutomationException
Operator for comparing the dataset's extent to the search extent.

Specified by:
setEnvelopeOperator in interface IQuery
Parameters:
pOp - A com.esri.arcgis.catalog.esriFindEnvelopeOperator constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDateType

public int getDateType()
                throws java.io.IOException,
                       AutomationException
Date that will be tested.

Specified by:
getDateType in interface IQuery
Returns:
A com.esri.arcgis.catalog.esriFindDateType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDateType

public void setDateType(int type)
                 throws java.io.IOException,
                        AutomationException
Date that will be tested.

Specified by:
setDateType in interface IQuery
Parameters:
type - A com.esri.arcgis.catalog.esriFindDateType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDateOperator

public int getDateOperator()
                    throws java.io.IOException,
                           AutomationException
Operator for comparing dates.

Specified by:
getDateOperator in interface IQuery
Returns:
A com.esri.arcgis.catalog.esriFindDateOperator constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDateOperator

public void setDateOperator(int op)
                     throws java.io.IOException,
                            AutomationException
Operator for comparing dates.

Specified by:
setDateOperator in interface IQuery
Parameters:
op - A com.esri.arcgis.catalog.esriFindDateOperator constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDate1

public java.lang.String getDate1()
                          throws java.io.IOException,
                                 AutomationException
Start date, or first date.

Specified by:
getDate1 in interface IQuery
Returns:
The date
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDate1

public void setDate1(java.lang.String date)
              throws java.io.IOException,
                     AutomationException
Start date, or first date.

Specified by:
setDate1 in interface IQuery
Parameters:
date - The date (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDate2

public java.lang.String getDate2()
                          throws java.io.IOException,
                                 AutomationException
End date, or second date.

Specified by:
getDate2 in interface IQuery
Returns:
The date
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDate2

public void setDate2(java.lang.String date)
              throws java.io.IOException,
                     AutomationException
End date, or second date.

Specified by:
setDate2 in interface IQuery
Parameters:
date - The date (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumFieldQueries

public int getNumFieldQueries()
                       throws java.io.IOException,
                              AutomationException
Number of field queries.

Specified by:
getNumFieldQueries in interface IQuery
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFieldQuery

public void getFieldQuery(int index,
                          int[] type,
                          int[] op,
                          java.lang.String[] value,
                          java.lang.String[] tag)
                   throws java.io.IOException,
                          AutomationException
Returns the nth field query.

Specified by:
getFieldQuery in interface IQuery
Parameters:
index - The index (in)
type - A com.esri.arcgis.catalog.esriFindFieldType constant (out: use single element array)
op - A com.esri.arcgis.catalog.esriFindFieldOperator constant (out: use single element array)
value - The value (out: use single element array)
tag - The tag (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addFieldQuery

public void addFieldQuery(int type,
                          int op,
                          java.lang.String value,
                          java.lang.String tag)
                   throws java.io.IOException,
                          AutomationException
Adds a field query.

Specified by:
addFieldQuery in interface IQuery
Parameters:
type - A com.esri.arcgis.catalog.esriFindFieldType constant (in)
op - A com.esri.arcgis.catalog.esriFindFieldOperator constant (in)
value - The value (in)
tag - The tag (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassID

public IUID getClassID()
                throws java.io.IOException,
                       AutomationException
Class ID indicating the type of query object that has been defined.

Specified by:
getClassID in interface IQuery
Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

load

public void load(IPropertySet pPropertySet)
          throws java.io.IOException,
                 AutomationException
Loads the query's parameters from the given XML property set.

Specified by:
load in interface IQuery
Parameters:
pPropertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

save

public void save(IPropertySet pPropertySet)
          throws java.io.IOException,
                 AutomationException
Saves the query's parameters to the given XML property set.

Specified by:
save in interface IQuery
Parameters:
pPropertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEngineProperties

public IPropertySet getEngineProperties()
                                 throws java.io.IOException,
                                        AutomationException
Property set containing properties of the search engine that will be used to execute the query.

Specified by:
getEngineProperties in interface IQuery
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

buildExpressions

public void buildExpressions()
                      throws java.io.IOException,
                             AutomationException
Creates a set of XSL Pattern expressions from a query.

Specified by:
buildExpressions in interface IXmlQuery
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumExpressions

public int getNumExpressions()
                      throws java.io.IOException,
                             AutomationException
Number of expressions that were generated.

Specified by:
getNumExpressions in interface IXmlQuery
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExpression

public java.lang.String getExpression(int index)
                               throws java.io.IOException,
                                      AutomationException
The nth expression.

Specified by:
getExpression in interface IXmlQuery
Parameters:
index - The index (in)
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAnd

public boolean isAnd()
              throws java.io.IOException,
                     AutomationException
Indicates if the expressions are ANDed together (as opposed to ORed).

Specified by:
isAnd in interface IXmlQuery
Returns:
The isAnd
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsAnd

public void setIsAnd(boolean isAnd)
              throws java.io.IOException,
                     AutomationException
Indicates if the expressions are ANDed together (as opposed to ORed).

Specified by:
setIsAnd in interface IXmlQuery
Parameters:
isAnd - The isAnd (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getContentType

public int getContentType()
                   throws java.io.IOException,
                          AutomationException
The Content type.

Specified by:
getContentType in interface IArcIMSQuery
Returns:
A com.esri.arcgis.catalog.esriContentType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setContentType

public void setContentType(int type)
                    throws java.io.IOException,
                           AutomationException
The Content type.

Specified by:
setContentType in interface IArcIMSQuery
Parameters:
type - A com.esri.arcgis.catalog.esriContentType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBackgroundMap

public java.lang.String getBackgroundMap()
                                  throws java.io.IOException,
                                         AutomationException
Full name of the dataset to be used as the background map in the Geography tab.

Specified by:
getBackgroundMap in interface IFindDialogSettings
Returns:
The pBackgroundMap
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBackgroundMap

public void setBackgroundMap(java.lang.String pBackgroundMap)
                      throws java.io.IOException,
                             AutomationException
Full name of the dataset to be used as the background map in the Geography tab.

Specified by:
setBackgroundMap in interface IFindDialogSettings
Parameters:
pBackgroundMap - The pBackgroundMap (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.