@Override
	public void removeBookmarks(AddressSetView set, TaskMonitor monitor) throws CancelledException {
		lock.acquire();
		try {
			Iterator<BookmarkType> it = typesByName.values().iterator();
			while (it.hasNext()) {
				BookmarkTypeDB bt = (BookmarkTypeDB) it.next();
				if (bt.hasBookmarks()) {
					removeBookmarks(set, bt, null, monitor);
				}
			}
		}
		finally {
			lock.release();
		}
	}
Get bookmark record (used by Bookmark.refresh() method)
@param id bookmark ID
@return bookmark record
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/bookmark/BookmarkDBManager.java