Package org.pipservices3.data
Interface IFilteredPageReader<T>
public interface IFilteredPageReader<T>
Interface for data processing components that can retrieve a page of data items by a filter.
-
Method Summary
Modifier and TypeMethodDescriptionorg.pipservices3.commons.data.DataPage<T>
getPageByFilter
(String correlationId, org.pipservices3.commons.data.FilterParams filter, org.pipservices3.commons.data.PagingParams paging, org.pipservices3.commons.data.SortParams sort) Gets a page of data items using filter parameters.
-
Method Details
-
getPageByFilter
org.pipservices3.commons.data.DataPage<T> getPageByFilter(String correlationId, org.pipservices3.commons.data.FilterParams filter, org.pipservices3.commons.data.PagingParams paging, org.pipservices3.commons.data.SortParams sort) throws org.pipservices3.commons.errors.ApplicationException Gets a page of data items using filter parameters.- Parameters:
correlationId
- (optional) transaction id to trace execution through call chain.filter
- (optional) filter parameterspaging
- (optional) paging parameterssort
- (optional) sort parameters- Returns:
- list of filtered items.
- Throws:
org.pipservices3.commons.errors.ApplicationException
- when error occured.
-