]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.impl/src/org/simantics/db/impl/IClusterTable.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.db.impl / src / org / simantics / db / impl / IClusterTable.java
diff --git a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/IClusterTable.java b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/IClusterTable.java
new file mode 100644 (file)
index 0000000..e15b3a2
--- /dev/null
@@ -0,0 +1,13 @@
+package org.simantics.db.impl;\r
+\r
+import org.simantics.db.exception.DatabaseException;\r
+import org.simantics.db.service.ClusterUID;\r
+\r
+public interface IClusterTable {\r
+\r
+       <T extends ClusterI> T getClusterByClusterUIDOrMakeProxy(ClusterUID clusterUID);\r
+       <T extends ClusterI> T getClusterProxyByResourceKey(int resourceKey);\r
+       ClusterUID getClusterUIDByResourceKey(int resourceKey) throws DatabaseException;\r
+       int getClusterKeyByUID(long id1, long id2) throws DatabaseException;\r
+       \r
+}\r