Class SiteTitleDisplayHandler

java.lang.Object
org.alfresco.repo.search.impl.solr.facet.handler.AbstractFacetLabelDisplayHandler
org.alfresco.repo.search.impl.solr.facet.handler.SiteTitleDisplayHandler
All Implemented Interfaces:
FacetLabelDisplayHandler

public class SiteTitleDisplayHandler extends AbstractFacetLabelDisplayHandler
A simple handler to get the site title from the site short name.
Since:
5.0
Author:
Jamal Kaabi-Mofrad
  • Constructor Details

    • SiteTitleDisplayHandler

      public SiteTitleDisplayHandler(Set<String> supportedFieldFacets)
    • SiteTitleDisplayHandler

      public SiteTitleDisplayHandler(Set<String> supportedFieldFacets, Map<String,String> nonSiteLocationsLabels)
  • Method Details

    • getDisplayLabel

      public FacetLabel getDisplayLabel(String value)
      Description copied from interface: FacetLabelDisplayHandler
      Gets the user friendly display label for the returned facet value
      Parameters:
      value - the facet value
      Returns:
      user friendly display label or the original value, if there is no result