com.esri.arcgis.search
Class GPItemIndex

java.lang.Object
  extended by com.esri.arcgis.search.GPItemIndex
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IItemIndex, IItemIndex2, IItemIndexAdmin, java.io.Serializable

public class GPItemIndex
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IItemIndex2, IItemIndexAdmin

COM Class 'GPItemIndex'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriSearch.tlb'

Description 'IndexingHelper object.' 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.search.IItemIndex2
IID, IIDfcaf5f49_fda4_4dd6_87e9_743e139dbbcb, xxDummy
 
Fields inherited from interface com.esri.arcgis.search.IItemIndex
IIDacf9354c_05db_4a70_b5f3_48d2822cb400
 
Fields inherited from interface com.esri.arcgis.search.IItemIndexAdmin
IID, IIDcb225681_c42d_4a5f_b26e_f4a790cef7a7, xxDummy
 
Constructor Summary
GPItemIndex()
          Constructs a GPItemIndex using ArcGIS Engine.
GPItemIndex(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GPItemIndex theGPItemIndex = (GPItemIndex) obj;
 
Method Summary
 void addItemInfo(IItemInfo pItemInfo)
          Add item info to index.
 void deleteItemInfo(java.lang.String catalogPath)
          Delete item info from index.
 void deleteItemInfos(java.lang.String catalogPath)
          Delete item infos from index.
 void endIndexing()
          Start indexing.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 java.lang.String getIndexFolder()
          Name of the index folder.
 java.lang.String getIndexName()
          Name of the index.
 int getItemInfoCount()
          Indicates whether to check index exists or not.
 IStringArray getItemsMissingThumbnails()
          The CatalogPaths without thumbnail info.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 boolean isItemInfoExists(java.lang.String catalogPath)
          Indicates whether to check a particular iteminfo exists or not.
 boolean isUseStaging()
          Use staging during index.
 void release()
          Release a GPItemIndex.
 void setIndexFolder(java.lang.String pFolderName)
          Name of the index folder.
 void setIndexName(java.lang.String pName)
          Name of the index.
 void setUseStaging(boolean pUseStaging)
          Use staging during index.
 void startIndexing(boolean replaceIndex, boolean replaceItems)
          Start indexing.
 void updateItemInfo(IItemInfo pItemInfo)
          Update the specified item info in index.
 void updateThumbnail(java.lang.String catalogPath, IThumbnailInfo pThumbInfo)
          Update thumbnail info in index.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GPItemIndex

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

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

GPItemIndex

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

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

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 GPItemIndex.

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

updateThumbnail

public void updateThumbnail(java.lang.String catalogPath,
                            IThumbnailInfo pThumbInfo)
                     throws java.io.IOException,
                            AutomationException
Update thumbnail info in index.

Specified by:
updateThumbnail in interface IItemIndex2
Parameters:
catalogPath - The catalogPath (in)
pThumbInfo - A reference to a com.esri.arcgis.geodatabase.IThumbnailInfo (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItemsMissingThumbnails

public IStringArray getItemsMissingThumbnails()
                                       throws java.io.IOException,
                                              AutomationException
The CatalogPaths without thumbnail info.

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

addItemInfo

public void addItemInfo(IItemInfo pItemInfo)
                 throws java.io.IOException,
                        AutomationException
Add item info to index.

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

deleteItemInfo

public void deleteItemInfo(java.lang.String catalogPath)
                    throws java.io.IOException,
                           AutomationException
Delete item info from index.

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

deleteItemInfos

public void deleteItemInfos(java.lang.String catalogPath)
                     throws java.io.IOException,
                            AutomationException
Delete item infos from index.

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

updateItemInfo

public void updateItemInfo(IItemInfo pItemInfo)
                    throws java.io.IOException,
                           AutomationException
Update the specified item info in index.

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

isItemInfoExists

public boolean isItemInfoExists(java.lang.String catalogPath)
                         throws java.io.IOException,
                                AutomationException
Indicates whether to check a particular iteminfo exists or not.

Specified by:
isItemInfoExists in interface IItemIndex
Parameters:
catalogPath - The catalogPath (in)
Returns:
The pbExsits
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItemInfoCount

public int getItemInfoCount()
                     throws java.io.IOException,
                            AutomationException
Indicates whether to check index exists or not.

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

getIndexFolder

public java.lang.String getIndexFolder()
                                throws java.io.IOException,
                                       AutomationException
Name of the index folder.

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

setIndexFolder

public void setIndexFolder(java.lang.String pFolderName)
                    throws java.io.IOException,
                           AutomationException
Name of the index folder.

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

getIndexName

public java.lang.String getIndexName()
                              throws java.io.IOException,
                                     AutomationException
Name of the index.

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

setIndexName

public void setIndexName(java.lang.String pName)
                  throws java.io.IOException,
                         AutomationException
Name of the index.

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

isUseStaging

public boolean isUseStaging()
                     throws java.io.IOException,
                            AutomationException
Use staging during index.

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

setUseStaging

public void setUseStaging(boolean pUseStaging)
                   throws java.io.IOException,
                          AutomationException
Use staging during index.

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

startIndexing

public void startIndexing(boolean replaceIndex,
                          boolean replaceItems)
                   throws java.io.IOException,
                          AutomationException
Start indexing.

Specified by:
startIndexing in interface IItemIndexAdmin
Parameters:
replaceIndex - The replaceIndex (in)
replaceItems - The replaceItems (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

endIndexing

public void endIndexing()
                 throws java.io.IOException,
                        AutomationException
Start indexing.

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