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 java.lang.Object implements BackofficeFacetSearchConfigServiceDeprecated, for removal: This API element is subject to removal in a future version.(Be replaced)
-
-
Constructor Summary
Constructors Constructor Description DefaultBackofficeFacetSearchConfigService()Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected SolrIndexedTypeModelfindIndexedTypeInConfig(BackofficeIndexedTypeToSolrFacetSearchConfigModel searchConfig)Deprecated, for removal: This API element is subject to removal in a future version.protected BackofficeIndexedTypeToSolrFacetSearchConfigModelfindMatchingConfig(ComposedTypeModel composedType, java.util.Collection<BackofficeIndexedTypeToSolrFacetSearchConfigModel> configs)Deprecated, for removal: This API element is subject to removal in a future version.protected BackofficeIndexedTypeToSolrFacetSearchConfigModelfindMatchingConfigRecursively(ComposedTypeModel composedType, java.util.Map<java.lang.String,BackofficeIndexedTypeToSolrFacetSearchConfigModel> configMap)Deprecated, for removal: This API element is subject to removal in a future version.protected IndexedTypefindMatchingIndexedTypeRecursively(ComposedTypeModel composedType, java.util.Map<java.lang.String,IndexedType> typesMap)Deprecated, for removal: This API element is subject to removal in a future version.protected BackofficeIndexedTypeToSolrFacetSearchConfigModelfindSearchConfigForTypeCode(java.lang.String typeCode)Deprecated, for removal: This API element is subject to removal in a future version.protected SolrFacetSearchConfigModelfindSolrFacetSearchConfigModelInternal(java.lang.String typeCode)Deprecated, for removal: This API element is subject to removal in a future version.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.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.FacetSearchConfiggetFacetSearchConfig(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.protected FacetSearchConfiggetFacetSearchConfigFromMapping(BackofficeIndexedTypeToSolrFacetSearchConfigModel mapping)Deprecated, for removal: This API element is subject to removal in a future version.IndexedTypegetIndexedType(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 superTypesSolrFacetSearchConfigModelgetSolrFacetSearchConfigModel(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.SolrIndexedTypeModelgetSolrIndexedType(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.protected java.util.List<ComposedTypeModel>getWithSuperTypeCodes(ComposedTypeModel composedType)Deprecated, for removal: This API element is subject to removal in a future version.booleanisBackofficeSolrSearchConfiguredForName(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.booleanisSolrSearchConfiguredForType(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.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.
-
-
-
Method Detail
-
getFacetSearchConfig
public FacetSearchConfig getFacetSearchConfig(java.lang.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:
getFacetSearchConfigin interfaceBackofficeFacetSearchConfigService- Parameters:
typeCode- type code.- Returns:
- config for given type code.
- Throws:
FacetConfigServiceException- when configuration cannot be load
-
getAllMappedFacetSearchConfigs
public java.util.Collection<FacetSearchConfig> 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
public java.util.Collection<ComposedTypeModel> 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(java.lang.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
public SolrIndexedTypeModel getSolrIndexedType(java.lang.String typeCode)
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
public IndexedType getIndexedType(FacetSearchConfig config, java.lang.String typeCode)
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
public boolean isSolrSearchConfiguredForType(java.lang.String typeCode)
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
public boolean isBackofficeSolrSearchConfiguredForName(java.lang.String facetSearchConfigName)
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, java.util.Map<java.lang.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(java.lang.String typeCode)
Deprecated, for removal: This API element is subject to removal in a future version.
-
findMatchingConfig
protected BackofficeIndexedTypeToSolrFacetSearchConfigModel findMatchingConfig(ComposedTypeModel composedType, java.util.Collection<BackofficeIndexedTypeToSolrFacetSearchConfigModel> configs)
Deprecated, for removal: This API element is subject to removal in a future version.
-
findMatchingConfigRecursively
protected BackofficeIndexedTypeToSolrFacetSearchConfigModel findMatchingConfigRecursively(ComposedTypeModel composedType, java.util.Map<java.lang.String,BackofficeIndexedTypeToSolrFacetSearchConfigModel> configMap)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getWithSuperTypeCodes
protected java.util.List<ComposedTypeModel> getWithSuperTypeCodes(ComposedTypeModel composedType)
Deprecated, for removal: This API element is subject to removal in a future version.
-
findSolrFacetSearchConfigModelInternal
protected SolrFacetSearchConfigModel findSolrFacetSearchConfigModelInternal(java.lang.String typeCode)
Deprecated, for removal: This API element is subject to removal in a future version.
-
setSolrFacetSearchConfigDAO
public void setSolrFacetSearchConfigDAO(SolrFacetSearchConfigDAO solrFacetSearchConfigDAO)
Deprecated, for removal: This API element is subject to removal in a future version.
-
setFacetSearchConfigService
public void setFacetSearchConfigService(FacetSearchConfigService facetSearchConfigService)
Deprecated, for removal: This API element is subject to removal in a future version.
-
setTypeService
public void setTypeService(TypeService typeService)
Deprecated, for removal: This API element is subject to removal in a future version.
-
setConfigCache
public void setConfigCache(BackofficeFacetSearchConfigCache configCache)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-