@Override public void applyFiltersCollection(Context context, Collection collection) throws Exception { //only apply filters if collection not in skip-list if (!inSkipList(collection.getHandle())) { Iterator<Item> itemIterator = itemService.findAllByCollection(context, collection); while (itemIterator.hasNext() && processed < max2Process) { applyFiltersItem(context, itemIterator.next()); } } }
if (itemFilters.size() > 0) { Iterator<org.dspace.content.Item> childItems = itemService .findAllByCollection(context, collection, limit, offset); int numProc = itemFilterSet .processSaveItems(context, servletContext, childItems, items, reportItems, expand);
Iterator<Item> items = itemService.findAllByCollection(context, collection); while (items.hasNext()) { String id = RDFUtil.generateIdentifier(context, items.next());
Iterator<Item> items = itemService.findAllByCollection(context, collection); while (items.hasNext()) { Item item = items.next();
Group group = groupService.find(c, groupID); Iterator<Item> i = itemService.findAllByCollection(c, collection); if (contentType == Constants.ITEM) {
Iterator<Item> items = itemService.findAllByCollection(context, (Collection) dso); while (items.hasNext()) { Item item = items.next();