Class AbstractSearchProvider
java.lang.Object
de.hybris.platform.cockpit.services.impl.AbstractServiceImpl
de.hybris.platform.cockpit.services.PropertyBasedService
de.hybris.platform.cockpit.services.search.impl.AbstractSearchProvider
- All Implemented Interfaces:
SearchProvider
- Direct Known Subclasses:
GenericQuerySearchProvider
Base search provider class. Ensures that root types may only be instances of
SearchType.-
Field Summary
FieldsFields inherited from class de.hybris.platform.cockpit.services.impl.AbstractServiceImpl
modelService, typeServiceFields inherited from interface de.hybris.platform.cockpit.services.search.SearchProvider
SELECTED_OBJECT_TEMPLATE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns all supported facets.getAllSupportedFacets(Collection<SearchType> rootTypes) Returns all supported facets for a given set of root types.abstract FacetsResultqueryFacets(ExtendedSearchResult result, Set<Facet> facets) Performs a facet query upon a existing search result.abstract ExtendedSearchResultPerforms a query.voidsetConditionTranslatorRegistry(ConditionTranslatorRegistry conditionTranslatorRegistry) Methods inherited from class de.hybris.platform.cockpit.services.PropertyBasedService
getAllSupportedPropertyDescriptorsMethods inherited from class de.hybris.platform.cockpit.services.impl.AbstractServiceImpl
getEnum, getEnums, getLocalizedLabel, getLocalizedLabel, getModelService, getTypeService, setCockpitTypeService, setLabelResolver, setModelServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.cockpit.services.search.SearchProvider
getDefaultRootType, setDefaultRootType
-
Field Details
-
SIMPLE_OPERATOR
-
-
Constructor Details
-
AbstractSearchProvider
public AbstractSearchProvider()
-
-
Method Details
-
getAllSupportedFacets
Returns all supported facets. This includes facets of root types and of any sub type. -
getAllSupportedFacets
Returns all supported facets for a given set of root types. It returns facets for each root type and their sub types. -
search
Performs a query.- Specified by:
searchin interfaceSearchProvider- Parameters:
query- the query containing all values and settings- Returns:
- the extended search result which is a simple POJO that contains result set and some additional information.
-
queryFacets
Performs a facet query upon a existing search result.- Parameters:
result- the existing search resultfacets- the facets to be queried
-
setConditionTranslatorRegistry
-
getConditionTranslatorRegistry
-