public class CmsSearchConfigurationSortOption extends java.lang.Object implements I_CmsSearchConfigurationSortOption
| Constructor and Description |
|---|
CmsSearchConfigurationSortOption(java.lang.String label,
java.lang.String paramValue,
java.lang.String solrValue)
Constructor setting all options.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLabel()
Returns the label that can be used to display the sort option in the form.
|
java.lang.String |
getParamValue()
Returns the request parameter's value that has to be send to choose that sort option.
|
java.lang.String |
getSolrValue()
Returns the sort value as send to Solr.
|
public CmsSearchConfigurationSortOption(java.lang.String label, java.lang.String paramValue, java.lang.String solrValue)
label - The label shown when the sort option is displayed.paramValue - The value send in the request that identifies the option.solrValue - The sort option as given to Solr.public java.lang.String getLabel()
I_CmsSearchConfigurationSortOptiongetLabel in interface I_CmsSearchConfigurationSortOptionI_CmsSearchConfigurationSortOption.getLabel()public java.lang.String getParamValue()
I_CmsSearchConfigurationSortOptiongetParamValue in interface I_CmsSearchConfigurationSortOptionI_CmsSearchConfigurationSortOption.getParamValue()public java.lang.String getSolrValue()
I_CmsSearchConfigurationSortOptiongetSolrValue in interface I_CmsSearchConfigurationSortOptionI_CmsSearchConfigurationSortOption.getSolrValue()