public List<QueryPageRow> createRows(QueryMetadataPageRequest pageRequest,
Iterator<AssetItem> iterator) {
int skipped = 0;
Integer pageSize = pageRequest.getPageSize();
int startRowIndex = pageRequest.getStartRowIndex();
RepositoryFilter packageFilter = new PackageFilter();
RepositoryFilter categoryFilter = new CategoryFilter();
List<QueryPageRow> rowList = new ArrayList<QueryPageRow>();
while ( iterator.hasNext() && (pageSize == null || rowList.size() < pageSize) ) {
AssetItem assetItem = (AssetItem) iterator.next();