Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IFilteredPageReader<T>

Interface for data processing components that can retrieve a page of data items by a filter.

Type parameters

  • T

Hierarchy

  • IFilteredPageReader

Index

Methods

Methods

getPageByFilter

  • getPageByFilter(correlation_id: string, filter: FilterParams, paging: PagingParams, sort: SortParams, callback: function): void
  • Gets a page of data items using filter parameters.

    Parameters

    • correlation_id: string

      (optional) transaction id to trace execution through call chain.

    • filter: FilterParams

      (optional) filter parameters

    • paging: PagingParams

      (optional) paging parameters

    • sort: SortParams

      (optional) sort parameters

    • callback: function

      callback function that receives list of items or error.

        • (err: any, page: DataPage<T>): void
        • Parameters

          • err: any
          • page: DataPage<T>

          Returns void

    Returns void

Generated using TypeDoc