Interface BackofficeFacetSearchConfigService

    • Method Detail

      • getAllMappedFacetSearchConfigs

        java.util.Collection<FacetSearchConfig> getAllMappedFacetSearchConfigs()
        Finds all configs configured to be used in backoffice.
        Returns:
        collection of configs or an empty collection if there is none
      • getSolrIndexedType

        SolrIndexedTypeModel getSolrIndexedType​(java.lang.String typeCode)
        Finds indexed type for given type code or one of its superTypes.
        Parameters:
        typeCode - type code.
        Returns:
        index config for given type code.
      • getIndexedType

        IndexedType getIndexedType​(FacetSearchConfig config,
                                   java.lang.String typeCode)
        Gets converted index config from given config for given type code or one of its superTypes
        Parameters:
        config - config which includes indexed types.
        typeCode - type code.
        Returns:
        converted index for given type code
      • isSolrSearchConfiguredForType

        boolean isSolrSearchConfiguredForType​(java.lang.String typeCode)
        Tells whether there is existing solr config for given type or one of it's superTypes.
        Parameters:
        typeCode - type code.
        Returns:
        true if there is solr config for given type code.
      • isBackofficeSolrSearchConfiguredForName

        boolean isBackofficeSolrSearchConfiguredForName​(java.lang.String facetSearchConfigName)
        Tells whether there is existing backoffice solr config for given name.
        Parameters:
        facetSearchConfigName - name of the solr configuration
        Returns:
        true if there is solr config for given name.