|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.search.GPItemIndexer
public class GPItemIndexer
GPItemIndexer object.
| Constructor Summary | |
|---|---|
GPItemIndexer()
Constructs a GPItemIndexer using ArcGIS Engine. |
|
GPItemIndexer(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GPItemIndexer theGPItemIndexer = (GPItemIndexer) obj; |
|
| Method Summary | |
|---|---|
void |
addItemInfo(IItemInfo pItemInfo,
boolean replaceItems,
String indexPath,
String sDEConnection,
String[] pGuid)
Add ItemInfo to Index File. |
void |
buildIndex(IIndexingConfiguration pConfig,
IItemIndex pIItemIndex)
Build index with indexing helper. |
void |
deleteItemInfo(String indexPath,
String pGuid)
Delete ItemInfo from Index File. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getCount()
Total indexed items count. |
String |
getIndexerName()
Name of the indexer. |
String |
getIndexFolder()
Name of the index folder. |
String |
getIndexName()
Name of the index. |
String |
getSDEConnection()
SDE Connection file. |
int |
hashCode()
the hashcode for this object |
void |
indexItem(String path)
Index Item without children with passed in catalogpath. |
void |
indexItems(String path,
boolean replaceIndex,
boolean recursive,
boolean useStaging,
String indexPath,
boolean useQueue)
The Build ItemInfos.. |
boolean |
isAncestorRegistered(IItemInfo pItemInfo)
Indicates whether the ancestor of this ItemInfo has been registered to be indexed. |
boolean |
isHasBeenIndexed(IItemInfo pItemInfo)
Indicates whether the current item has been indexed. |
boolean |
isUseQueue()
Indicates whether queue is used during index. |
boolean |
isUseStaging()
Indicates whether staging is used during index. |
void |
setIndexerName(String pName)
Name of the indexer. |
void |
setIndexFolder(String pFolderName)
Name of the index folder. |
void |
setIndexName(String pName)
Name of the index. |
void |
setSDEConnection(String pName)
SDE Connection file. |
void |
setUseQueue(boolean useQueue)
Indicates whether queue is used during index. |
void |
setUseStaging(boolean pUseStaging)
Indicates whether staging is used during index. |
void |
updateItemInfo(IItemInfo pItemInfo)
Update the index. |
void |
updateThumbnailInIndex(String path)
Update Thumbnail of a ItemInfo by passing in a catalogpath. |
| 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 |
|---|
public GPItemIndexer()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public GPItemIndexer(Object obj)
throws IOException
GPItemIndexer theGPItemIndexer = (GPItemIndexer) obj;
obj to GPItemIndexer.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public String getIndexerName()
throws IOException,
AutomationException
getIndexerName in interface IItemIndexerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIndexerName(String pName)
throws IOException,
AutomationException
setIndexerName in interface IItemIndexerpName - The pName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void buildIndex(IIndexingConfiguration pConfig,
IItemIndex pIItemIndex)
throws IOException,
AutomationException
buildIndex in interface IItemIndexerpConfig - A reference to a com.esri.arcgis.search.IIndexingConfiguration (in)pIItemIndex - A reference to a com.esri.arcgis.search.IItemIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void indexItems(String path,
boolean replaceIndex,
boolean recursive,
boolean useStaging,
String indexPath,
boolean useQueue)
throws IOException,
AutomationException
indexItems in interface IGPItemIndexerpath - The path (in)replaceIndex - The replaceIndex (in)recursive - The recursive (in)useStaging - The useStaging (in)indexPath - The indexPath (in)useQueue - The useQueue (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addItemInfo(IItemInfo pItemInfo,
boolean replaceItems,
String indexPath,
String sDEConnection,
String[] pGuid)
throws IOException,
AutomationException
addItemInfo in interface IGPItemIndexerpItemInfo - A reference to a com.esri.arcgis.geodatabase.IItemInfo (in)replaceItems - The replaceItems (in)indexPath - The indexPath (in)sDEConnection - The sDEConnection (in)pGuid - The pGuid (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteItemInfo(String indexPath,
String pGuid)
throws IOException,
AutomationException
deleteItemInfo in interface IGPItemIndexerindexPath - The indexPath (in)pGuid - The pGuid (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void updateItemInfo(IItemInfo pItemInfo)
throws IOException,
AutomationException
updateItemInfo in interface IGPItemIndexerpItemInfo - A reference to a com.esri.arcgis.geodatabase.IItemInfo (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void indexItem(String path)
throws IOException,
AutomationException
indexItem in interface IGPItemIndexerpath - The path (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void updateThumbnailInIndex(String path)
throws IOException,
AutomationException
updateThumbnailInIndex in interface IGPItemIndexerpath - The path (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCount()
throws IOException,
AutomationException
getCount in interface IGPItemIndexerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isAncestorRegistered(IItemInfo pItemInfo)
throws IOException,
AutomationException
isAncestorRegistered in interface IGPItemIndexerpItemInfo - A reference to a com.esri.arcgis.geodatabase.IItemInfo (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isHasBeenIndexed(IItemInfo pItemInfo)
throws IOException,
AutomationException
isHasBeenIndexed in interface IGPItemIndexerpItemInfo - A reference to a com.esri.arcgis.geodatabase.IItemInfo (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUseStaging()
throws IOException,
AutomationException
isUseStaging in interface IGPItemIndexerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUseStaging(boolean pUseStaging)
throws IOException,
AutomationException
setUseStaging in interface IGPItemIndexerpUseStaging - The pUseStaging (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUseQueue()
throws IOException,
AutomationException
isUseQueue in interface IGPItemIndexerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUseQueue(boolean useQueue)
throws IOException,
AutomationException
setUseQueue in interface IGPItemIndexeruseQueue - The useQueue (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getIndexFolder()
throws IOException,
AutomationException
getIndexFolder in interface IGPItemIndexerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIndexFolder(String pFolderName)
throws IOException,
AutomationException
setIndexFolder in interface IGPItemIndexerpFolderName - The pFolderName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getIndexName()
throws IOException,
AutomationException
getIndexName in interface IGPItemIndexerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIndexName(String pName)
throws IOException,
AutomationException
setIndexName in interface IGPItemIndexerpName - The pName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getSDEConnection()
throws IOException,
AutomationException
getSDEConnection in interface IGPItemIndexerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSDEConnection(String pName)
throws IOException,
AutomationException
setSDEConnection in interface IGPItemIndexerpName - The pName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||