Class DefaultPagedGenericDao<M extends ItemModel>

java.lang.Object
de.hybris.platform.commerceservices.search.dao.impl.DefaultPagedGenericDao<M>
All Implemented Interfaces:
PagedGenericDao<M>
Direct Known Subclasses:
DefaultCustomerGroupDao, DefaultCustomerSupportEventDao, DefaultOrgUnitDao, DefaultPagedB2BBudgetDao, DefaultPagedB2BBudgetDao, DefaultPagedB2BCostCenterDao, DefaultPagedB2BCostCenterDao, DefaultPagedB2BCustomerDao, DefaultPagedB2BCustomerDao, DefaultPagedB2BDocumentDao, DefaultPagedB2BPermissionDao, DefaultPagedB2BPermissionDao, DefaultPagedB2BProductDao, DefaultPagedB2BUserGroupDao, DefaultPagedB2BUserGroupDao, DefaultPagedB2BWorkflowActionDao, OrderByNullVersionIdPagedDao, SearchByStatusPagedGenericDao, WarehousesByBaseStorePagedDao, WarehousesByPointOfServicePagedDao

@Deprecated(since="6.6", forRemoval=true) public class DefaultPagedGenericDao<M extends ItemModel> extends Object implements PagedGenericDao<M>
Deprecated, for removal: This API element is subject to removal in a future version.
Since 6.6. Use DefaultPaginatedGenericDao instead
  • Constructor Details

    • DefaultPagedGenericDao

      public DefaultPagedGenericDao(String typeCode)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • find

      public SearchPageData<M> find(PageableData pageableData)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: PagedGenericDao
      Searches for all instances of model given as a generic type.
      Specified by:
      find in interface PagedGenericDao<M extends ItemModel>
      Parameters:
      pageableData - the page of results to return
      Returns:
      The matching page of search results
    • find

      public SearchPageData<M> find(Map<String,?> params, PageableData pageableData)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: PagedGenericDao
      Searches for all instances of model given as a generic type matching given parameters.
      Specified by:
      find in interface PagedGenericDao<M extends ItemModel>
      Parameters:
      params - parameters to add to search query as Map with parameter name as a key and parameter value as a value.
      pageableData - the page of results to return
      Returns:
      The matching page of search results
    • find

      public SearchPageData<M> find(SortParameters sortParameters, PageableData pageableData)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: PagedGenericDao
      Searches for all instances of model given as a generic type using given SortParameters to sort results.
      Specified by:
      find in interface PagedGenericDao<M extends ItemModel>
      Parameters:
      sortParameters - SortParameters object used to sort results.
      pageableData - the page of results to return
      Returns:
      The matching page of search results
    • find

      public SearchPageData<M> find(Map<String,?> params, SortParameters sortParameters, PageableData pageableData)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: PagedGenericDao
      Searches for all instances of model given as a generic type matching given parameters using given SortParameters to sort results.
      Specified by:
      find in interface PagedGenericDao<M extends ItemModel>
      Parameters:
      params - parameters to add to search query as Map with parameter name as a key and parameter value as a value.
      sortParameters - SortParameters object used to sort results.
      pageableData - the page of results to return
      Returns:
      The matching page of search results
    • createFlexibleSearchQuery

      @Deprecated(since="6.4", forRemoval=true) protected FlexibleSearchQuery createFlexibleSearchQuery(Map<String,?> params, PageableData pageableData)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 6.4. Use createFlexibleSearchQuery(Map) instead.
    • createFlexibleSearchQuery

      @Deprecated(since="6.4", forRemoval=true) protected FlexibleSearchQuery createFlexibleSearchQuery(SortParameters sortParameters, PageableData pageableData)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createFlexibleSearchQuery

      @Deprecated(since="6.4", forRemoval=true) protected FlexibleSearchQuery createFlexibleSearchQuery(Map<String,?> params, SortParameters sortParameters, PageableData pageableData)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createQueryString

      protected StringBuilder createQueryString()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • appendWhereClausesToBuilder

      protected void appendWhereClausesToBuilder(StringBuilder builder, Map<String,?> params)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • appendOrderByClausesToBuilder

      protected void appendOrderByClausesToBuilder(StringBuilder builder, SortParameters sortParameters)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createSortQueryData

      protected SortQueryData createSortQueryData(String sortCode, String query)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createSortQueryData

      @Deprecated(since="6.4", forRemoval=true) protected SortQueryData createSortQueryData(String sortCode, Map<String,?> params, SortParameters sortParameters, PageableData pageableData)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createFlexibleSearchQuery

      protected FlexibleSearchQuery createFlexibleSearchQuery(Map<String,?> params)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createFlexibleSearchQuery

      protected FlexibleSearchQuery createFlexibleSearchQuery(SortParameters sortParameters)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createSortQueryData

      protected SortQueryData createSortQueryData(String sortCode, Map<String,?> params, SortParameters sortParameters)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createFlexibleSearchQuery

      protected FlexibleSearchQuery createFlexibleSearchQuery(Map<String,?> params, SortParameters sortParameters)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getPagedFlexibleSearchService

      protected PagedFlexibleSearchService getPagedFlexibleSearchService()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setPagedFlexibleSearchService

      public void setPagedFlexibleSearchService(PagedFlexibleSearchService pagedFlexibleSearchService)
      Deprecated, for removal: This API element is subject to removal in a future version.