]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.graph.db/src/org/simantics/graph/db/TransferableGraphImporter.java
Expose TransferableGraphImportProcess Resources table.
[simantics/platform.git] / bundles / org.simantics.graph.db / src / org / simantics / graph / db / TransferableGraphImporter.java
1 package org.simantics.graph.db;
2
3 import org.simantics.db.Resource;
4 import org.simantics.db.WriteOnlyGraph;
5 import org.simantics.db.exception.DatabaseException;
6 import org.simantics.db.service.SerialisationSupport;
7
8 public interface TransferableGraphImporter {
9         
10         public Resource createChild(WriteOnlyGraph graph, Resource parent, Resource child, String name) throws DatabaseException;
11         public long[] getResourceIds(SerialisationSupport serializer) throws DatabaseException;
12
13 }