public abstract class AbstractCsSolrSearchQueryBuilder<SC extends CsFacetSearchCommand> extends Object implements CsSolrSearchQueryBuilder<SC>
| Constructor and Description |
|---|
AbstractCsSolrSearchQueryBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
cleanupLuceneSearchText(String text) |
protected CsSort |
findDefaultSortOption() |
protected CsSort |
findSortOptionByCode(String code) |
List<CsSort> |
getAvailableSorts()
Get the available sort options.
|
protected String |
getDefaultSort() |
protected FacetSearchConfigService |
getFacetSearchConfigService() |
protected TypeService |
getTypeService() |
protected static void |
replaceChars(char[] buf,
char[] oldChars,
char newChar) |
protected static String |
replaceChars(String text,
char[] oldChars,
char newChar) |
void |
setAvailableSorts(List<CsSort> availableSorts) |
void |
setDefaultSort(String defaultSort) |
void |
setFacetSearchConfigService(FacetSearchConfigService facetSearchConfigService) |
void |
setTypeService(TypeService typeService) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittranslateQueryprotected TypeService getTypeService()
public void setTypeService(TypeService typeService)
protected FacetSearchConfigService getFacetSearchConfigService()
public void setFacetSearchConfigService(FacetSearchConfigService facetSearchConfigService)
protected String getDefaultSort()
public void setDefaultSort(String defaultSort)
public List<CsSort> getAvailableSorts()
CsSearchQueryBuildergetAvailableSorts in interface CsSearchQueryBuilder<SC extends CsFacetSearchCommand,SearchQuery>protected CsSort findDefaultSortOption()
protected static void replaceChars(char[] buf,
char[] oldChars,
char newChar)
Copyright © 2017 SAP SE. All Rights Reserved.