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 java.lang.Object implements PagedFlexibleSearchServiceDeprecated, for removal: This API element is subject to removal in a future version.Since 6.6. UseDefaultPaginatedFlexibleSearchServiceinsteadDefault implementation ofPagedFlexibleSearchService
-
-
Constructor Summary
Constructors Constructor Description DefaultPagedFlexibleSearchService()Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected <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 PaginationDatacreatePaginationData()Deprecated, for removal: This API element is subject to removal in a future version.protected <T> SearchPageData<T>createSearchPageData()Deprecated, for removal: This API element is subject to removal in a future version.protected SortDatacreateSort(SortQueryData sortQuery, java.lang.String selectedSortCode)Deprecated, for removal: This API element is subject to removal in a future version.protected SortDatacreateSortData()Deprecated, for removal: This API element is subject to removal in a future version.protected java.util.List<SortData>createSorts(java.util.List<SortQueryData> sortQueries, java.lang.String selectedSortCode)Deprecated, for removal: This API element is subject to removal in a future version.protected SortQueryDatafindSortQueryData(java.util.List<SortQueryData> sortQueries, java.lang.String requestedSortCode, java.lang.String defaultSortCode)Deprecated, for removal: This API element is subject to removal in a future version.protected FlexibleSearchServicegetFlexibleSearchService()Deprecated, 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(java.lang.String query, java.util.Map<java.lang.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(java.util.List<SortQueryData> sortQueries, java.lang.String defaultSortCode, java.util.Map<java.lang.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.
-
-
-
Method Detail
-
search
public <T> SearchPageData<T> search(FlexibleSearchQuery searchQuery, PageableData pageableData)
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(java.lang.String query, java.util.Map<java.lang.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(java.util.List<SortQueryData> sortQueries, java.lang.String defaultSortCode, java.util.Map<java.lang.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
protected void validatePagableParameters(PageableData pageableData)
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(java.util.List<SortQueryData> sortQueries, java.lang.String requestedSortCode, java.lang.String defaultSortCode)
Deprecated, for removal: This API element is subject to removal in a future version.
-
createSorts
protected java.util.List<SortData> createSorts(java.util.List<SortQueryData> sortQueries, java.lang.String selectedSortCode)
Deprecated, for removal: This API element is subject to removal in a future version.
-
createSort
protected SortData createSort(SortQueryData sortQuery, java.lang.String selectedSortCode)
Deprecated, for removal: This API element is subject to removal in a future version.
-
createPaginationData
protected PaginationData createPaginationData()
Deprecated, for removal: This API element is subject to removal in a future version.
-
createSortData
protected SortData createSortData()
Deprecated, for removal: This API element is subject to removal in a future version.
-
createSearchPageData
protected <T> SearchPageData<T> createSearchPageData()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getFlexibleSearchService
protected FlexibleSearchService getFlexibleSearchService()
Deprecated, for removal: This API element is subject to removal in a future version.
-
setFlexibleSearchService
public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-