]> gerrit.simantics Code Review - simantics/platform.git/blob - 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
1 package org.simantics.graph.db;\r
2 \r
3 import org.simantics.db.Resource;\r
4 import org.simantics.db.WriteOnlyGraph;\r
5 import org.simantics.db.exception.DatabaseException;\r
6 import org.simantics.db.service.SerialisationSupport;\r
7 \r
8 public interface TransferableGraphImporter {\r
9         \r
10         public Resource createChild(WriteOnlyGraph graph, Resource parent, Resource child, String name) throws DatabaseException;\r
11         public long[] getResourceIds(SerialisationSupport serializer) throws DatabaseException;\r
12 \r
13 }\r