public class CmsSearchConfigurationDidYouMean extends java.lang.Object implements I_CmsSearchConfigurationDidYouMean
| Constructor and Description |
|---|
CmsSearchConfigurationDidYouMean(java.lang.String param,
java.lang.Boolean collate,
java.lang.Integer count)
Constructor setting all the state.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getCollate()
Returns a flag, indicating if collation is turned on or off.
|
int |
getCount()
Returns the maximal number of suggestions.
|
java.lang.String |
getQueryParam()
Returns the parameter name of the request parameter used to send the current query string for spellchecking.
|
public CmsSearchConfigurationDidYouMean(java.lang.String param, java.lang.Boolean collate, java.lang.Integer count)
param - The request parameter used to send the spellcheck query.collate - Flag, indicating if the results should be collated.count - The maximal number of suggestions.public boolean getCollate()
I_CmsSearchConfigurationDidYouMeangetCollate in interface I_CmsSearchConfigurationDidYouMeanI_CmsSearchConfigurationDidYouMean.getCollate()public int getCount()
I_CmsSearchConfigurationDidYouMeangetCount in interface I_CmsSearchConfigurationDidYouMeanI_CmsSearchConfigurationDidYouMean.getCount()public java.lang.String getQueryParam()
I_CmsSearchConfigurationDidYouMeangetQueryParam in interface I_CmsSearchConfigurationDidYouMeanI_CmsSearchConfigurationDidYouMean.getQueryParam()