void setOldBookmarkManager(OldBookmarkManager oldMgr, AddressMap addrMap, TaskMonitor monitor)
			throws IOException {

		// Convert old bookmarks to new schema using temporary database
		// This is the easiest way to index into the old bookmarks
		tmpHandle = new DBHandle();
		try {
			conversionAdapter = BookmarkDBAdapter.getAdapter(tmpHandle, OpenMode.CREATE, new int[0],
				addrMap, monitor);
		}
		catch (VersionException e) {
			throw new AssertException();
		}
		DBRecord[] oldTypes = oldMgr.getTypeRecords();
		if (oldTypes.length == 0) {
			return;
		}

		monitor.setMessage("Translating Old Bookmarks...");
		int max = 0;
		for (DBRecord oldType : oldTypes) {
			max +=
				oldMgr.getBookmarkCount(oldType.getString(BookmarkTypeDBAdapter.TYPE_NAME_COL));
		}
		monitor.initialize(max);
		int cnt = 0;

		for (DBRecord oldType : oldTypes) {
			String type = oldType.getString(BookmarkTypeDBAdapter.TYPE_NAME_COL);
			int typeId = (int) oldType.getKey();
			conversionAdapter.addType(typeId);
			AddressIterator iter = oldMgr.getBookmarkAddresses(type);
			while (iter.hasNext()) {
				if (monitor.isCancelled()) {
					throw new IOException("Upgrade Cancelled");
				}
				Address addr = iter.next();
				OldBookmark bm = oldMgr.getBookmark(addr, type);
				conversionAdapter.createBookmark(typeId, bm.getCategory(),
					addrMap.getKey(addr, true), bm.getComment());
				monitor.setProgress(++cnt);
			}
		}
	}
Set the old bookmark manager which handles read-only access
to bookmarks stored within property maps.
The old bookmark manager must be set prior to invoking any other method;
@param oldMgr old bookmark manager
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/bookmark/BookmarkDBAdapterV0.java