private void reloadRequiredEntities() throws SQLException { //Reload our objects in our cache targetCollection = ourContext.reloadEntity(targetCollection); harvestRow = ourContext.reloadEntity(harvestRow); }
/** * Reload all entities related to this context. * * @throws SQLException When reloading one of the entities fails. */ private void reloadContextBoundEntities() throws SQLException { currentUser = reloadEntity(currentUser); } }
DSpaceObject iu = ctx.reloadEntity(o); String hdl = iu.getHandle(); if (hdl != null && !handlesToDelete.contains(hdl)) {