IFilteredReader<T>

Interface for data processing components that can retrieve a list of data items through the use of a filter.

Description

The IFilteredReader interface is used by data processing components that can retrieve a list of data items through the use of a filter.

Instance methods

getListByFilter

Gets a list of data items using filter parameters.

getListByFilter(context: IContext, filter: FilterParams, paging: PagingParams, sort: SortParams): DataPage

  • context: IContext - (optional) a context to trace execution through a call chain.
  • filter: FilterParams - (optional) filter parameters
  • sort: SortParams - (optional) sort parameters
  • returns: Promise<T[]> - list of items