Class DateBucketsDisplayHandler
- java.lang.Object
-
- org.alfresco.repo.search.impl.solr.facet.handler.AbstractFacetLabelDisplayHandler
-
- org.alfresco.repo.search.impl.solr.facet.handler.DateBucketsDisplayHandler
-
- All Implemented Interfaces:
FacetQueryProvider,FacetLabelDisplayHandler
public class DateBucketsDisplayHandler extends AbstractFacetLabelDisplayHandler implements FacetQueryProvider
A simple handler to get the appropriate display label for the date buckets.- Since:
- 5.0
- Author:
- Jamal Kaabi-Mofrad
-
-
Field Summary
-
Fields inherited from class org.alfresco.repo.search.impl.solr.facet.handler.AbstractFacetLabelDisplayHandler
serviceRegistry, supportedFieldFacets
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FacetLabelgetDisplayLabel(String value)Gets the user friendly display label for the returned facet valueMap<String,List<String>>getFacetQueries()Gets the created facet queries-
Methods inherited from class org.alfresco.repo.search.impl.solr.facet.handler.AbstractFacetLabelDisplayHandler
init, register, setRegistry, setServiceRegistry, setSupportedFieldFacets
-
-
-
-
Method Detail
-
getDisplayLabel
public FacetLabel getDisplayLabel(String value)
Description copied from interface:FacetLabelDisplayHandlerGets the user friendly display label for the returned facet value- Specified by:
getDisplayLabelin interfaceFacetLabelDisplayHandler- Parameters:
value- the facet value- Returns:
- user friendly display label or the original value, if there is no result
-
getFacetQueries
public Map<String,List<String>> getFacetQueries()
Description copied from interface:FacetQueryProviderGets the created facet queries- Specified by:
getFacetQueriesin interfaceFacetQueryProvider- Returns:
- read-only map of facet queries or an empty map.
-
-