public void event(Object dest, Event event) { graph.getEventManager().notifyEvent( graph , GraphEvents.finishRead ) ; } } ;
@Override public void event(Object dest, Event event) { graph.getEventManager().notifyEvent( graph , GraphEvents.finishRead ) ; } } ;
public void event(Object dest, Event event) { graph.getEventManager().notifyEvent( graph , GraphEvents.startRead ) ; } } ;
@Override public void event(Object dest, Event event) { graph.getEventManager().notifyEvent( graph , GraphEvents.startRead ) ; } } ;
@Override @Deprecated public void removeAll() { base.removeAll(); manager.notifyEvent( graph, GraphEvents.removeAll ); }
@Override @Deprecated public void remove( Node s, Node p, Node o ) { removeAll( graph, s, p, o ); manager.notifyEvent( graph, GraphEvents.remove( s, p, o ) ); }
@Override @Deprecated public void remove( Node s, Node p, Node o ) { base.remove( s, p, o ); manager.notifyEvent( graph, GraphEvents.remove( s, p, o ) ); }
@Override public void clear() { base.clear() ; getEventManager().notifyEvent(this, GraphEvents.removeAll ) ; }
/** Remove all the statements from this graph. */ @Override public void clear() { GraphUtil.remove(this, Node.ANY, Node.ANY, Node.ANY) ; getEventManager().notifyEvent(this, GraphEvents.removeAll ) ; }
/** Clear this GraphMem, ie remove all its triples (delegated to the store). */ @Override public void clear() { clearStore(); getEventManager().notifyEvent(this, GraphEvents.removeAll ) ; }
/** Remove all triples that match by find(s, p, o) */ @Override public void remove( Node s, Node p, Node o ) { GraphUtil.remove(this, s, p, o) ; getEventManager().notifyEvent(this, GraphEvents.remove(s, p, o) ) ; }
@Override public Model notifyEvent( Object e ) { getGraph().getEventManager().notifyEvent( getGraph(), e ); return this; } }
@Override public void remove(Node s, Node p, Node o) { base.remove(s,p,o) ; getEventManager().notifyEvent(this, GraphEvents.remove(s, p, o) ) ; }
@Override @Deprecated public void remove( Node s, Node p, Node o ) { BaseInfGraph g = (BaseInfGraph) graph; g.getRawGraph().remove( s, p, o ); g.discardState(); g.rebind(); manager.notifyEvent( graph, GraphEvents.remove( s, p, o ) ); }
@Override @Deprecated public void removeAll() { BaseInfGraph g = (BaseInfGraph) graph; g.getRawGraph().clear(); g.discardState(); g.rebind(); g.getEventManager().notifyEvent( g, GraphEvents.removeAll ); } }
@Override public void clear() { ExtendedIterator<Triple> allTriples = getMatches(Node.ANY, Node.ANY, Node.ANY); for (Triple t : allTriples.toList()) { this.delete(t); } getEventManager().notifyEvent(this, GraphEvents.removeAll); }
@Override public void clear() { try { updateProcessor.processDelete(clearCommand()); getEventManager().notifyEvent(this, GraphEvents.removeAll); } catch (final Exception exception) { LOGGER.error(MessageCatalog._00113_NWS_FAILURE, exception); throw new DeleteDeniedException("Unable to clean this graph " + this); } }
@Override public void clear() { getRawGraph().clear() ; discardState(); rebind(); getEventManager().notifyEvent( this, GraphEvents.removeAll ); }
@Override public void remove(Node s, Node p, Node o) { ExtendedIterator<Triple> allTriples = find(s, p, o); for (Triple t : allTriples.toList()) { this.delete(t); } getEventManager().notifyEvent(this, GraphEvents.remove(s, p, o)); }
@Override public void remove( Node s, Node p, Node o ) { getRawGraph().remove( s, p, o ); discardState(); rebind(); getEventManager().notifyEvent( this, GraphEvents.remove( s, p, o ) ); }