Usage example:
Paginator page = new Paginator(new JdbcPageListSource(modelClass), controlOptions); List pagedRecords = page.getRecordList();
90919293949596
pagingControl.put(Paginator.key_offset, options.get(ActiveRecordConstants.key_offset)); if (options.containsKey(ActiveRecordConstants.key_page)) pagingControl.put(Paginator.key_npage, options.get(ActiveRecordConstants.key_page)); return new Paginator(new JdbcPageListSource(modelClass, inputOptions), pagingControl); }