\r
\r
\r
- private void applyGenerations(WriteGraph graph, Collection<GraphNode<Identifiable>> nodes, IProgressMonitor monitor) throws Exception {\r
+ protected void applyGenerations(WriteGraph graph, Collection<GraphNode<Identifiable>> nodes, IProgressMonitor monitor) throws Exception {\r
\r
int size = nodes.size();\r
int count = 0;\r
}\r
}\r
\r
- private void applyConnections(WriteGraph g, Collection<GraphNode<Identifiable>> nodes, IProgressMonitor monitor) throws Exception {\r
+ protected void applyConnections(WriteGraph g, Collection<GraphNode<Identifiable>> nodes, IProgressMonitor monitor) throws Exception {\r
int size = nodes.size();\r
int count = 0;\r
\r
\r
\r
\r
- private void initializeRules(Session session, VirtualGraph vg, final Resource model ) throws DatabaseException{\r
+ protected void initializeRules(Session session, VirtualGraph vg, final Resource model ) throws DatabaseException{\r
session.syncRequest(new WriteRequest(vg) {\r
@Override\r
public void perform(WriteGraph g) throws DatabaseException {\r
\r
}\r
\r
- private void collect(ReadGraph g) throws DatabaseException {\r
+ protected void collect(ReadGraph g) throws DatabaseException {\r
if (vg != null)\r
return;\r
SessionGarbageCollection.gc(g, 0, -1);\r
\r
int collect = 0;\r
\r
- private void collect2(ReadGraph g) throws DatabaseException {\r
+ protected void collect2(ReadGraph g) throws DatabaseException {\r
if (vg != null)\r
return;\r
\r
}\r
}\r
\r
- private void applyModifications(Session session, final Collection<GraphNode<Identifiable>> nodes, final IProgressMonitor monitor) throws Exception {\r
+ protected void applyModifications(Session session, final Collection<GraphNode<Identifiable>> nodes, final IProgressMonitor monitor) throws Exception {\r
\r
\r
\r
});\r
}\r
\r
- private void applyGenerations(Session session, VirtualGraph vg, Collection<GraphNode<Identifiable>> nodes, IProgressMonitor monitor) throws Exception {\r
+ protected void applyGenerations(Session session, VirtualGraph vg, Collection<GraphNode<Identifiable>> nodes, IProgressMonitor monitor) throws Exception {\r
\r
int size = nodes.size();\r
int count = 0;\r
}\r
}\r
\r
- private void applyConnections(Session session, VirtualGraph vg, Collection<GraphNode<Identifiable>> nodes, IProgressMonitor monitor) throws Exception {\r
+ protected void applyConnections(Session session, VirtualGraph vg, Collection<GraphNode<Identifiable>> nodes, IProgressMonitor monitor) throws Exception {\r
int size = nodes.size();\r
int count = 0;\r
\r
});\r
}\r
\r
- private void applyModifications(ReadGraph g, GraphNode<Identifiable> n, Pair<IdentificationRule, ModificationRule> modRule, Collection<GraphNode<Identifiable>> ruleModified) throws Exception {\r
+ protected void applyModifications(ReadGraph g, GraphNode<Identifiable> n, Pair<IdentificationRule, ModificationRule> modRule, Collection<GraphNode<Identifiable>> ruleModified) throws Exception {\r
if (!n.isDisposed() && modRule.first.matches(g, n)) { // we have to check \r
Collection<GraphNode<Identifiable>> perRule = new ArrayList<GraphNode<Identifiable>>();\r
perRule.add(n);\r
}\r
}\r
\r
- private void applyConnections(WriteGraph g, GraphNode<Identifiable> node) throws Exception {\r
+ protected void applyConnections(WriteGraph g, GraphNode<Identifiable> node) throws Exception {\r
for (Link<Identifiable> link : node.getLinks()) {\r
if (link.isMain()) {\r
\r