protected PageResponse<AssetPageRow> findAssetPage(AssetPageRequest request) {
log.debug("Finding asset page of packageUuid ("
+ request.getPackageUuid() + ")");
long start = System.currentTimeMillis();
AssetItemIterator iterator = getAssetIterator(request);
// Populate response
long totalRowsCount = iterator.getSize();
List<AssetPageRow> rowList = new AssetPageRowBuilder()
.withPageRequest(request)
.withIdentity(identity)
.withContent(iterator)
.build();
PageResponse<AssetPageRow> response = new PageResponseBuilder<AssetPageRow>()
.withStartRowIndex(request.getStartRowIndex())
.withPageRowList(rowList)
.withLastPage(!iterator.hasNext())
.buildWithTotalRowCount(totalRowsCount);
long methodDuration = System.currentTimeMillis() - start;
log.debug("Found asset page of packageUuid ("
+ request.getPackageUuid() + ") in " + methodDuration + " ms.");