+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