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 Details

    • getFacetSearchConfig

      FacetSearchConfig getFacetSearchConfig(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

      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 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(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(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, 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(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(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.