Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/db/IExternalReferenceManager.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/db/IExternalReferenceManager.java36
1 files changed, 36 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/db/IExternalReferenceManager.java b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/db/IExternalReferenceManager.java
new file mode 100644
index 0000000000..729a38d5de
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/db/IExternalReferenceManager.java
@@ -0,0 +1,36 @@
+/**
+ * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Stefan Winkler - initial API and implementation
+ * Stefan Winkler - bug 249610: [DB] Support external references (Implementation)
+ * Eike Stepper - maintenance
+ */
+package org.eclipse.emf.cdo.server.db;
+
+import org.eclipse.emf.cdo.common.id.CDOIDExternal;
+
+/**
+ * @author Stefan Winkler
+ * @since 3.0
+ */
+public interface IExternalReferenceManager
+{
+ public long mapExternalReference(IDBStoreAccessor accessor, CDOIDExternal id);
+
+ public CDOIDExternal unmapExternalReference(IDBStoreAccessor accessor, long mappedId);
+
+ /**
+ * @author Eike Stepper
+ */
+ public interface Internal extends IExternalReferenceManager
+ {
+ public IDBStore getStore();
+
+ public void setStore(IDBStore store);
+ }
+}

Back to the top