|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.app.SuggestedSearchOptions
public class SuggestedSearchOptions
Used to configure the suggested search API call
| Constructor Summary | |
|---|---|
SuggestedSearchOptions()
Constructor |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SuggestedSearchOptions()
| Method Detail |
|---|
public int getLimit()
SuggestedSearchOptionsIf
getLimit in interface SuggestedSearchOptionsIfpublic void setLimit(int limit)
SuggestedSearchOptionsIf
setLimit in interface SuggestedSearchOptionsIflimit - the limit to setpublic java.lang.String getStartTag()
SuggestedSearchOptionsIf
getStartTag in interface SuggestedSearchOptionsIfpublic void setStartTag(java.lang.String startTag)
SuggestedSearchOptionsIf
setStartTag in interface SuggestedSearchOptionsIfstartTag - the startTag to setpublic java.lang.String getEndTag()
SuggestedSearchOptionsIf
getEndTag in interface SuggestedSearchOptionsIfpublic void setEndTag(java.lang.String endTag)
SuggestedSearchOptionsIf
setEndTag in interface SuggestedSearchOptionsIfendTag - the endTag to setpublic int getLanguageId()
SuggestedSearchOptionsIf
getLanguageId in interface SuggestedSearchOptionsIfpublic void setLanguageId(int languageId)
SuggestedSearchOptionsIf
setLanguageId in interface SuggestedSearchOptionsIflanguageId - the languageId to setpublic java.lang.String getLanguageCode()
SuggestedSearchOptionsIf
getLanguageCode in interface SuggestedSearchOptionsIfpublic void setLanguageCode(java.lang.String languageCode)
SuggestedSearchOptionsIf
setLanguageCode in interface SuggestedSearchOptionsIflanguageCode - the languageCode to setpublic java.lang.String getSearchText()
SuggestedSearchOptionsIf
getSearchText in interface SuggestedSearchOptionsIfpublic void setSearchText(java.lang.String searchText)
SuggestedSearchOptionsIf
setSearchText in interface SuggestedSearchOptionsIfsearchText - the searchText to setpublic boolean isReturnRichText()
SuggestedSearchOptionsIf
isReturnRichText in interface SuggestedSearchOptionsIfpublic void setReturnRichText(boolean returnRichText)
SuggestedSearchOptionsIf
setReturnRichText in interface SuggestedSearchOptionsIfreturnRichText - the returnRichText to setpublic boolean isReturnRawText()
SuggestedSearchOptionsIf
isReturnRawText in interface SuggestedSearchOptionsIfpublic void setReturnRawText(boolean returnRawText)
SuggestedSearchOptionsIf
setReturnRawText in interface SuggestedSearchOptionsIfreturnRawText - the returnRawText to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||