225226227228229230231232233234235
+ "item(s) for the reseracher " + authKey); Item[] items = binfo.getItemResults(context); for (Item item : items) { DSIndexer.indexContent(context, item, true); ib.indexItem(item); } } context.commit(); context.clearCache(); }
919293949596979899100101
toCollection.addItem(item); // FIXME Exception handling try { IndexBrowse ib = new IndexBrowse(context); ib.indexItem(item); } catch (BrowseException bex) { throw new UIException("Unable to process browse", bex); }
139140141142143144145146147148149
toCollection.removeItem(item); // FIXME Exception handling try { IndexBrowse ib = new IndexBrowse(context); ib.indexItem(item); } catch (BrowseException bex) { throw new UIException("Unable to process browse", bex); }
10741075107610771078107910801081108210831084
} // the item was only mapped to this collection, so just remove it else { //notify Browse of removing item mapping. ib.indexItem(item); // Browse.itemChanged(ourContext, item); removeItem(item); } } }
12061207120812091210121112121213121412151216
6061626364656667686970
108109110111112113114115116117118