|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.endeca.infront.navigation.model.Filter
com.endeca.infront.navigation.model.SearchFilter
public class SearchFilter
A text search filter.
| Constructor Summary | |
|---|---|
SearchFilter()
Creates a text search filter. |
|
SearchFilter(String key,
String terms)
Creates a text search filter. |
|
SearchFilter(String key,
String terms,
MatchMode mode)
Creates a text search filter. |
|
| Method Summary | |
|---|---|
SearchFilter |
clone()
|
boolean |
equals(Object obj)
|
String |
getKey()
The Endeca search key. |
MatchMode |
getMatchMode()
The Endeca match mode. |
String |
getTerms()
Text to search for. |
int |
hashCode()
|
void |
setKey(String key)
|
void |
setMatchMode(MatchMode mode)
|
void |
setTerms(String terms)
|
String |
toString()
For debugging. |
| Methods inherited from class com.endeca.infront.navigation.model.Filter |
|---|
verifyNotNull |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SearchFilter()
setKey(java.lang.String),
setTerms(java.lang.String)
public SearchFilter(String key,
String terms)
MatchMode.ALL.
key - the Endeca searchKey, cannot be null.terms - the text to search for, cannot be null.
public SearchFilter(String key,
String terms,
MatchMode mode)
key - the Endeca searchKey, cannot be null.terms - the text to search for, cannot be null.mode - the Endeca match mode, may be null, which is equivalent to MatchMode.ALL.| Method Detail |
|---|
public String getTerms()
public String getKey()
public MatchMode getMatchMode()
public void setKey(String key)
key - the Endeca search key. Cannot be null.getKey()public void setTerms(String terms)
terms - the terms to search for. Cannot be null.getTerms()public void setMatchMode(MatchMode mode)
mode - may be null, which is equivalent to MatchMode.ALL.getMatchMode()public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic SearchFilter clone()
clone in class Filter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||