Class BackofficeSearchservicesFacetSearchConfigService
java.lang.Object
com.hybris.backoffice.search.services.impl.AbstractBackofficeFacetSearchConfigService<Object,Object,SnIndexTypeModel,Object>
com.hybris.backoffice.searchservices.services.impl.BackofficeSearchservicesFacetSearchConfigService
- All Implemented Interfaces:
BackofficeFacetSearchConfigService<Object,Object, SnIndexTypeModel, Object>
public class BackofficeSearchservicesFacetSearchConfigService
extends AbstractBackofficeFacetSearchConfigService<Object,Object,SnIndexTypeModel,Object>
Class BackofficeSearchservicesFacetSearchConfigService
-
Field Summary
Fields inherited from class com.hybris.backoffice.search.services.impl.AbstractBackofficeFacetSearchConfigService
backofficeFacetSearchConfigCache, facetSearchConfigDAO, typeService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SnIndexConfigurationModelfindFacetSearchConfigModelInternal(String typeCode) findSearchConfigForTypeCode(String typeCode) Find BackofficeIndexedTypeToSearchservicesIndexConfig for given item type codefindSearchConfigForTypeCodeAndIndexTypeId(String typeCode, String indexTypeId) Find BackofficeIndexedTypeToSearchservicesIndexConfig for given item type code and given index type IDgetFacetSearchConfig(String typeCode) This method is to get FacetSearchConfiggetIndexedType(Object config, String typeCode) This method is to get IndexedTypegetIndexedTypeModel(String typeCode) This method is to get IndexedTypeModelbooleanisValidSearchConfiguredForName(String facetSearchConfigName) This method is to check if search config is valid for config namebooleanisValidSearchConfiguredForType(String typeCode) This method is to check if search config is valid for current typeMethods inherited from class com.hybris.backoffice.search.services.impl.AbstractBackofficeFacetSearchConfigService
getFacetSearchConfigModel, getWithSuperTypeCodes, setBackofficeFacetSearchConfigCache, setFacetSearchConfigDAO, setTypeService
-
Constructor Details
-
BackofficeSearchservicesFacetSearchConfigService
public BackofficeSearchservicesFacetSearchConfigService()
-
-
Method Details
-
getFacetSearchConfig
Description copied from interface:BackofficeFacetSearchConfigServiceThis method is to get FacetSearchConfig- Parameters:
typeCode- item type code- Returns:
- FacetSearchConfig
-
getAllMappedFacetSearchConfigs
-
getAllMappedTypes
-
getIndexedTypeModel
Description copied from interface:BackofficeFacetSearchConfigServiceThis method is to get IndexedTypeModel- Parameters:
typeCode- item type code- Returns:
- IndexedTypeModel
-
getIndexedType
Description copied from interface:BackofficeFacetSearchConfigServiceThis method is to get IndexedType- Parameters:
config- FacetSearchConfigtypeCode- item type code- Returns:
- IndexedType
-
isValidSearchConfiguredForType
Description copied from interface:BackofficeFacetSearchConfigServiceThis method is to check if search config is valid for current type- Parameters:
typeCode- item type code- Returns:
- validation result
-
isValidSearchConfiguredForName
Description copied from interface:BackofficeFacetSearchConfigServiceThis method is to check if search config is valid for config name- Parameters:
facetSearchConfigName- facet search config name- Returns:
- validation result
-
findFacetSearchConfigModelInternal
- Specified by:
findFacetSearchConfigModelInternalin classAbstractBackofficeFacetSearchConfigService<Object,Object, SnIndexTypeModel, Object>
-
findSearchConfigForTypeCodeAndIndexTypeId
public Optional<BackofficeIndexedTypeToSearchservicesIndexConfigModel> findSearchConfigForTypeCodeAndIndexTypeId(String typeCode, String indexTypeId) Find BackofficeIndexedTypeToSearchservicesIndexConfig for given item type code and given index type ID- Parameters:
typeCode- item type codeindexTypeId- index type ID- Returns:
BackofficeIndexedTypeToSearchservicesIndexConfigfor given type code
-
findSearchConfigForTypeCode
public BackofficeIndexedTypeToSearchservicesIndexConfigModel findSearchConfigForTypeCode(String typeCode) Find BackofficeIndexedTypeToSearchservicesIndexConfig for given item type code- Parameters:
typeCode- item type code- Returns:
BackofficeIndexedTypeToSearchservicesIndexConfigfor given type code
-