|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SuggestedSearchOptionsIf
Used to configure the suggested search API call
| Method Summary | |
|---|---|
java.lang.String |
getEndTag()
HTML end tag for search string. |
java.lang.String |
getLanguageCode()
If the language code is set to a valid value, this is used rather than the languageId which improves performance since the language doesn't have to be looked up. |
int |
getLanguageId()
Id of the language object to be used. |
int |
getLimit()
Maximum number of results to return. |
java.lang.String |
getSearchText()
Search Text |
java.lang.String |
getStartTag()
HTML start tag for search string. |
boolean |
isReturnRawText()
When set to true, the raw text attribute of the suggested search item contains a value, otherwise it is null. |
boolean |
isReturnRichText()
When set to true, the results are returned with formatting to highlight the search string within the results. |
void |
setEndTag(java.lang.String endTag)
HTML end tag for search string. |
void |
setLanguageCode(java.lang.String languageCode)
If the language code is set to a valid value, this is used rather than the languageId which improves performance since the language doesn't have to be looked up. |
void |
setLanguageId(int languageId)
Id of the language object to be used. |
void |
setLimit(int limit)
Maximum number of results to return. |
void |
setReturnRawText(boolean returnRawText)
When set to true, the raw text attribute of the suggested search item contains a value, otherwise it is null. |
void |
setReturnRichText(boolean returnRichText)
When set to true, the results are returned with formatting to highlight the search string within the results. |
void |
setSearchText(java.lang.String searchText)
Search Text |
void |
setStartTag(java.lang.String startTag)
HTML start tag for search string. |
| Method Detail |
|---|
int getLimit()
void setLimit(int limit)
limit - the limit to setjava.lang.String getSearchText()
void setSearchText(java.lang.String searchText)
searchText - the searchText to setboolean isReturnRichText()
void setReturnRichText(boolean returnRichText)
returnRichText - the returnRichText to setboolean isReturnRawText()
void setReturnRawText(boolean returnRawText)
returnRawText - the returnRawText to setjava.lang.String getStartTag()
void setStartTag(java.lang.String startTag)
startTag - the startTag to setjava.lang.String getEndTag()
void setEndTag(java.lang.String endTag)
endTag - the endTag to setjava.lang.String getLanguageCode()
void setLanguageCode(java.lang.String languageCode)
languageCode - the languageCode to setint getLanguageId()
void setLanguageId(int languageId)
languageId - the languageId to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||