|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.catalog.search.SearchFilterKeyword
public class SearchFilterKeyword
Class representing keyword filter in search.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.esri.gpt.catalog.search.ISearchFilterKeyword |
---|
ISearchFilterKeyword.KeySearchTextOptions |
Constructor Summary | |
---|---|
SearchFilterKeyword()
Instantiates a new search filter keyword. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Checks if two objects are equal. |
SearchParameterMap |
getParams()
Gets parameters. |
ISearchFilterKeyword.KeySearchTextOptions |
getSearchOptionAsEnum()
Gets search option as enum. |
String |
getSearchText()
Gets the search text. |
String |
getSelectedSearchOption()
Gets the selected search option. |
int |
hashCode()
Creates hash code from the content of the object. |
boolean |
isEquals(Object obj)
Checks if object in argument is equal to this |
void |
reset()
Reset. |
void |
setParams(SearchParameterMap parameterMap)
Sets parameters. |
void |
setSearchOptionAsEnum(ISearchFilterKeyword.KeySearchTextOptions option)
Sets search option as enum. |
void |
setSearchText(String text)
Sets the search text. |
void |
setSelectedSearchOption(String selectedSearchOption)
Sets the selected search option. |
String |
toString()
Creates string representation of the object. |
void |
validate()
Tests values and if invalid value is found throws exception. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SearchFilterKeyword()
Method Detail |
---|
public String getSearchText()
getSearchText
in interface ISearchFilterKeyword
public void setSearchText(String text)
setSearchText
in interface ISearchFilterKeyword
text
- the new search textpublic ISearchFilterKeyword.KeySearchTextOptions getSearchOptionAsEnum()
getSearchOptionAsEnum
in interface ISearchFilterKeyword
public void setSearchOptionAsEnum(ISearchFilterKeyword.KeySearchTextOptions option)
setSearchOptionAsEnum
in interface ISearchFilterKeyword
option
- search option as enumpublic String getSelectedSearchOption()
public void setSelectedSearchOption(String selectedSearchOption)
selectedSearchOption
- the new selected search option.
IllegalArgumentException
- if searchOption is not in KeySearchTextOptionspublic void reset()
reset
in interface ISearchFilter
public void validate() throws SearchException
validate
in interface ISearchFilter
SearchException
- the search exceptionISearchFilter.validate()
public SearchParameterMap getParams()
getParams
in interface ISearchFilter
ISearchFilter.getParams()
public void setParams(SearchParameterMap parameterMap)
setParams
in interface ISearchFilter
parameterMap
- the map of search parameterspublic boolean equals(Object obj)
equals
in class Object
obj
- object to compare
true
if both object are equalpublic boolean isEquals(Object obj)
isEquals
in interface ISearchFilter
obj
-
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |