Interface AsFacetUtils

  • All Known Implementing Classes:
    DefaultAsFacetUtils

    public interface AsFacetUtils
    Contains helper methods for facet editors.
    • Method Detail

      • isOpen

        boolean isOpen​(AsFacetData facet)
        Checks wether a facet should be open or not.
        Parameters:
        facet - - the facet
        Returns:
        true is the facet should be open, false otherwise
      • 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 context
        searchContext - - the search context
        facets - - the facets