Package org.ametys.web.frontoffice
Class AbstractSearchGenerator.AttributeFacetField
java.lang.Object
org.ametys.web.frontoffice.AbstractSearchGenerator.AttributeFacetField
- All Implemented Interfaces:
AbstractSearchGenerator.FacetField
- Enclosing class:
- AbstractSearchGenerator
protected class AbstractSearchGenerator.AttributeFacetField
extends Object
implements AbstractSearchGenerator.FacetField
Facet field for an attribute
-
Constructor Summary
ConstructorsConstructorDescriptionAttributeFacetField(SearchField field, ModelItem modelItem, org.slf4j.Logger logger) Constructor -
Method Summary
Modifier and TypeMethodDescriptiongetFacetLabel(String value, Locale currentLocale) Get the label for a facet valuegetLabel()Get the label of the facetGet the search field for this facet
-
Constructor Details
-
AttributeFacetField
Constructor- Parameters:
field- The search fieldmodelItem- The model itemlogger- The logger
-
-
Method Details
-
getSearchField
Description copied from interface:AbstractSearchGenerator.FacetFieldGet the search field for this facet- Specified by:
getSearchFieldin interfaceAbstractSearchGenerator.FacetField- Returns:
- the search field
-
getLabel
Description copied from interface:AbstractSearchGenerator.FacetFieldGet the label of the facet- Specified by:
getLabelin interfaceAbstractSearchGenerator.FacetField- Returns:
- the label
-
getFacetLabel
Description copied from interface:AbstractSearchGenerator.FacetFieldGet the label for a facet value- Specified by:
getFacetLabelin interfaceAbstractSearchGenerator.FacetField- Parameters:
value- the valuecurrentLocale- the current locale- Returns:
- the label for this value
-