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