use of org.folio.rest.jaxrs.model.JobLogEntryDtoCollection in project mod-source-record-manager by folio-org.
the class JournalRecordDaoImpl method mapRowSetToJobLogDtoCollection.
private JobLogEntryDtoCollection mapRowSetToJobLogDtoCollection(RowSet<Row> rowSet) {
var jobLogEntryDtoCollection = new JobLogEntryDtoCollection().withTotalRecords(0);
rowSet.forEach(row -> jobLogEntryDtoCollection.withTotalRecords(row.getInteger(TOTAL_COUNT)).getEntries().add(mapJobLogEntryRow(row)));
return jobLogEntryDtoCollection;
}
Aggregations