}
public void save(BookmarkItem obj) throws ServiceException {
BookmarkItem _obj = bookmarks.get(obj.getUri().toString());
if (_obj != null) {
throw new ServiceException("File allready bookmarked");
}
try {
dao.save(obj);
bookmarks.put(obj.getUri().toString(), obj);
} catch (SQLException e) {
throw new ServiceException(e);
}
}