public interface FacetSearchConfigService
| Modifier and Type | Method and Description |
|---|---|
FacetSearchConfig |
getConfiguration(CatalogVersionModel catalogVersion)
Searches for the configuration for the specified catalog version.
|
FacetSearchConfig |
getConfiguration(String name)
Returns the configuration by name
|
List<IndexedProperty> |
resolveIndexedProperties(FacetSearchConfig facetSearchConfig,
IndexedType indexedType,
Collection<String> indexedPropertiesIds)
Resolves indexed properties by ids.
|
IndexedType |
resolveIndexedType(FacetSearchConfig facetSearchConfig,
String indexedTypeName)
Resolves indexed type by name.
|
FacetSearchConfig getConfiguration(String name) throws FacetConfigServiceException
name - - Name of configurationFacetSearchConfig objectFacetConfigServiceExceptionFacetSearchConfig getConfiguration(CatalogVersionModel catalogVersion) throws FacetConfigServiceException
catalogVersion - the catalog version to be searched.FacetSearchConfig if it is found. If more than one configurations can be found, return the first
one. If it cannot be found, return null.FacetConfigServiceExceptionIndexedType resolveIndexedType(FacetSearchConfig facetSearchConfig, String indexedTypeName) throws FacetConfigServiceException
facetSearchConfig - facet search configuration.indexedTypeName - name of indexed typeIndexedTypeFacetConfigServiceExceptionList<IndexedProperty> resolveIndexedProperties(FacetSearchConfig facetSearchConfig, IndexedType indexedType, Collection<String> indexedPropertiesIds) throws FacetConfigServiceException
facetSearchConfig - facet search configuration.indexedType - indexed typeindexedPropertiesIds - list of indexed properties idsIndexedPropertyFacetConfigServiceExceptionCopyright © 2017 SAP SE. All Rights Reserved.