/** * {@inheritDoc} */ public void addObject(DOReader reader) throws ResourceIndexException { _ri.addObject(reader); }
/** * {@inheritDoc} */ public void addObject(DOReader reader) throws ResourceIndexException { _ri.addObject(reader); }
/** * Add the data of interest for the given object. * * @throws ResourceIndexException */ public void addObject(DigitalObject obj) throws ResourceIndexException { m_ri.addObject(new SimpleDOReader(null, null, null, null, null, obj)); }
/** * Add the data of interest for the given object. * * @throws ResourceIndexException */ public void addObject(DigitalObject obj) throws ResourceIndexException { m_ri.addObject(new SimpleDOReader(null, null, null, null, null, obj)); }
private void addOrDelAll(Set<DigitalObject> objects, boolean flush, boolean add) throws Exception { for (DigitalObject obj : objects) { if (add) { _ri.addObject(getDOReader(obj)); } else { _ri.deleteObject(getDOReader(obj)); } } if (flush) { _ri.flushBuffer(); } }