X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fservice%2FXSupport.java;h=cf9e96e7833421fb7617cc9ebeaef422a9dd3947;hp=73594cddb4830fb2364ca83a94961847235fdf8d;hb=bfdceb3b5b0e4967358277cd506f237c9ee364c3;hpb=0ae2b770234dfc3cbb18bd38f324125cf0faca07
diff --git a/bundles/org.simantics.db/src/org/simantics/db/service/XSupport.java b/bundles/org.simantics.db/src/org/simantics/db/service/XSupport.java
index 73594cddb..cf9e96e78 100644
--- a/bundles/org.simantics.db/src/org/simantics/db/service/XSupport.java
+++ b/bundles/org.simantics.db/src/org/simantics/db/service/XSupport.java
@@ -17,6 +17,7 @@ import org.simantics.db.WriteOnlyGraph;
import org.simantics.db.exception.DatabaseException;
import org.simantics.db.exception.ServiceException;
import org.simantics.db.request.WriteTraits;
+import org.simantics.utils.datastructures.Pair;
/**
* @author TUOKSK
@@ -103,6 +104,7 @@ public interface XSupport {
* @param createAsImmutable true
to make all created clusters immutable
*/
void setServiceMode(boolean allowImmutableWrites, boolean createAsImmutable);
+ Pair getServiceMode();
/**
* If resource is acquired from DelayedWriteGraph during delayed write request then
@@ -159,4 +161,6 @@ public interface XSupport {
public boolean rolledback();
+ public boolean isClusterLoaded(ClusterUID clusterUID) throws DatabaseException;
+
}