143144145146147148149150151152153
api.remove(req.getBagName(), req.getId()); break; default: throw new RuntimeException(); } api.commit(); normalFinish = true; } finally { if (! normalFinish) api.rollback(); } return returnVal;