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(correlationId: string, filter: FilterParams, paging: PagingParams, sort: SortParams): DataPage
- correlationId: string - (optional) transaction id used to trace execution through the call chain.
- filter: FilterParams - (optional) filter parameters
- sort: SortParams - (optional) sort parameters
- returns: Promise<T[]> - list of items