]> gerrit.simantics Code Review - simantics/interop.git/commitdiff
Methods removed from ReadGraph interface, also removed those org.simantics.interop...
authorlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 26 Jun 2012 07:08:17 +0000 (07:08 +0000)
committerMarko Luukkainen <marko.luukkainen@vtt.fi>
Thu, 2 Feb 2017 09:22:21 +0000 (11:22 +0200)
* public void forEachDirectObject(final Resource subject, final Resource relation, final AsyncMultiProcedure<Resource> procedure)
* public void forEachDirectObject(final Resource subject, final Resource relation, final MultiProcedure<Resource> procedure)
* public void forEachDirectObject(final Resource subject, final Resource relation, final SyncMultiProcedure<Resource> procedure)

refs #3526

git-svn-id: https://www.simantics.org/svn/simantics/interoperability/trunk@25233 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.interop.mapping/src/org/simantics/interop/mapping/SplittingWriteGraph.java
org.simantics.interop.mapping/src/org/simantics/interop/mapping/WriteGraphProxy.java

index fb73ebde5b70f98552feb90cd8f41d3ef4b6b7cb..f8e5faea31b86deb45b17fd883067377ef52c3dc 100644 (file)
@@ -1572,53 +1572,53 @@ public class SplittingWriteGraph implements WriteGraph {
                }\r
        }\r
        \r
-       @Override\r
-       public void forEachDirectObject(final Resource subject, final Resource relation,\r
-                       final AsyncMultiProcedure<Resource> procedure) {\r
-               try {\r
-                       session.syncRequest(new ReadRequest() {\r
-                               \r
-                               @Override\r
-                               public void run(ReadGraph graph) throws DatabaseException {\r
-                                       graph.forEachDirectObject(subject, relation, procedure);\r
-                               }\r
-                       });\r
-               } catch (DatabaseException e) {\r
-                               \r
-               }\r
-       }\r
-       \r
-       @Override\r
-       public void forEachDirectObject(final Resource subject, final Resource relation,\r
-                       final MultiProcedure<Resource> procedure) {\r
-               try {\r
-                       session.syncRequest(new ReadRequest() {\r
-                               \r
-                               @Override\r
-                               public void run(ReadGraph graph) throws DatabaseException {\r
-                                       graph.forEachDirectObject(subject, relation, procedure);\r
-                               }\r
-                       });\r
-               } catch (DatabaseException e) {\r
-                               \r
-               }\r
-       }\r
-       \r
-       @Override\r
-       public void forEachDirectObject(final Resource subject, final Resource relation,\r
-                       final SyncMultiProcedure<Resource> procedure) {\r
-               try {\r
-                       session.syncRequest(new ReadRequest() {\r
-                               \r
-                               @Override\r
-                               public void run(ReadGraph graph) throws DatabaseException {\r
-                                       graph.forEachDirectObject(subject, relation, procedure);\r
-                               }\r
-                       });\r
-               } catch (DatabaseException e) {\r
-                               \r
-               }\r
-       }\r
+//     @Override\r
+//     public void forEachDirectObject(final Resource subject, final Resource relation,\r
+//                     final AsyncMultiProcedure<Resource> procedure) {\r
+//             try {\r
+//                     session.syncRequest(new ReadRequest() {\r
+//                             \r
+//                             @Override\r
+//                             public void run(ReadGraph graph) throws DatabaseException {\r
+//                                     graph.forEachDirectObject(subject, relation, procedure);\r
+//                             }\r
+//                     });\r
+//             } catch (DatabaseException e) {\r
+//                             \r
+//             }\r
+//     }\r
+//     \r
+//     @Override\r
+//     public void forEachDirectObject(final Resource subject, final Resource relation,\r
+//                     final MultiProcedure<Resource> procedure) {\r
+//             try {\r
+//                     session.syncRequest(new ReadRequest() {\r
+//                             \r
+//                             @Override\r
+//                             public void run(ReadGraph graph) throws DatabaseException {\r
+//                                     graph.forEachDirectObject(subject, relation, procedure);\r
+//                             }\r
+//                     });\r
+//             } catch (DatabaseException e) {\r
+//                             \r
+//             }\r
+//     }\r
+//     \r
+//     @Override\r
+//     public void forEachDirectObject(final Resource subject, final Resource relation,\r
+//                     final SyncMultiProcedure<Resource> procedure) {\r
+//             try {\r
+//                     session.syncRequest(new ReadRequest() {\r
+//                             \r
+//                             @Override\r
+//                             public void run(ReadGraph graph) throws DatabaseException {\r
+//                                     graph.forEachDirectObject(subject, relation, procedure);\r
+//                             }\r
+//                     });\r
+//             } catch (DatabaseException e) {\r
+//                             \r
+//             }\r
+//     }\r
        \r
        @Override\r
        public void forEachDirectPredicate(final Resource subject,\r
index 96ee011ee6ec88a0590bebbaea316feea60e50c1..f51407fc02a1ad9152377b72847fcbca2961e045 100644 (file)
@@ -850,23 +850,23 @@ public class WriteGraphProxy implements WriteGraph {
                graph.forEachAssertedStatement(subject, relation, procedure);\r
        }\r
        \r
-       @Override\r
-       public void forEachDirectObject(Resource subject, Resource relation,\r
-                       AsyncMultiProcedure<Resource> procedure) {\r
-               graph.forEachDirectObject(subject, relation, procedure);\r
-       }\r
-       \r
-       @Override\r
-       public void forEachDirectObject(Resource subject, Resource relation,\r
-                       MultiProcedure<Resource> procedure) {\r
-               graph.forEachDirectObject(subject, relation, procedure);\r
-       }\r
-       \r
-       @Override\r
-       public void forEachDirectObject(Resource subject, Resource relation,\r
-                       SyncMultiProcedure<Resource> procedure) {\r
-               graph.forEachDirectObject(subject, relation, procedure);\r
-       }\r
+//     @Override\r
+//     public void forEachDirectObject(Resource subject, Resource relation,\r
+//                     AsyncMultiProcedure<Resource> procedure) {\r
+//             graph.forEachDirectObject(subject, relation, procedure);\r
+//     }\r
+//     \r
+//     @Override\r
+//     public void forEachDirectObject(Resource subject, Resource relation,\r
+//                     MultiProcedure<Resource> procedure) {\r
+//             graph.forEachDirectObject(subject, relation, procedure);\r
+//     }\r
+//     \r
+//     @Override\r
+//     public void forEachDirectObject(Resource subject, Resource relation,\r
+//                     SyncMultiProcedure<Resource> procedure) {\r
+//             graph.forEachDirectObject(subject, relation, procedure);\r
+//     }\r
        \r
        @Override\r
        public void forEachDirectPredicate(Resource subject,\r