]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db/src/org/simantics/db/service/ClusterSetsSupport.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.db / src / org / simantics / db / service / ClusterSetsSupport.java
diff --git a/bundles/org.simantics.db/src/org/simantics/db/service/ClusterSetsSupport.java b/bundles/org.simantics.db/src/org/simantics/db/service/ClusterSetsSupport.java
new file mode 100644 (file)
index 0000000..78d47ea
--- /dev/null
@@ -0,0 +1,17 @@
+package org.simantics.db.service;\r
+\r
+import java.io.IOException;\r
+import java.nio.file.Path;\r
+\r
+public interface ClusterSetsSupport {\r
+\r
+       void connect(String databaseId);\r
+       boolean containsKey(long resourceId);\r
+       Long get(Long id);\r
+    Long getSet(long clusterId);\r
+    void put(long resourceId, long clusterId);\r
+    void save() throws IOException;\r
+    void clear();\r
+    void updateReadAndWriteDirectories(Path read, Path write);\r
+       \r
+}\r