use of org.folio.rest.jaxrs.model.JobExecutionUserInfoCollection in project mod-source-record-manager by folio-org.
the class JobExecutionDaoImpl method mapRowToJobExecutionUserInfoCollection.
private JobExecutionUserInfoCollection mapRowToJobExecutionUserInfoCollection(RowSet<Row> rowSet) {
JobExecutionUserInfoCollection jobExecutionUserInfoCollection = new JobExecutionUserInfoCollection().withTotalRecords(0);
for (Row row : rowSet) {
jobExecutionUserInfoCollection.getJobExecutionUsersInfo().add(mapRowToJobExecutionUserInfoDto(row));
jobExecutionUserInfoCollection.setTotalRecords(row.getInteger(TOTAL_COUNT_FIELD));
}
return jobExecutionUserInfoCollection;
}
Aggregations