long totalRowSize = it.getSize();
if ( totalRowSize > Integer.MAX_VALUE ) {
throw new IllegalStateException( "The totalRowSize (" + totalRowSize + ") is too big." );
}
response.setTotalRowSize( (int) totalRowSize );
it.skip( request.getStartRowIndex() );
response.setStartRowIndex( request.getStartRowIndex() );
List<AssetPageRow> rowList = fillAssetPageRowsForFindAssetPage( request, it );
response.setAssetPageRowList( rowList );
response.setLastPage( !it.hasNext() );