|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 problemspublic 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 problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getIndexerName() throws IOException, AutomationException
getIndexerName
in interface IItemIndexer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIndexerName(String pName) throws IOException, AutomationException
setIndexerName
in interface IItemIndexer
pName
- 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 IItemIndexer
pConfig
- 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 IGPItemIndexer
path
- 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 IGPItemIndexer
pItemInfo
- 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 IGPItemIndexer
indexPath
- 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 IGPItemIndexer
pItemInfo
- 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 IGPItemIndexer
path
- 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 IGPItemIndexer
path
- 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 IGPItemIndexer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAncestorRegistered(IItemInfo pItemInfo) throws IOException, AutomationException
isAncestorRegistered
in interface IGPItemIndexer
pItemInfo
- 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 IGPItemIndexer
pItemInfo
- 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 IGPItemIndexer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseStaging(boolean pUseStaging) throws IOException, AutomationException
setUseStaging
in interface IGPItemIndexer
pUseStaging
- 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 IGPItemIndexer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseQueue(boolean useQueue) throws IOException, AutomationException
setUseQueue
in interface IGPItemIndexer
useQueue
- 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 IGPItemIndexer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIndexFolder(String pFolderName) throws IOException, AutomationException
setIndexFolder
in interface IGPItemIndexer
pFolderName
- 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 IGPItemIndexer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIndexName(String pName) throws IOException, AutomationException
setIndexName
in interface IGPItemIndexer
pName
- 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 IGPItemIndexer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSDEConnection(String pName) throws IOException, AutomationException
setSDEConnection
in interface IGPItemIndexer
pName
- 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 |