use of de.metas.util.collections.PagedIterator.PageFetcher in project metasfresh-webui-api by metasfresh.
the class HUEditorViewBuffer_HighVolume method huIdsPageFetcher.
private PageFetcher<HuId> huIdsPageFetcher(final DocumentQueryOrderByList orderBys) {
final ViewEvaluationCtx viewEvalCtx = getViewEvaluationCtx();
final ViewRowIdsOrderedSelection selection = getSelection(orderBys);
return (firstRow, maxRows) -> huEditorRepo.retrieveHUIdsPage(viewEvalCtx, selection, firstRow, maxRows);
}
Aggregations