public abstract class AbstractSearchProvider extends PropertyBasedService implements SearchProvider
SearchType.| Modifier and Type | Field and Description |
|---|---|
protected static Operator |
SIMPLE_OPERATOR |
modelService, typeServiceSELECTED_OBJECT_TEMPLATE| Constructor and Description |
|---|
AbstractSearchProvider() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<Facet> |
getAllSupportedFacets()
Returns all supported facets.
|
java.util.Set<Facet> |
getAllSupportedFacets(java.util.Collection<SearchType> rootTypes)
Returns all supported facets for a given set of root types.
|
ConditionTranslatorRegistry |
getConditionTranslatorRegistry() |
abstract FacetsResult |
queryFacets(ExtendedSearchResult result,
java.util.Set<Facet> facets)
Performs a facet query upon a existing search result.
|
abstract ExtendedSearchResult |
search(Query query)
Performs a query.
|
void |
setConditionTranslatorRegistry(ConditionTranslatorRegistry conditionTranslatorRegistry) |
getAllSupportedPropertyDescriptorsgetEnum, getEnums, getLocalizedLabel, getLocalizedLabel, getModelService, getTypeService, setCockpitTypeService, setLabelResolver, setModelServiceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultRootType, setDefaultRootTypeprotected static final Operator SIMPLE_OPERATOR
public java.util.Set<Facet> getAllSupportedFacets()
public java.util.Set<Facet> getAllSupportedFacets(java.util.Collection<SearchType> rootTypes)
public abstract ExtendedSearchResult search(Query query)
search in interface SearchProviderquery - the query containing all values and settingspublic abstract FacetsResult queryFacets(ExtendedSearchResult result, java.util.Set<Facet> facets)
result - the existing search resultfacets - the facets to be queriedpublic void setConditionTranslatorRegistry(ConditionTranslatorRegistry conditionTranslatorRegistry)
public ConditionTranslatorRegistry getConditionTranslatorRegistry()
Copyright © 2018 SAP SE. All Rights Reserved.