]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.db.impl/src/org/simantics/db/impl/IClusterTable.java
Fixed multiple issues causing dangling references to discarded queries
[simantics/platform.git] / bundles / org.simantics.db.impl / src / org / simantics / db / impl / IClusterTable.java
1 package org.simantics.db.impl;
2
3 import org.simantics.db.exception.DatabaseException;
4 import org.simantics.db.service.ClusterUID;
5
6 public interface IClusterTable {
7
8         <T extends ClusterI> T getClusterByClusterUIDOrMakeProxy(ClusterUID clusterUID);
9         <T extends ClusterI> T getClusterProxyByResourceKey(int resourceKey);
10         ClusterUID getClusterUIDByResourceKey(int resourceKey) throws DatabaseException;
11         int getClusterKeyByUID(long id1, long id2) throws DatabaseException;
12         
13 }