Interface FacetDisplayNameProvider
- All Known Implementing Classes:
AbstractFacetValueDisplayNameProvider,CategoryFacetDisplayNameProvider,CategoryWithCatalogVersionFacetDisplayNameProvider,ColorFacetDisplayNameProvider,CommerceCategoryFacetDisplayNameProvider,CustomerCouponFacetDisplayNameProvider,GenderFacetDisplayNameProvider,PointOfServiceFacetDisplayNameProvider,PointOfServiceFacetDisplayNameProvider,ProductVendorFacetDisplayNameProvider,PromotionFacetDisplayNameProvider
Deprecated.
Interface used to lookup a display name for a specific facet value.
Facet values retrieved from Solr are simple strings which cannot encode localised display values, therefore this
interface can be used to provide additional displayable data for the facet value.
A spring bean that implements this interface can be associated with an
IndexedProperty and is then used to resolve a display name for a
specific facet value.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetDisplayName(SearchQuery query, String name) Deprecated.Get the display name for a facet value.
-
Field Details
-
LOG
static final org.apache.log4j.Logger LOGDeprecated.
-
-
Method Details
-
getDisplayName
Deprecated.Get the display name for a facet value. This method is deprecated as is does not pass the facet which contains the facet value. Implementers should implement theFacetValueDisplayNameProvider.getDisplayName(de.hybris.platform.solrfacetsearch.search.SearchQuery, de.hybris.platform.solrfacetsearch.config.IndexedProperty, String)method instead.- Parameters:
query- The search queryname- The facet value- Returns:
- The display name for the specified facet value.
-
FacetValueDisplayNameProviderinstead.