Interface for data processing components that can query a page of data items.
Description
The IQuerablePageReader interface is used by data processing components that can query a page of data items.
Instance methods
getPageByQuery
Gets a page of data items using a query string.
DataPage
getPageByQuery(IContext context, String query, PagingParams paging, SortParams sort) throws ApplicationException
- context: IContext - (optional) a context to trace execution through a call chain.
- query: string - (optional) query string
- paging: PagingParams - (optional) paging parameters
- sort: SortParams - (optional) sorting parameters
- returns: Promise<DataPage<T>> - list of items