Class DefaultAsFacetUtils
java.lang.Object
de.hybris.platform.adaptivesearchbackoffice.common.impl.DefaultAsFacetUtils
- All Implemented Interfaces:
AsFacetUtils
Default implementation of
AsFacetUtils.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisOpen(AsFacetData facet) Checks whether a facet should be open or not.protected voidlocalizeFacet(AbstractFacetConfigurationEditorData facet, Optional<AsIndexPropertyData> indexProperty) voidlocalizeFacets(NavigationContextData navigationContext, SearchContextData searchContext, List<? extends AbstractFacetConfigurationEditorData> facets) Updates the facet labels according to the language of the search context.voidsetAsSearchProviderFactory(AsSearchProviderFactory asSearchProviderFactory) voidsetCommonI18NService(CommonI18NService commonI18NService) voidsetSessionService(SessionService sessionService)
-
Constructor Details
-
DefaultAsFacetUtils
public DefaultAsFacetUtils()
-
-
Method Details
-
isOpen
Description copied from interface:AsFacetUtilsChecks whether a facet should be open or not.- Specified by:
isOpenin interfaceAsFacetUtils- Parameters:
facet- - the facet- Returns:
trueis the facet should be open,falseotherwise
-
localizeFacet
protected void localizeFacet(AbstractFacetConfigurationEditorData facet, Optional<AsIndexPropertyData> indexProperty) -
getSessionService
-
setSessionService
-
getCommonI18NService
-
setCommonI18NService
-
getAsSearchProviderFactory
-
setAsSearchProviderFactory
-