Class DefaultBackofficeFacetSearchConfigService
java.lang.Object
com.hybris.backoffice.solrsearch.services.impl.DefaultBackofficeFacetSearchConfigService
- All Implemented Interfaces:
BackofficeFacetSearchConfigService
@Deprecated(since="2105",
forRemoval=true)
public class DefaultBackofficeFacetSearchConfigService
extends Object
implements BackofficeFacetSearchConfigService
Deprecated, for removal: This API element is subject to removal in a future version.
(Be replaced)
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected SolrIndexedTypeModelDeprecated, for removal: This API element is subject to removal in a future version.findMatchingConfig(ComposedTypeModel composedType, Collection<BackofficeIndexedTypeToSolrFacetSearchConfigModel> configs) Deprecated, for removal: This API element is subject to removal in a future version.findMatchingConfigRecursively(ComposedTypeModel composedType, Map<String, BackofficeIndexedTypeToSolrFacetSearchConfigModel> configMap) Deprecated, for removal: This API element is subject to removal in a future version.protected IndexedTypefindMatchingIndexedTypeRecursively(ComposedTypeModel composedType, Map<String, IndexedType> typesMap) Deprecated, for removal: This API element is subject to removal in a future version.findSearchConfigForTypeCode(String typeCode) Deprecated, for removal: This API element is subject to removal in a future version.protected SolrFacetSearchConfigModelfindSolrFacetSearchConfigModelInternal(String typeCode) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Finds all configs configured to be used in backoffice.Deprecated, for removal: This API element is subject to removal in a future version.Finds all types that are used in configs in backoffice.getFacetSearchConfig(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.protected FacetSearchConfigDeprecated, for removal: This API element is subject to removal in a future version.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 superTypesgetSolrFacetSearchConfigModel(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.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.protected List<ComposedTypeModel>getWithSuperTypeCodes(ComposedTypeModel composedType) Deprecated, for removal: This API element is subject to removal in a future version.booleanisBackofficeSolrSearchConfiguredForName(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.booleanisSolrSearchConfiguredForType(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.voidsetConfigCache(BackofficeFacetSearchConfigCache configCache) Deprecated, for removal: This API element is subject to removal in a future version.voidsetFacetSearchConfigService(FacetSearchConfigService facetSearchConfigService) Deprecated, for removal: This API element is subject to removal in a future version.voidsetSolrFacetSearchConfigDAO(SolrFacetSearchConfigDAO solrFacetSearchConfigDAO) Deprecated, for removal: This API element is subject to removal in a future version.voidsetTypeService(TypeService typeService) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
DefaultBackofficeFacetSearchConfigService
public DefaultBackofficeFacetSearchConfigService()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getFacetSearchConfig
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:BackofficeFacetSearchConfigServiceFinds matching config for given type or one of its superTypes.- Specified by:
getFacetSearchConfigin interfaceBackofficeFacetSearchConfigService- Parameters:
typeCode- type code.- Returns:
- config for given type code.
- Throws:
FacetConfigServiceException- when configuration cannot be load
-
getAllMappedFacetSearchConfigs
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:BackofficeFacetSearchConfigServiceFinds all configs configured to be used in backoffice.- Specified by:
getAllMappedFacetSearchConfigsin interfaceBackofficeFacetSearchConfigService- Returns:
- collection of configs or an empty collection if there is none
-
getAllMappedTypes
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:BackofficeFacetSearchConfigServiceFinds all types that are used in configs in backoffice.- Specified by:
getAllMappedTypesin interfaceBackofficeFacetSearchConfigService- Returns:
- collection of composed types or an empty collection if there is no config
-
getFacetSearchConfigFromMapping
protected FacetSearchConfig getFacetSearchConfigFromMapping(BackofficeIndexedTypeToSolrFacetSearchConfigModel mapping) Deprecated, for removal: This API element is subject to removal in a future version. -
getSolrFacetSearchConfigModel
public SolrFacetSearchConfigModel getSolrFacetSearchConfigModel(String typeCode) throws FacetConfigServiceException Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:BackofficeFacetSearchConfigServiceFinds matching config for given type or one of its superTypes.- Specified by:
getSolrFacetSearchConfigModelin interfaceBackofficeFacetSearchConfigService- Parameters:
typeCode- type code.- Returns:
- config for given type code.
- Throws:
FacetConfigServiceException- when configuration cannot be load
-
getSolrIndexedType
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:BackofficeFacetSearchConfigServiceFinds indexed type for given type code or one of its superTypes.- Specified by:
getSolrIndexedTypein interfaceBackofficeFacetSearchConfigService- Parameters:
typeCode- type code.- Returns:
- index config for given type code.
-
getIndexedType
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:BackofficeFacetSearchConfigServiceGets converted index config from given config for given type code or one of its superTypes- Specified by:
getIndexedTypein interfaceBackofficeFacetSearchConfigService- Parameters:
config- config which includes indexed types.typeCode- type code.- Returns:
- converted index for given type code
-
isSolrSearchConfiguredForType
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:BackofficeFacetSearchConfigServiceTells whether there is existing solr config for given type or one of it's superTypes.- Specified by:
isSolrSearchConfiguredForTypein interfaceBackofficeFacetSearchConfigService- Parameters:
typeCode- type code.- Returns:
- true if there is solr config for given type code.
-
isBackofficeSolrSearchConfiguredForName
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:BackofficeFacetSearchConfigServiceTells whether there is existing backoffice solr config for given name.- Specified by:
isBackofficeSolrSearchConfiguredForNamein interfaceBackofficeFacetSearchConfigService- Parameters:
facetSearchConfigName- name of the solr configuration- Returns:
- true if there is solr config for given name.
-
findMatchingIndexedTypeRecursively
protected IndexedType findMatchingIndexedTypeRecursively(ComposedTypeModel composedType, Map<String, IndexedType> typesMap) Deprecated, for removal: This API element is subject to removal in a future version. -
findIndexedTypeInConfig
protected SolrIndexedTypeModel findIndexedTypeInConfig(BackofficeIndexedTypeToSolrFacetSearchConfigModel searchConfig) Deprecated, for removal: This API element is subject to removal in a future version. -
findSearchConfigForTypeCode
protected BackofficeIndexedTypeToSolrFacetSearchConfigModel findSearchConfigForTypeCode(String typeCode) Deprecated, for removal: This API element is subject to removal in a future version. -
findMatchingConfig
protected BackofficeIndexedTypeToSolrFacetSearchConfigModel findMatchingConfig(ComposedTypeModel composedType, Collection<BackofficeIndexedTypeToSolrFacetSearchConfigModel> configs) Deprecated, for removal: This API element is subject to removal in a future version. -
findMatchingConfigRecursively
protected BackofficeIndexedTypeToSolrFacetSearchConfigModel findMatchingConfigRecursively(ComposedTypeModel composedType, Map<String, BackofficeIndexedTypeToSolrFacetSearchConfigModel> configMap) Deprecated, for removal: This API element is subject to removal in a future version. -
getWithSuperTypeCodes
Deprecated, for removal: This API element is subject to removal in a future version. -
findSolrFacetSearchConfigModelInternal
Deprecated, for removal: This API element is subject to removal in a future version. -
setSolrFacetSearchConfigDAO
Deprecated, for removal: This API element is subject to removal in a future version. -
setFacetSearchConfigService
Deprecated, for removal: This API element is subject to removal in a future version. -
setTypeService
Deprecated, for removal: This API element is subject to removal in a future version. -
setConfigCache
Deprecated, for removal: This API element is subject to removal in a future version.
-