org.dftproject.genesis.core.data
Interface IDataListener


public interface IDataListener

A data listener receives notifications of statement insertions and deletions.


Method Summary
 void handleDelete(IResourceNode graph, IResourceNode subject, IResourceNode predicate, INode object)
          Notification that the given statement has been deleted.
 void handleInsert(IResourceNode graph, IResourceNode subject, IResourceNode predicate, INode object)
          Notification that the given statement has been inserted.
 

Method Detail

handleInsert

void handleInsert(IResourceNode graph,
                  IResourceNode subject,
                  IResourceNode predicate,
                  INode object)
Notification that the given statement has been inserted.

Parameters:
graph - the graph
subject - the subject
predicate - the predicate
object - the object

handleDelete

void handleDelete(IResourceNode graph,
                  IResourceNode subject,
                  IResourceNode predicate,
                  INode object)
Notification that the given statement has been deleted.

Parameters:
graph - the graph
subject - the subject
predicate - the predicate
object - the object