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.
DataPage getPageByFilter(IContext context, FilterParams filter, PagingParams paging, SortParams sort) throws ApplicationException
- context: IContext - (optional) a context to trace execution through a call chain.
- filter: FilterParams - (optional) filter parameters
- paging: PagingParams - (optional) paging parameters
- sort: SortParams - (optional) sort parameters
- returns: Promise<DataPage<T>> - list of items