|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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 problems
public 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 problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public IServerContext getIndexItemSO(IServerObjectManager pSOM,
String serviceName,
IServerObject[] ppSO)
throws IOException,
AutomationException
getIndexItemSO in interface ISSUtilitiespSOM - 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 ISSUtilitiesdir - 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 ISSUtilitiesfolderName - 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 ISSUtilitiespDataSourceConfiguration - 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 ISSUtilitiesfileName - 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 ISSUtilitiescfgLocation - 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 ISSUtilitiesindexingConfigPath - 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 ISSUtilitiespIndexingOptions - 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 ISSUtilitiesfileName - 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 ISSUtilitiesfileName - 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 ISSUtilitiesindexingConfigPath - 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 ISSUtilitiesfileName - 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 ISSUtilitiespDSCStatusArray - 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 ISSUtilitiespConnProps - 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 ISSUtilitiespIndexingOptions - 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 ISSUtilitiespIndexingStatus - 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 ISSUtilitiesfileName - 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 ISSUtilitiesindexingConfigPath - 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 ISSUtilitiesfileName - 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 ISSUtilitiesarcgisindexLocation - 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 ISSUtilitiesarcgisindexLocation - 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 ISSUtilitiesarcgisindexLocation - 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 ISSUtilitiesarcgisindexLocation - 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 ISSUtilitiesarcgisindexLocation - 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 ISSUtilitiesarcgisindexLocation - 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 ISSUtilitiesarcgisindexLocation - 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 ISSUtilitiesfolder - 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 ISSUtilitiespProps - 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 ISSUtilitiesIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getCurrentUTCTime(ITime[] ppCurUTCTime)
throws IOException,
AutomationException
getCurrentUTCTime in interface ISSUtilitiesppCurUTCTime - 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 ISSUtilitiespIndexingStatus - 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 ISSUtilitiestargetUTCXMLTime - 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 ISSUtilitiesisFull - 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 ISSUtilitiesarcgisindexLocation - 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 ISSUtilitiespProps - 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 ISSUtilitiesgdbConnectionFile - 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 ISSUtilitiesindexRootFolder - 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 ISSUtilitiespWSN - 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 ISSUtilitiessDEConnection - 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 ISSUtilitiespFWS - 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 ISSUtilitiespFWS - 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 | ||||||||