org.openrdf.sail.auditing
Class AuditingConnection

java.lang.Object
  extended by org.openrdf.sail.helpers.SailConnectionWrapper
      extended by org.openrdf.sail.auditing.AuditingConnection
All Implemented Interfaces:
SailConnection

public class AuditingConnection
extends SailConnectionWrapper


Constructor Summary
AuditingConnection(AuditingSail sail, SailConnection wrappedCon)
           
 
Method Summary
 void addStatement(Resource subj, URI pred, Value obj, Resource... contexts)
           
 void commit()
           
 void removeStatements(Resource subj, URI pred, Value obj, Resource... contexts)
           
 
Methods inherited from class org.openrdf.sail.helpers.SailConnectionWrapper
clear, clearNamespaces, close, evaluate, getContextIDs, getNamespace, getNamespaces, getStatements, getWrappedConnection, isOpen, removeNamespace, rollback, setNamespace, size, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuditingConnection

public AuditingConnection(AuditingSail sail,
                          SailConnection wrappedCon)
                   throws DatatypeConfigurationException
Throws:
DatatypeConfigurationException
Method Detail

addStatement

public void addStatement(Resource subj,
                         URI pred,
                         Value obj,
                         Resource... contexts)
                  throws SailException
Specified by:
addStatement in interface SailConnection
Overrides:
addStatement in class SailConnectionWrapper
Throws:
SailException

removeStatements

public void removeStatements(Resource subj,
                             URI pred,
                             Value obj,
                             Resource... contexts)
                      throws SailException
Specified by:
removeStatements in interface SailConnection
Overrides:
removeStatements in class SailConnectionWrapper
Throws:
SailException

commit

public void commit()
            throws SailException
Specified by:
commit in interface SailConnection
Overrides:
commit in class SailConnectionWrapper
Throws:
SailException


Copyright © 2004-2009 James Leigh Services Inc.. All Rights Reserved.