Interface FacetDefinition
- All Known Implementing Classes:
CommonPseudoContentTypeFacetDefinition
,ContentFacetDefinition
,PageContentFacetDefinition
public interface FacetDefinition
A potential facet proposed to the creator of an instance of search service.
-
Method Summary
Modifier and TypeMethodDescriptiongetFacetLabel
(String value, Map<String, Object> contextualParameters) Gets the label of a facet valuegetId()
Gets the id of the facet.getLabel()
Gets the label of the facet.Gets the (Returnable
) the facet belongs to.Gets the search field of this facet
-
Method Details
-
getId
Gets the id of the facet. It must be unique across all facet definitions- Returns:
- the unique id of the facet
-
getLabel
Gets the label of the facet.- Returns:
- the label of the facet.
-
getSearchField
Gets the search field of this facet- Returns:
- the search field of this facet
-
getFacetLabel
Gets the label of a facet value- Parameters:
value
- the facet valuecontextualParameters
- the contextual parameters- Returns:
- the label of a facet value
-
getReturnable
Gets the (Returnable
) the facet belongs to.- Returns:
- the (
Returnable
) the facet belongs to.
-