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