-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 setReadDirectory(Path read);\r
- void updateWriteDirectory(Path write);\r
- \r
-}\r
+package org.simantics.db.service;
+
+import java.io.IOException;
+import java.nio.file.Path;
+
+public interface ClusterSetsSupport {
+
+ void connect(String databaseId);
+ boolean containsKey(long resourceId);
+ Long get(Long id);
+ Long getSet(long clusterId);
+ void put(long resourceId, long clusterId);
+ void save() throws IOException;
+ void clear();
+ void setReadDirectory(Path read);
+ void updateWriteDirectory(Path write);
+
+}