Interface BackofficeFacetSearchConfigService

  • All Known Implementing Classes:
    DefaultBackofficeFacetSearchConfigService

    @Deprecated(since="2105",
                forRemoval=true)
    public interface BackofficeFacetSearchConfigService
    Deprecated, for removal: This API element is subject to removal in a future version.
    (Be replaced)
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods 
      Modifier and Type Method Description
      java.util.Collection<FacetSearchConfig> getAllMappedFacetSearchConfigs()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Finds all configs configured to be used in backoffice.
      default java.util.Collection<ComposedTypeModel> getAllMappedTypes()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Finds all types that are used in configs in backoffice.
      FacetSearchConfig getFacetSearchConfig​(java.lang.String typeCode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Finds matching config for given type or one of its superTypes.
      IndexedType getIndexedType​(FacetSearchConfig config, java.lang.String typeCode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets converted index config from given config for given type code or one of its superTypes
      SolrFacetSearchConfigModel getSolrFacetSearchConfigModel​(java.lang.String typeCode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Finds matching config for given type or one of its superTypes.
      SolrIndexedTypeModel getSolrIndexedType​(java.lang.String typeCode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Finds indexed type for given type code or one of its superTypes.
      boolean isBackofficeSolrSearchConfiguredForName​(java.lang.String facetSearchConfigName)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Tells whether there is existing backoffice solr config for given name.
      boolean isSolrSearchConfiguredForType​(java.lang.String typeCode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Tells whether there is existing solr config for given type or one of it's superTypes.
    • Method Detail

      • getFacetSearchConfig

        FacetSearchConfig getFacetSearchConfig​(java.lang.String typeCode)
                                        throws FacetConfigServiceException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Finds matching config for given type or one of its superTypes.
        Parameters:
        typeCode - type code.
        Returns:
        config for given type code.
        Throws:
        FacetConfigServiceException - when configuration cannot be load
      • getAllMappedFacetSearchConfigs

        java.util.Collection<FacetSearchConfig> getAllMappedFacetSearchConfigs()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Finds all configs configured to be used in backoffice.
        Returns:
        collection of configs or an empty collection if there is none
      • getAllMappedTypes

        default java.util.Collection<ComposedTypeModel> getAllMappedTypes()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Finds all types that are used in configs in backoffice.
        Returns:
        collection of composed types or an empty collection if there is no config
      • getSolrFacetSearchConfigModel

        SolrFacetSearchConfigModel getSolrFacetSearchConfigModel​(java.lang.String typeCode)
                                                          throws FacetConfigServiceException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Finds matching config for given type or one of its superTypes.
        Parameters:
        typeCode - type code.
        Returns:
        config for given type code.
        Throws:
        FacetConfigServiceException - when configuration cannot be load
      • getSolrIndexedType

        SolrIndexedTypeModel getSolrIndexedType​(java.lang.String typeCode)
        Deprecated, for removal: This API element is subject to removal in a future version.
        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)
        Deprecated, for removal: This API element is subject to removal in a future version.
        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)
        Deprecated, for removal: This API element is subject to removal in a future version.
        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)
        Deprecated, for removal: This API element is subject to removal in a future version.
        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.