Interface for data processing components that can retrieve a page of data items by a filter.
Description
The IFilteredPageReader interface is used by data processing components that can retrieve a page of data items through the use of a filter.
Instance methods
getPageByFilter
Gets a page of data items using filter parameters.
getPageByFilter(correlationId: string, filter: FilterParams, paging: PagingParams, sort: SortParams): Promise<DataPage<T>>
- correlationId: string - (optional) transaction id used to trace execution through the call chain.
- filter: FilterParams - (optional) filter parameters
- paging: PagingParams - (optional) paging parameters
- sort: SortParams - (optional) sort parameters
- returns: Promise<DataPage<T>> - list of items