]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db/src/org/simantics/db/service/XSupport.java
Import/export changes. A load.
[simantics/platform.git] / bundles / org.simantics.db / src / org / simantics / db / service / XSupport.java
index 73594cddb4830fb2364ca83a94961847235fdf8d..8e08147c5b34a2c61af386c2154a0d5238f20707 100644 (file)
@@ -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 <code>true</code> to make all created clusters immutable
      */
     void setServiceMode(boolean allowImmutableWrites, boolean createAsImmutable);
+    Pair<Boolean,Boolean> getServiceMode();
 
     /**
      * If resource is acquired from DelayedWriteGraph during delayed write request then