|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.search.SearchConfiguration
public class SearchConfiguration
Provides access to members of SearchConfiguration.
| Constructor Summary | |
|---|---|
SearchConfiguration()
Constructs a SearchConfiguration using ArcGIS Engine. |
|
SearchConfiguration(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. SearchConfiguration theSearchConfiguration = (SearchConfiguration) obj; |
|
| Method Summary | |
|---|---|
void |
addServiceName(IAGSServerObjectName pSON)
Add search service name. |
void |
deleteServiceName(IAGSServerObjectName pSON)
Delete search service name. |
void |
empty()
Reset to default value and clean service names array. |
void |
emptyAdvancedOptions()
Resets the default values of the advanced options page and cleans the array of service names. |
void |
emptySearchOptions()
Resets the default values of the search options page. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getMaxResultsPerPage()
The maximum number of search result per page. |
IAGSServerObjectName |
getServiceName(int index)
The search service object name at the specified index. |
int |
getServicesCount()
The count of search services. |
int |
hashCode()
the hashcode for this object |
boolean |
isCheckSynonymsUserDefined()
Indicates whether to use custom synonyms. |
boolean |
isCheckSynonymsWordNet()
Indicates whether to use the built in WordNet synonyms. |
boolean |
isServiceSelected(IAGSServerObjectName pSON)
Indicates whether a service is selected. |
boolean |
isShowPopup()
Indicates whether to show pop-up in search result page. |
boolean |
isZoomToSelectedLocation()
Indicates whether to zoom to the select text based spatial search location. |
void |
loadFromFile(String path)
Load configuration settings from the specificed location. |
void |
saveToFile(String path)
Save configuration settings to the specificed location. |
void |
setCheckSynonymsUserDefined(boolean pCheckSynonymsUserDefined)
Indicates whether to use custom synonyms. |
void |
setCheckSynonymsWordNet(boolean pCheckSynonymsWordNet)
Indicates whether to use the built in WordNet synonyms. |
void |
setIsServiceSelected(IAGSServerObjectName pSON,
boolean bSelected)
Indicates whether a service is selected. |
void |
setMaxResultsPerPage(int pCount)
The maximum number of search result per page. |
void |
setShowPopup(boolean pShow)
Indicates whether to show pop-up in search result page. |
void |
setZoomToSelectedLocation(boolean pZoomToSelectedLocation)
Indicates whether to zoom to the select text based spatial search location. |
| 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 SearchConfiguration()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public SearchConfiguration(Object obj)
throws IOException
SearchConfiguration theSearchConfiguration = (SearchConfiguration) obj;
obj to SearchConfiguration.
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 void loadFromFile(String path)
throws IOException,
AutomationException
loadFromFile in interface ISearchConfigurationpath - The path (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void saveToFile(String path)
throws IOException,
AutomationException
saveToFile in interface ISearchConfigurationpath - The path (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getServicesCount()
throws IOException,
AutomationException
getServicesCount in interface ISearchConfigurationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IAGSServerObjectName getServiceName(int index)
throws IOException,
AutomationException
getServiceName in interface ISearchConfigurationindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isServiceSelected(IAGSServerObjectName pSON)
throws IOException,
AutomationException
isServiceSelected in interface ISearchConfigurationpSON - A reference to a com.esri.arcgis.gisclient.IAGSServerObjectName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIsServiceSelected(IAGSServerObjectName pSON,
boolean bSelected)
throws IOException,
AutomationException
setIsServiceSelected in interface ISearchConfigurationpSON - A reference to a com.esri.arcgis.gisclient.IAGSServerObjectName (in)bSelected - The bSelected (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addServiceName(IAGSServerObjectName pSON)
throws IOException,
AutomationException
addServiceName in interface ISearchConfigurationpSON - A reference to a com.esri.arcgis.gisclient.IAGSServerObjectName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteServiceName(IAGSServerObjectName pSON)
throws IOException,
AutomationException
deleteServiceName in interface ISearchConfigurationpSON - A reference to a com.esri.arcgis.gisclient.IAGSServerObjectName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void empty()
throws IOException,
AutomationException
empty in interface ISearchConfigurationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getMaxResultsPerPage()
throws IOException,
AutomationException
getMaxResultsPerPage in interface ISearchConfigurationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaxResultsPerPage(int pCount)
throws IOException,
AutomationException
setMaxResultsPerPage in interface ISearchConfigurationpCount - The pCount (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isShowPopup()
throws IOException,
AutomationException
isShowPopup in interface ISearchConfigurationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setShowPopup(boolean pShow)
throws IOException,
AutomationException
setShowPopup in interface ISearchConfigurationpShow - The pShow (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isZoomToSelectedLocation()
throws IOException,
AutomationException
isZoomToSelectedLocation in interface ISearchConfigurationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setZoomToSelectedLocation(boolean pZoomToSelectedLocation)
throws IOException,
AutomationException
setZoomToSelectedLocation in interface ISearchConfigurationpZoomToSelectedLocation - The pZoomToSelectedLocation (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCheckSynonymsWordNet()
throws IOException,
AutomationException
isCheckSynonymsWordNet in interface ISearchConfigurationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCheckSynonymsWordNet(boolean pCheckSynonymsWordNet)
throws IOException,
AutomationException
setCheckSynonymsWordNet in interface ISearchConfigurationpCheckSynonymsWordNet - The pCheckSynonymsWordNet (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCheckSynonymsUserDefined()
throws IOException,
AutomationException
isCheckSynonymsUserDefined in interface ISearchConfigurationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCheckSynonymsUserDefined(boolean pCheckSynonymsUserDefined)
throws IOException,
AutomationException
setCheckSynonymsUserDefined in interface ISearchConfigurationpCheckSynonymsUserDefined - The pCheckSynonymsUserDefined (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void emptySearchOptions()
throws IOException,
AutomationException
emptySearchOptions in interface ISearchConfigurationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void emptyAdvancedOptions()
throws IOException,
AutomationException
emptyAdvancedOptions in interface ISearchConfigurationIOException - 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 | ||||||||