protected static class DefaultAsSearchProviderFactory.CombinedSearchProvider extends java.lang.Object implements AsSearchProvider
| Constructor and Description |
|---|
CombinedSearchProvider(java.util.Collection<AsSearchProvider> searchProviders) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AsCatalogVersionData> |
getCatalogVersions(java.lang.String indexConfiguration,
java.lang.String indexType)
Returns a list of catalog versions for a given index configuration and type.
|
java.util.List<AsCurrencyData> |
getCurrencies(java.lang.String indexConfiguration,
java.lang.String indexType)
Returns a list of currencies for a given index configuration and type.
|
java.util.Optional<AsIndexConfigurationData> |
getIndexConfigurationForCode(java.lang.String code)
Returns the index configuration for the provided code.
|
java.util.List<AsIndexConfigurationData> |
getIndexConfigurations()
Returns a list of index configurations.
|
java.util.List<AsIndexPropertyData> |
getIndexProperties(java.lang.String indexType)
Returns a list of index properties for a given index type.
|
java.util.Optional<AsIndexPropertyData> |
getIndexPropertyForCode(java.lang.String indexType,
java.lang.String code)
Returns the index property for the provided code.
|
java.util.Optional<AsIndexTypeData> |
getIndexTypeForCode(java.lang.String code)
Returns the index type for the provided code.
|
java.util.List<AsIndexTypeData> |
getIndexTypes()
Returns a list of index types.
|
java.util.List<AsIndexTypeData> |
getIndexTypes(java.lang.String indexConfiguration)
Returns a list of index types for a given index configuration.
|
java.util.List<AsLanguageData> |
getLanguages(java.lang.String indexConfiguration,
java.lang.String indexType)
Returns a list of languages for a given index configuration and type.
|
protected java.util.Collection<AsSearchProvider> |
getSearchProviders() |
protected AsSearchProvider |
resolveSearchProviderForIndexConfiguration(java.lang.String indexConfiguration) |
protected AsSearchProvider |
resolveSearchProviderForIndexType(java.lang.String indexType) |
AsSearchResultData |
search(AsSearchProfileContext searchProfileContext,
java.lang.String searchText,
int activePage,
int pageSize)
Returns the search result.
|
public CombinedSearchProvider(java.util.Collection<AsSearchProvider> searchProviders)
protected java.util.Collection<AsSearchProvider> getSearchProviders()
protected AsSearchProvider resolveSearchProviderForIndexConfiguration(java.lang.String indexConfiguration)
protected AsSearchProvider resolveSearchProviderForIndexType(java.lang.String indexType)
public java.util.List<AsIndexConfigurationData> getIndexConfigurations()
AsSearchProvidergetIndexConfigurations in interface AsSearchProviderpublic java.util.Optional<AsIndexConfigurationData> getIndexConfigurationForCode(java.lang.String code)
AsSearchProvidergetIndexConfigurationForCode in interface AsSearchProvidercode - - the index configuration codepublic java.util.List<AsIndexTypeData> getIndexTypes()
AsSearchProvidergetIndexTypes in interface AsSearchProviderpublic java.util.List<AsIndexTypeData> getIndexTypes(java.lang.String indexConfiguration)
AsSearchProvidergetIndexTypes in interface AsSearchProviderindexConfiguration - - the index configuration codepublic java.util.Optional<AsIndexTypeData> getIndexTypeForCode(java.lang.String code)
AsSearchProvidergetIndexTypeForCode in interface AsSearchProvidercode - - the index type codepublic java.util.List<AsIndexPropertyData> getIndexProperties(java.lang.String indexType)
AsSearchProvidergetIndexProperties in interface AsSearchProviderindexType - - the index type codepublic java.util.Optional<AsIndexPropertyData> getIndexPropertyForCode(java.lang.String indexType, java.lang.String code)
AsSearchProvidergetIndexPropertyForCode in interface AsSearchProvidercode - - the index property codepublic java.util.List<AsCatalogVersionData> getCatalogVersions(java.lang.String indexConfiguration, java.lang.String indexType)
AsSearchProvidergetCatalogVersions in interface AsSearchProviderindexConfiguration - - the index configurationindexType - - the index typepublic java.util.List<AsLanguageData> getLanguages(java.lang.String indexConfiguration, java.lang.String indexType)
AsSearchProvidergetLanguages in interface AsSearchProviderindexConfiguration - - the index configurationindexType - - the index typepublic java.util.List<AsCurrencyData> getCurrencies(java.lang.String indexConfiguration, java.lang.String indexType)
AsSearchProvidergetCurrencies in interface AsSearchProviderindexConfiguration - - the index configurationindexType - - the index typepublic AsSearchResultData search(AsSearchProfileContext searchProfileContext, java.lang.String searchText, int activePage, int pageSize) throws AsException
AsSearchProvidersearch in interface AsSearchProvidersearchProfileContext - - The search profile context.searchText - - The search text.activePage - - The active page offset.pageSize - - The Page size.AsExceptionCopyright © 2017 SAP SE. All Rights Reserved.