public class SelectedCategoryHierarchyIndexedTypeSortEvaluator extends Object implements IndexedTypeSortEvaluator
IndexedTypeSortEvaluator that filter IndexedTypeSort from SolrSearchRequest when
category from SelectedCategoryHierarchySolrSortConditionModel is equal to selected category.
NavigationalStateService is used to determine selected category.}| Constructor and Description |
|---|
SelectedCategoryHierarchyIndexedTypeSortEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluateFilter(SolrSearchRequest searchRequest,
IndexedTypeSort sortToEvaluate,
AbstractSolrSortConditionModel condition)
Evaluates if a sort option should be filtered or not.
|
NavigationalStateService |
getNavigationalStateService() |
void |
setNavigationalStateService(NavigationalStateService navigationalStateService) |
public SelectedCategoryHierarchyIndexedTypeSortEvaluator()
public boolean evaluateFilter(SolrSearchRequest searchRequest, IndexedTypeSort sortToEvaluate, AbstractSolrSortConditionModel condition)
IndexedTypeSortEvaluatorevaluateFilter in interface IndexedTypeSortEvaluatorpublic NavigationalStateService getNavigationalStateService()
public void setNavigationalStateService(NavigationalStateService navigationalStateService)
Copyright © 2017 SAP SE. All Rights Reserved.