|
|||||||||
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
Helper object with common search server utility methods.
Constructor Summary | |
---|---|
SSUtilities()
Constructs a SSUtilities using ArcGIS Engine. |
|
SSUtilities(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. SSUtilities theSSUtilities = (SSUtilities) obj; |
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 SSUtilities() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic SSUtilities(Object obj) throws IOException
SSUtilities theSSUtilities = (SSUtilities) obj;
obj
to SSUtilities
.
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 IServerContext getIndexItemSO(IServerObjectManager pSOM, String serviceName, IServerObject[] ppSO) throws 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteDirectory(String dir) throws IOException, AutomationException
deleteDirectory
in interface ISSUtilities
dir
- The dir (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDSCXMLFileName(String folderName, String catalogPath) throws IOException, AutomationException
getDSCXMLFileName
in interface ISSUtilities
folderName
- The folderName (in)catalogPath
- The catalogPath (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createDSCXMLFile(IDataSourceConfiguration pDataSourceConfiguration, String folderName) throws IOException, AutomationException
createDSCXMLFile
in interface ISSUtilities
pDataSourceConfiguration
- A reference to a com.esri.arcgis.search.IDataSourceConfiguration (in)folderName
- The folderName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDataSourceConfiguration createDSCFromFile(String fileName) throws IOException, AutomationException
createDSCFromFile
in interface ISSUtilities
fileName
- The fileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IStringArray getDataSourceList(String cfgLocation) throws IOException, AutomationException
getDataSourceList
in interface ISSUtilities
cfgLocation
- The cfgLocation (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getIndexingOptionsFileName(String indexingConfigPath) throws IOException, AutomationException
getIndexingOptionsFileName
in interface ISSUtilities
indexingConfigPath
- The indexingConfigPath (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createIndexingOptionsFile(IIndexingOptions pIndexingOptions, String fileName) throws IOException, AutomationException
createIndexingOptionsFile
in interface ISSUtilities
pIndexingOptions
- A reference to a com.esri.arcgis.search.IIndexingOptions (in)fileName
- The fileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IIndexingOptions readIndexingOptionsFile(String fileName) throws IOException, AutomationException
readIndexingOptionsFile
in interface ISSUtilities
fileName
- The fileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IIndexingOptions createDefaultIndexingOptions(String fileName) throws IOException, AutomationException
createDefaultIndexingOptions
in interface ISSUtilities
fileName
- The fileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDSCStatusFileName(String indexingConfigPath) throws IOException, AutomationException
getDSCStatusFileName
in interface ISSUtilities
indexingConfigPath
- The indexingConfigPath (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDSCStatusArray createDSCStatusArrayFromFile(String fileName) throws IOException, AutomationException
createDSCStatusArrayFromFile
in interface ISSUtilities
fileName
- The fileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void replaceDSCStatusFile(IDSCStatusArray pDSCStatusArray, String bsDSCStatusFileName) throws IOException, AutomationException
replaceDSCStatusFile
in interface ISSUtilities
pDSCStatusArray
- A reference to a com.esri.arcgis.search.IDSCStatusArray (in)bsDSCStatusFileName
- The bsDSCStatusFileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void updateDSCRunningStatus(IPropertySet pConnProps, IServerObjectManager pSOM, String bsDSCStatusFileName, String serviceName, IDSCStatusArray[] ppDSCStatusArray) throws 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void updateFullStartTimeIndexingStatus(IIndexingOptions pIndexingOptions, String indexingConfigPath, IIndexingStatus pIndexingStatus) throws 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void replaceIndexingStatusFile(IIndexingStatus pIndexingStatus, String indexingStatusFileName) throws IOException, AutomationException
replaceIndexingStatusFile
in interface ISSUtilities
pIndexingStatus
- A reference to a com.esri.arcgis.search.IIndexingStatus (in)indexingStatusFileName
- The indexingStatusFileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createDefaultIndexingStatus(String fileName, IIndexingOptions pIndexingOptions) throws IOException, AutomationException
createDefaultIndexingStatus
in interface ISSUtilities
fileName
- The fileName (in)pIndexingOptions
- A reference to a com.esri.arcgis.search.IIndexingOptions (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getIndexingStatusFileName(String indexingConfigPath) throws IOException, AutomationException
getIndexingStatusFileName
in interface ISSUtilities
indexingConfigPath
- The indexingConfigPath (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IIndexingStatus readIndexingStatus(String fileName) throws IOException, AutomationException
readIndexingStatus
in interface ISSUtilities
fileName
- The fileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getSearchServiceLocation(String arcgisindexLocation, String serviceName) throws IOException, AutomationException
getSearchServiceLocation
in interface ISSUtilities
arcgisindexLocation
- The arcgisindexLocation (in)serviceName
- The serviceName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getIndexLocation(String arcgisindexLocation, String serviceName) throws IOException, AutomationException
getIndexLocation
in interface ISSUtilities
arcgisindexLocation
- The arcgisindexLocation (in)serviceName
- The serviceName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getStagingIndexLocation(String arcgisindexLocation, String serviceName) throws IOException, AutomationException
getStagingIndexLocation
in interface ISSUtilities
arcgisindexLocation
- The arcgisindexLocation (in)serviceName
- The serviceName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getStagingPath(String arcgisindexLocation, String serviceName) throws IOException, AutomationException
getStagingPath
in interface ISSUtilities
arcgisindexLocation
- The arcgisindexLocation (in)serviceName
- The serviceName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getStagingIndexPath(String arcgisindexLocation, String serviceName) throws IOException, AutomationException
getStagingIndexPath
in interface ISSUtilities
arcgisindexLocation
- The arcgisindexLocation (in)serviceName
- The serviceName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getStagingIndexStagingPath(String arcgisindexLocation, String serviceName) throws IOException, AutomationException
getStagingIndexStagingPath
in interface ISSUtilities
arcgisindexLocation
- The arcgisindexLocation (in)serviceName
- The serviceName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getIndexingConfigPath(String arcgisindexLocation, String serviceName) throws IOException, AutomationException
getIndexingConfigPath
in interface ISSUtilities
arcgisindexLocation
- The arcgisindexLocation (in)serviceName
- The serviceName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getFinishFileName(String folder) throws IOException, AutomationException
getFinishFileName
in interface ISSUtilities
folder
- The folder (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createIndexingFoldersAndFiles(IPropertySet pProps, String serviceName) throws IOException, AutomationException
createIndexingFoldersAndFiles
in interface ISSUtilities
pProps
- A reference to a com.esri.arcgis.system.IPropertySet (in)serviceName
- The serviceName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCurrentUTCTimeXMLString() throws IOException, AutomationException
getCurrentUTCTimeXMLString
in interface ISSUtilities
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCurrentUTCTime(ITime[] ppCurUTCTime) throws IOException, AutomationException
getCurrentUTCTime
in interface ISSUtilities
ppCurUTCTime
- A reference to a com.esri.arcgis.system.ITime (out: use single element array)
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 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isOverDue(String targetUTCXMLTime) throws IOException, AutomationException
isOverDue
in interface ISSUtilities
targetUTCXMLTime
- The targetUTCXMLTime (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNextIndexingStartTime(boolean isFull, IIndexingOptions pIndexingOptions, IIndexingStatus pIndexingStatus) throws 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getFileGDBPath(String arcgisindexLocation, String serviceName) throws IOException, AutomationException
getFileGDBPath
in interface ISSUtilities
arcgisindexLocation
- The arcgisindexLocation (in)serviceName
- The serviceName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getGDBConnectionPath(IPropertySet pProps, String arcgisindexLocation, String serviceName) throws 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IStringArray getDataSourceListFromGDB(String gdbConnectionFile, String serviceName) throws IOException, AutomationException
getDataSourceListFromGDB
in interface ISSUtilities
gdbConnectionFile
- The gdbConnectionFile (in)serviceName
- The serviceName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createSearchGDB(String indexRootFolder, String gdbName) throws IOException, AutomationException
createSearchGDB
in interface ISSUtilities
indexRootFolder
- The indexRootFolder (in)gdbName
- The gdbName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITable initDataSourceConfigurationTable(IWorkspaceName pWSN, String dataSourceCfgTableTN) throws IOException, AutomationException
initDataSourceConfigurationTable
in interface ISSUtilities
pWSN
- A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)dataSourceCfgTableTN
- The dataSourceCfgTableTN (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITable openDSCTable(String sDEConnection, String serviceName) throws IOException, AutomationException
openDSCTable
in interface ISSUtilities
sDEConnection
- The sDEConnection (in)serviceName
- The serviceName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITable openDataSourceConfigurationTable(IFeatureWorkspace pFWS, String dSCTableName) throws IOException, AutomationException
openDataSourceConfigurationTable
in interface ISSUtilities
pFWS
- A reference to a com.esri.arcgis.geodatabase.IFeatureWorkspace (in)dSCTableName
- The dSCTableName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String qualifyTableName(IFeatureWorkspace pFWS, String tableName) throws IOException, AutomationException
qualifyTableName
in interface ISSUtilities
pFWS
- A reference to a com.esri.arcgis.geodatabase.IFeatureWorkspace (in)tableName
- The tableName (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 |