Interface SearchServiceFacetDefinition
- All Superinterfaces:
Labelable
- All Known Implementing Classes:
CommonPseudoContentTypeFacetDefinition,ContentFacetDefinition,PageContentFacetDefinition
A potential facet proposed to the creator of an instance of search service.
-
Method Summary
Modifier and TypeMethodDescriptiondefault I18nizableTextGets the prefix label, sometimes useful (such as for displaying all criterion definitions) for grouping information.Retrieves the facet definitiongetFacetLabel(String value, Map<String, Object> contextualParameters) Gets the label of a facet valueGets the (Returnable) the facet belongs to.Methods inherited from interface org.ametys.runtime.util.Labelable
getDescription, getLabel, getName
-
Method Details
-
getFacetDefinition
Retrieves the facet definition- Returns:
- the facet definition
-
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.
-
getContextPrefixLabel
Gets the prefix label, sometimes useful (such as for displaying all criterion definitions) for grouping information.- Returns:
- The prefix label (can be null)
-