]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.graph.db/src/org/simantics/graph/db/TransferableGraphImporter.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.graph.db / src / org / simantics / graph / db / TransferableGraphImporter.java
diff --git a/bundles/org.simantics.graph.db/src/org/simantics/graph/db/TransferableGraphImporter.java b/bundles/org.simantics.graph.db/src/org/simantics/graph/db/TransferableGraphImporter.java
new file mode 100644 (file)
index 0000000..f6024fa
--- /dev/null
@@ -0,0 +1,13 @@
+package org.simantics.graph.db;\r
+\r
+import org.simantics.db.Resource;\r
+import org.simantics.db.WriteOnlyGraph;\r
+import org.simantics.db.exception.DatabaseException;\r
+import org.simantics.db.service.SerialisationSupport;\r
+\r
+public interface TransferableGraphImporter {\r
+       \r
+       public Resource createChild(WriteOnlyGraph graph, Resource parent, Resource child, String name) throws DatabaseException;\r
+       public long[] getResourceIds(SerialisationSupport serializer) throws DatabaseException;\r
+\r
+}\r