X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fservice%2FXSupport.java;h=bab69074e6ca1cd30dc5fdb613dad21cfb67cf0c;hb=e460fd6f0af60314e2ca28391ef7ff2043016d97;hp=73594cddb4830fb2364ca83a94961847235fdf8d;hpb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;p=simantics%2Fplatform.git
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..bab69074e 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,8 @@ public interface XSupport {
public boolean rolledback();
+ public boolean isClusterLoaded(ClusterUID clusterUID) throws DatabaseException;
+
+ public void saveQueries() throws DatabaseException;
+
}