|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.search.SSUtilities
public class SSUtilities
COM Class 'SSUtilities'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriSearch.tlb'
Description 'Helper object with common search server utility methods.' 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 =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.search.ISSUtilities |
---|
IID, IIDee1b2033_ccb2_4f12_9d92_21afcc50f185, xxDummy |
Constructor Summary | |
---|---|
SSUtilities()
Constructs a SSUtilities using ArcGIS Engine. |
|
SSUtilities(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. SSUtilities theSSUtilities = (SSUtilities) obj; |
Method Summary | |
---|---|
void |
checkIndexingOverDue(IIndexingStatus pIndexingStatus,
boolean[] pIsFullIndexingOverDue,
boolean[] pIsIncrementalIndexingOverDue,
ITime[] ppFullUTCTime,
ITime ppIncrUTCTime)
. |
IIndexingOptions |
createDefaultIndexingOptions(java.lang.String fileName)
. |
void |
createDefaultIndexingStatus(java.lang.String fileName,
IIndexingOptions pIndexingOptions)
. |
IDataSourceConfiguration |
createDSCFromFile(java.lang.String fileName)
. |
IDSCStatusArray |
createDSCStatusArrayFromFile(java.lang.String fileName)
. |
void |
createDSCXMLFile(IDataSourceConfiguration pDataSourceConfiguration,
java.lang.String folderName)
. |
void |
createIndexingFoldersAndFiles(IPropertySet pProps,
java.lang.String serviceName)
. |
void |
createIndexingOptionsFile(IIndexingOptions pIndexingOptions,
java.lang.String fileName)
. |
void |
createSearchGDB(java.lang.String indexRootFolder,
java.lang.String gdbName)
. |
void |
deleteDirectory(java.lang.String dir)
. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
static java.lang.String |
getClsid()
getClsid. |
java.lang.String |
getCurrentUTCTime(ITime[] ppCurUTCTime)
. |
java.lang.String |
getCurrentUTCTimeXMLString()
. |
IStringArray |
getDataSourceList(java.lang.String cfgLocation)
. |
IStringArray |
getDataSourceListFromGDB(java.lang.String gdbConnectionFile,
java.lang.String serviceName)
. |
java.lang.String |
getDSCStatusFileName(java.lang.String indexingConfigPath)
. |
java.lang.String |
getDSCXMLFileName(java.lang.String folderName,
java.lang.String catalogPath)
. |
java.lang.String |
getFileGDBPath(java.lang.String arcgisindexLocation,
java.lang.String serviceName)
. |
java.lang.String |
getFinishFileName(java.lang.String folder)
. |
java.lang.String |
getGDBConnectionPath(IPropertySet pProps,
java.lang.String arcgisindexLocation,
java.lang.String serviceName)
. |
java.lang.String |
getIndexingConfigPath(java.lang.String arcgisindexLocation,
java.lang.String serviceName)
. |
java.lang.String |
getIndexingOptionsFileName(java.lang.String indexingConfigPath)
. |
java.lang.String |
getIndexingStatusFileName(java.lang.String indexingConfigPath)
. |
IServerContext |
getIndexItemSO(IServerObjectManager pSOM,
java.lang.String serviceName,
IServerObject[] ppSO)
. |
java.lang.String |
getIndexLocation(java.lang.String arcgisindexLocation,
java.lang.String serviceName)
. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
java.lang.String |
getSearchServiceLocation(java.lang.String arcgisindexLocation,
java.lang.String serviceName)
. |
java.lang.String |
getStagingIndexLocation(java.lang.String arcgisindexLocation,
java.lang.String serviceName)
. |
java.lang.String |
getStagingIndexPath(java.lang.String arcgisindexLocation,
java.lang.String serviceName)
. |
java.lang.String |
getStagingIndexStagingPath(java.lang.String arcgisindexLocation,
java.lang.String serviceName)
. |
java.lang.String |
getStagingPath(java.lang.String arcgisindexLocation,
java.lang.String serviceName)
. |
int |
hashCode()
the hashcode for this object |
ITable |
initDataSourceConfigurationTable(IWorkspaceName pWSN,
java.lang.String dataSourceCfgTableTN)
. |
boolean |
isOverDue(java.lang.String targetUTCXMLTime)
. |
ITable |
openDataSourceConfigurationTable(IFeatureWorkspace pFWS,
java.lang.String dSCTableName)
. |
ITable |
openDSCTable(java.lang.String sDEConnection,
java.lang.String serviceName)
. |
java.lang.String |
qualifyTableName(IFeatureWorkspace pFWS,
java.lang.String tableName)
. |
IIndexingOptions |
readIndexingOptionsFile(java.lang.String fileName)
. |
IIndexingStatus |
readIndexingStatus(java.lang.String fileName)
. |
void |
release()
Release a SSUtilities. |
void |
replaceDSCStatusFile(IDSCStatusArray pDSCStatusArray,
java.lang.String bsDSCStatusFileName)
. |
void |
replaceIndexingStatusFile(IIndexingStatus pIndexingStatus,
java.lang.String indexingStatusFileName)
. |
void |
setNextIndexingStartTime(boolean isFull,
IIndexingOptions pIndexingOptions,
IIndexingStatus pIndexingStatus)
. |
void |
updateDSCRunningStatus(IPropertySet pConnProps,
IServerObjectManager pSOM,
java.lang.String bsDSCStatusFileName,
java.lang.String serviceName,
IDSCStatusArray[] ppDSCStatusArray)
. |
void |
updateFullStartTimeIndexingStatus(IIndexingOptions pIndexingOptions,
java.lang.String indexingConfigPath,
IIndexingStatus pIndexingStatus)
. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SSUtilities() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic SSUtilities(java.lang.Object obj) throws java.io.IOException
SSUtilities theSSUtilities = (SSUtilities) obj;
obj
to SSUtilities
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public IServerContext getIndexItemSO(IServerObjectManager pSOM, java.lang.String serviceName, IServerObject[] ppSO) throws java.io.IOException, AutomationException
getIndexItemSO
in interface ISSUtilities
pSOM
- A reference to a com.esri.arcgis.server.IServerObjectManager (in)serviceName
- The serviceName (in)ppSO
- A reference to a com.esri.arcgis.server.IServerObject (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteDirectory(java.lang.String dir) throws java.io.IOException, AutomationException
deleteDirectory
in interface ISSUtilities
dir
- The dir (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDSCXMLFileName(java.lang.String folderName, java.lang.String catalogPath) throws java.io.IOException, AutomationException
getDSCXMLFileName
in interface ISSUtilities
folderName
- The folderName (in)catalogPath
- The catalogPath (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createDSCXMLFile(IDataSourceConfiguration pDataSourceConfiguration, java.lang.String folderName) throws java.io.IOException, AutomationException
createDSCXMLFile
in interface ISSUtilities
pDataSourceConfiguration
- A reference to a com.esri.arcgis.search.IDataSourceConfiguration (in)folderName
- The folderName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDataSourceConfiguration createDSCFromFile(java.lang.String fileName) throws java.io.IOException, AutomationException
createDSCFromFile
in interface ISSUtilities
fileName
- The fileName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IStringArray getDataSourceList(java.lang.String cfgLocation) throws java.io.IOException, AutomationException
getDataSourceList
in interface ISSUtilities
cfgLocation
- The cfgLocation (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getIndexingOptionsFileName(java.lang.String indexingConfigPath) throws java.io.IOException, AutomationException
getIndexingOptionsFileName
in interface ISSUtilities
indexingConfigPath
- The indexingConfigPath (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createIndexingOptionsFile(IIndexingOptions pIndexingOptions, java.lang.String fileName) throws java.io.IOException, AutomationException
createIndexingOptionsFile
in interface ISSUtilities
pIndexingOptions
- A reference to a com.esri.arcgis.search.IIndexingOptions (in)fileName
- The fileName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IIndexingOptions readIndexingOptionsFile(java.lang.String fileName) throws java.io.IOException, AutomationException
readIndexingOptionsFile
in interface ISSUtilities
fileName
- The fileName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IIndexingOptions createDefaultIndexingOptions(java.lang.String fileName) throws java.io.IOException, AutomationException
createDefaultIndexingOptions
in interface ISSUtilities
fileName
- The fileName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDSCStatusFileName(java.lang.String indexingConfigPath) throws java.io.IOException, AutomationException
getDSCStatusFileName
in interface ISSUtilities
indexingConfigPath
- The indexingConfigPath (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDSCStatusArray createDSCStatusArrayFromFile(java.lang.String fileName) throws java.io.IOException, AutomationException
createDSCStatusArrayFromFile
in interface ISSUtilities
fileName
- The fileName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void replaceDSCStatusFile(IDSCStatusArray pDSCStatusArray, java.lang.String bsDSCStatusFileName) throws java.io.IOException, AutomationException
replaceDSCStatusFile
in interface ISSUtilities
pDSCStatusArray
- A reference to a com.esri.arcgis.search.IDSCStatusArray (in)bsDSCStatusFileName
- The bsDSCStatusFileName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void updateDSCRunningStatus(IPropertySet pConnProps, IServerObjectManager pSOM, java.lang.String bsDSCStatusFileName, java.lang.String serviceName, IDSCStatusArray[] ppDSCStatusArray) throws java.io.IOException, AutomationException
updateDSCRunningStatus
in interface ISSUtilities
pConnProps
- A reference to a com.esri.arcgis.system.IPropertySet (in)pSOM
- A reference to a com.esri.arcgis.server.IServerObjectManager (in)bsDSCStatusFileName
- The bsDSCStatusFileName (in)serviceName
- The serviceName (in)ppDSCStatusArray
- A reference to a com.esri.arcgis.search.IDSCStatusArray (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void updateFullStartTimeIndexingStatus(IIndexingOptions pIndexingOptions, java.lang.String indexingConfigPath, IIndexingStatus pIndexingStatus) throws java.io.IOException, AutomationException
updateFullStartTimeIndexingStatus
in interface ISSUtilities
pIndexingOptions
- A reference to a com.esri.arcgis.search.IIndexingOptions (in)indexingConfigPath
- The indexingConfigPath (in)pIndexingStatus
- A reference to a com.esri.arcgis.search.IIndexingStatus (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void replaceIndexingStatusFile(IIndexingStatus pIndexingStatus, java.lang.String indexingStatusFileName) throws java.io.IOException, AutomationException
replaceIndexingStatusFile
in interface ISSUtilities
pIndexingStatus
- A reference to a com.esri.arcgis.search.IIndexingStatus (in)indexingStatusFileName
- The indexingStatusFileName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createDefaultIndexingStatus(java.lang.String fileName, IIndexingOptions pIndexingOptions) throws java.io.IOException, AutomationException
createDefaultIndexingStatus
in interface ISSUtilities
fileName
- The fileName (in)pIndexingOptions
- A reference to a com.esri.arcgis.search.IIndexingOptions (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getIndexingStatusFileName(java.lang.String indexingConfigPath) throws java.io.IOException, AutomationException
getIndexingStatusFileName
in interface ISSUtilities
indexingConfigPath
- The indexingConfigPath (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IIndexingStatus readIndexingStatus(java.lang.String fileName) throws java.io.IOException, AutomationException
readIndexingStatus
in interface ISSUtilities
fileName
- The fileName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getSearchServiceLocation(java.lang.String arcgisindexLocation, java.lang.String serviceName) throws java.io.IOException, AutomationException
getSearchServiceLocation
in interface ISSUtilities
arcgisindexLocation
- The arcgisindexLocation (in)serviceName
- The serviceName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getIndexLocation(java.lang.String arcgisindexLocation, java.lang.String serviceName) throws java.io.IOException, AutomationException
getIndexLocation
in interface ISSUtilities
arcgisindexLocation
- The arcgisindexLocation (in)serviceName
- The serviceName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getStagingIndexLocation(java.lang.String arcgisindexLocation, java.lang.String serviceName) throws java.io.IOException, AutomationException
getStagingIndexLocation
in interface ISSUtilities
arcgisindexLocation
- The arcgisindexLocation (in)serviceName
- The serviceName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getStagingPath(java.lang.String arcgisindexLocation, java.lang.String serviceName) throws java.io.IOException, AutomationException
getStagingPath
in interface ISSUtilities
arcgisindexLocation
- The arcgisindexLocation (in)serviceName
- The serviceName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getStagingIndexPath(java.lang.String arcgisindexLocation, java.lang.String serviceName) throws java.io.IOException, AutomationException
getStagingIndexPath
in interface ISSUtilities
arcgisindexLocation
- The arcgisindexLocation (in)serviceName
- The serviceName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getStagingIndexStagingPath(java.lang.String arcgisindexLocation, java.lang.String serviceName) throws java.io.IOException, AutomationException
getStagingIndexStagingPath
in interface ISSUtilities
arcgisindexLocation
- The arcgisindexLocation (in)serviceName
- The serviceName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getIndexingConfigPath(java.lang.String arcgisindexLocation, java.lang.String serviceName) throws java.io.IOException, AutomationException
getIndexingConfigPath
in interface ISSUtilities
arcgisindexLocation
- The arcgisindexLocation (in)serviceName
- The serviceName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getFinishFileName(java.lang.String folder) throws java.io.IOException, AutomationException
getFinishFileName
in interface ISSUtilities
folder
- The folder (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createIndexingFoldersAndFiles(IPropertySet pProps, java.lang.String serviceName) throws java.io.IOException, AutomationException
createIndexingFoldersAndFiles
in interface ISSUtilities
pProps
- A reference to a com.esri.arcgis.system.IPropertySet (in)serviceName
- The serviceName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getCurrentUTCTimeXMLString() throws java.io.IOException, AutomationException
getCurrentUTCTimeXMLString
in interface ISSUtilities
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getCurrentUTCTime(ITime[] ppCurUTCTime) throws java.io.IOException, AutomationException
getCurrentUTCTime
in interface ISSUtilities
ppCurUTCTime
- A reference to a com.esri.arcgis.system.ITime (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void checkIndexingOverDue(IIndexingStatus pIndexingStatus, boolean[] pIsFullIndexingOverDue, boolean[] pIsIncrementalIndexingOverDue, ITime[] ppFullUTCTime, ITime ppIncrUTCTime) throws java.io.IOException, AutomationException
checkIndexingOverDue
in interface ISSUtilities
pIndexingStatus
- A reference to a com.esri.arcgis.search.IIndexingStatus (in)pIsFullIndexingOverDue
- The pIsFullIndexingOverDue (in)pIsIncrementalIndexingOverDue
- The pIsIncrementalIndexingOverDue (in)ppFullUTCTime
- A reference to a com.esri.arcgis.system.ITime (out: use single element array)ppIncrUTCTime
- A reference to a com.esri.arcgis.system.ITime (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isOverDue(java.lang.String targetUTCXMLTime) throws java.io.IOException, AutomationException
isOverDue
in interface ISSUtilities
targetUTCXMLTime
- The targetUTCXMLTime (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNextIndexingStartTime(boolean isFull, IIndexingOptions pIndexingOptions, IIndexingStatus pIndexingStatus) throws java.io.IOException, AutomationException
setNextIndexingStartTime
in interface ISSUtilities
isFull
- The isFull (in)pIndexingOptions
- A reference to a com.esri.arcgis.search.IIndexingOptions (in)pIndexingStatus
- A reference to a com.esri.arcgis.search.IIndexingStatus (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getFileGDBPath(java.lang.String arcgisindexLocation, java.lang.String serviceName) throws java.io.IOException, AutomationException
getFileGDBPath
in interface ISSUtilities
arcgisindexLocation
- The arcgisindexLocation (in)serviceName
- The serviceName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getGDBConnectionPath(IPropertySet pProps, java.lang.String arcgisindexLocation, java.lang.String serviceName) throws java.io.IOException, AutomationException
getGDBConnectionPath
in interface ISSUtilities
pProps
- A reference to a com.esri.arcgis.system.IPropertySet (in)arcgisindexLocation
- The arcgisindexLocation (in)serviceName
- The serviceName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IStringArray getDataSourceListFromGDB(java.lang.String gdbConnectionFile, java.lang.String serviceName) throws java.io.IOException, AutomationException
getDataSourceListFromGDB
in interface ISSUtilities
gdbConnectionFile
- The gdbConnectionFile (in)serviceName
- The serviceName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createSearchGDB(java.lang.String indexRootFolder, java.lang.String gdbName) throws java.io.IOException, AutomationException
createSearchGDB
in interface ISSUtilities
indexRootFolder
- The indexRootFolder (in)gdbName
- The gdbName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITable initDataSourceConfigurationTable(IWorkspaceName pWSN, java.lang.String dataSourceCfgTableTN) throws java.io.IOException, AutomationException
initDataSourceConfigurationTable
in interface ISSUtilities
pWSN
- A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)dataSourceCfgTableTN
- The dataSourceCfgTableTN (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITable openDSCTable(java.lang.String sDEConnection, java.lang.String serviceName) throws java.io.IOException, AutomationException
openDSCTable
in interface ISSUtilities
sDEConnection
- The sDEConnection (in)serviceName
- The serviceName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITable openDataSourceConfigurationTable(IFeatureWorkspace pFWS, java.lang.String dSCTableName) throws java.io.IOException, AutomationException
openDataSourceConfigurationTable
in interface ISSUtilities
pFWS
- A reference to a com.esri.arcgis.geodatabase.IFeatureWorkspace (in)dSCTableName
- The dSCTableName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String qualifyTableName(IFeatureWorkspace pFWS, java.lang.String tableName) throws java.io.IOException, AutomationException
qualifyTableName
in interface ISSUtilities
pFWS
- A reference to a com.esri.arcgis.geodatabase.IFeatureWorkspace (in)tableName
- The tableName (in)
java.io.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 |