Interface AsFacetUtils
-
- All Known Implementing Classes:
DefaultAsFacetUtils
public interface AsFacetUtilsContains helper methods for facet editors.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisOpen(AsFacetData facet)Checks wether a facet should be open or not.voidlocalizeFacets(NavigationContextData navigationContext, SearchContextData searchContext, java.util.List<? extends AbstractFacetConfigurationEditorData> facets)Updates the facet labels according to the language of the search context.
-
-
-
Method Detail
-
isOpen
boolean isOpen(AsFacetData facet)
Checks wether a facet should be open or not.- Parameters:
facet- - the facet- Returns:
trueis the facet should be open,falseotherwise
-
localizeFacets
void localizeFacets(NavigationContextData navigationContext, SearchContextData searchContext, java.util.List<? extends AbstractFacetConfigurationEditorData> facets)
Updates the facet labels according to the language of the search context.- Parameters:
navigationContext- - the navigation contextsearchContext- - the search contextfacets- - the facets
-
-