Class DefaultPagedFlexibleSearchService
java.lang.Object
de.hybris.platform.commerceservices.search.flexiblesearch.impl.DefaultPagedFlexibleSearchService
- All Implemented Interfaces:
PagedFlexibleSearchService
@Deprecated(since="6.6",
forRemoval=true)
public class DefaultPagedFlexibleSearchService
extends Object
implements PagedFlexibleSearchService
Deprecated, for removal: This API element is subject to removal in a future version.
Default implementation of
PagedFlexibleSearchService-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> SearchPageData<T>createPagedSearchResult(SearchResult<T> searchResult, PageableData pageableData) Deprecated, for removal: This API element is subject to removal in a future version.protected <T> PaginationDatacreatePagination(PageableData pageableData, SearchResult<T> searchResult) Deprecated, for removal: This API element is subject to removal in a future version.protected PaginationDataDeprecated, for removal: This API element is subject to removal in a future version.protected <T> SearchPageData<T>Deprecated, for removal: This API element is subject to removal in a future version.protected SortDatacreateSort(SortQueryData sortQuery, String selectedSortCode) Deprecated, for removal: This API element is subject to removal in a future version.protected SortDataDeprecated, for removal: This API element is subject to removal in a future version.createSorts(List<SortQueryData> sortQueries, String selectedSortCode) Deprecated, for removal: This API element is subject to removal in a future version.protected SortQueryDatafindSortQueryData(List<SortQueryData> sortQueries, String requestedSortCode, String defaultSortCode) Deprecated, for removal: This API element is subject to removal in a future version.protected FlexibleSearchServiceDeprecated, for removal: This API element is subject to removal in a future version.protected voidpopulatePagableProperties(PageableData pageableData, FlexibleSearchQuery searchQuery) Deprecated, for removal: This API element is subject to removal in a future version.<T> SearchPageData<T>search(FlexibleSearchQuery searchQuery, PageableData pageableData) Deprecated, for removal: This API element is subject to removal in a future version.Searches according to a flexible search query and pagination data<T> SearchPageData<T>search(String query, Map<String, ?> queryParams, PageableData pageableData) Deprecated, for removal: This API element is subject to removal in a future version.Searches according to a query string and pagination data<T> SearchPageData<T>search(List<SortQueryData> sortQueries, String defaultSortCode, Map<String, ?> queryParams, PageableData pageableData) Deprecated, for removal: This API element is subject to removal in a future version.Searches according to a sort query and pagination datavoidsetFlexibleSearchService(FlexibleSearchService flexibleSearchService) Deprecated, for removal: This API element is subject to removal in a future version.protected voidvalidatePagableParameters(PageableData pageableData) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
DefaultPagedFlexibleSearchService
public DefaultPagedFlexibleSearchService()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
search
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:PagedFlexibleSearchServiceSearches according to a flexible search query and pagination data- Specified by:
searchin interfacePagedFlexibleSearchService- Parameters:
searchQuery- the flexible search querypageableData- the object containing pagination data- Returns:
- an instance of
SearchPageDatacontaining the search results with sort and pagination data
-
search
public <T> SearchPageData<T> search(String query, Map<String, ?> queryParams, PageableData pageableData) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:PagedFlexibleSearchServiceSearches according to a query string and pagination data- Specified by:
searchin interfacePagedFlexibleSearchService- Parameters:
query- the query stringqueryParams- the query parameterspageableData- the object containing pagination data- Returns:
- an instance of
SearchPageDatacontaining the search results with sort and pagination data
-
search
public <T> SearchPageData<T> search(List<SortQueryData> sortQueries, String defaultSortCode, Map<String, ?> queryParams, PageableData pageableData) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:PagedFlexibleSearchServiceSearches according to a sort query and pagination data- Specified by:
searchin interfacePagedFlexibleSearchService- Parameters:
sortQueries- the sort queriesdefaultSortCode- the default sort codequeryParams- the query parameterspageableData- the object containing pagination data- Returns:
- an instance of
SearchPageDatacontaining the search results with sort and pagination data
-
validatePagableParameters
Deprecated, for removal: This API element is subject to removal in a future version. -
populatePagableProperties
protected void populatePagableProperties(PageableData pageableData, FlexibleSearchQuery searchQuery) Deprecated, for removal: This API element is subject to removal in a future version. -
createPagedSearchResult
protected <T> SearchPageData<T> createPagedSearchResult(SearchResult<T> searchResult, PageableData pageableData) Deprecated, for removal: This API element is subject to removal in a future version. -
createPagination
protected <T> PaginationData createPagination(PageableData pageableData, SearchResult<T> searchResult) Deprecated, for removal: This API element is subject to removal in a future version. -
findSortQueryData
protected SortQueryData findSortQueryData(List<SortQueryData> sortQueries, String requestedSortCode, String defaultSortCode) Deprecated, for removal: This API element is subject to removal in a future version. -
createSorts
Deprecated, for removal: This API element is subject to removal in a future version. -
createSort
Deprecated, for removal: This API element is subject to removal in a future version. -
createPaginationData
Deprecated, for removal: This API element is subject to removal in a future version. -
createSortData
Deprecated, for removal: This API element is subject to removal in a future version. -
createSearchPageData
Deprecated, for removal: This API element is subject to removal in a future version. -
getFlexibleSearchService
Deprecated, for removal: This API element is subject to removal in a future version. -
setFlexibleSearchService
Deprecated, for removal: This API element is subject to removal in a future version.
-
DefaultPaginatedFlexibleSearchServiceinstead