public interface FacetSearchConfigService
| Modifier and Type | Method and Description |
|---|---|
FacetSearchConfig |
getConfiguration(CatalogVersionModel catalogVersion)
Searches for the configuration for the specified catalog version.
|
FacetSearchConfig |
getConfiguration(java.lang.String name)
Returns the configuration by name
|
java.util.List<IndexedProperty> |
resolveIndexedProperties(FacetSearchConfig facetSearchConfig,
IndexedType indexedType,
java.util.Collection<java.lang.String> indexedPropertiesIds)
Resolves indexed properties by ids.
|
IndexedType |
resolveIndexedType(FacetSearchConfig facetSearchConfig,
java.lang.String indexedTypeName)
Resolves indexed type by name.
|
FacetSearchConfig getConfiguration(java.lang.String name) throws FacetConfigServiceException
name - - Name of configurationFacetSearchConfig objectFacetConfigServiceException - if an error occursFacetSearchConfig getConfiguration(CatalogVersionModel catalogVersion) throws FacetConfigServiceException
catalogVersion - the catalog version to be searchedFacetSearchConfig if it is found. If more than one configurations can be found, return the first one.
If it cannot be found, return null.FacetConfigServiceException - if an error occursIndexedType resolveIndexedType(FacetSearchConfig facetSearchConfig, java.lang.String indexedTypeName) throws FacetConfigServiceException
facetSearchConfig - facet search configuration.indexedTypeName - name of indexed typeIndexedTypeFacetConfigServiceException - if an error occursjava.util.List<IndexedProperty> resolveIndexedProperties(FacetSearchConfig facetSearchConfig, IndexedType indexedType, java.util.Collection<java.lang.String> indexedPropertiesIds) throws FacetConfigServiceException
facetSearchConfig - facet search configuration.indexedType - indexed typeindexedPropertiesIds - list of indexed properties idsIndexedPropertyFacetConfigServiceException - if an error occursCopyright © 2018 SAP SE. All Rights Reserved.