Class SolrFacetConfig.ConfigHelper

  • Enclosing class:
    SolrFacetConfig

    public static class SolrFacetConfig.ConfigHelper
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigHelper()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Map<java.lang.String,​SolrFacetProperties> getFacetPropertiesMap​(java.util.Properties properties, java.util.Set<java.lang.String> inheritanceOrder, org.alfresco.service.namespace.NamespaceService namespaceService)
      Convert Java properties into instances of SolrFacetProperties .
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConfigHelper

        public ConfigHelper()
    • Method Detail

      • getFacetPropertiesMap

        public static java.util.Map<java.lang.String,​SolrFacetProperties> getFacetPropertiesMap​(java.util.Properties properties,
                                                                                                      java.util.Set<java.lang.String> inheritanceOrder,
                                                                                                      org.alfresco.service.namespace.NamespaceService namespaceService)
        Convert Java properties into instances of SolrFacetProperties .
        Parameters:
        properties - Java properties with values defining defaults or custom values
        inheritanceOrder - the overriding order. E.g {default, custom} means, the custom will override the default values
        namespaceService - the Namespace service
        Returns:
        Map of SolrFacetProperties with the SolrFacetProperties.filterID as the key or an empty map if none exists