Interface FacetDisplayNameProvider
-
- All Known Implementing Classes:
AbstractFacetValueDisplayNameProvider
,CategoryFacetDisplayNameProvider
,CategoryWithCatalogVersionFacetDisplayNameProvider
,ColorFacetDisplayNameProvider
,CommerceCategoryFacetDisplayNameProvider
,CustomerCouponFacetDisplayNameProvider
,GenderFacetDisplayNameProvider
,PointOfServiceFacetDisplayNameProvider
,PointOfServiceFacetDisplayNameProvider
,ProductVendorFacetDisplayNameProvider
,PromotionFacetDisplayNameProvider
@Deprecated(since="5.5") public interface FacetDisplayNameProvider
Deprecated.Since 5.5, useFacetValueDisplayNameProvider
instead.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 anIndexedProperty
and is then used to resolve a display name for a specific facet value.
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.log4j.Logger
LOG
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getDisplayName(SearchQuery query, java.lang.String name)
Deprecated.Get the display name for a facet value.
-
-
-
Method Detail
-
getDisplayName
java.lang.String getDisplayName(SearchQuery query, java.lang.String name)
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.
-
-