Interface RepositoryConnectionListener
- All Known Implementing Classes:
DebugRepositoryConnectionListener
,RepositoryConnectionListenerAdapter
public interface RepositoryConnectionListener
Listener interface for connection modification.
- Author:
- James Leigh
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
begin
(RepositoryConnection conn) void
clear
(RepositoryConnection conn, Resource... contexts) void
void
close
(RepositoryConnection conn) void
commit
(RepositoryConnection conn) void
execute
(RepositoryConnection conn, QueryLanguage ql, String update, String baseURI, Update operation) void
remove
(RepositoryConnection conn, Resource subject, IRI predicate, Value object, Resource... contexts) void
removeNamespace
(RepositoryConnection conn, String prefix) void
rollback
(RepositoryConnection conn) void
setAutoCommit
(RepositoryConnection conn, boolean autoCommit) Deprecated.void
setNamespace
(RepositoryConnection conn, String prefix, String name)
-
Method Details
-
close
-
setAutoCommit
Deprecated.Usebegin(RepositoryConnection)
instead.- Parameters:
conn
-autoCommit
-
-
begin
-
commit
-
rollback
-
add
void add(RepositoryConnection conn, Resource subject, IRI predicate, Value object, Resource... contexts) -
remove
void remove(RepositoryConnection conn, Resource subject, IRI predicate, Value object, Resource... contexts) -
clear
-
setNamespace
-
removeNamespace
-
clearNamespaces
-
execute
void execute(RepositoryConnection conn, QueryLanguage ql, String update, String baseURI, Update operation)
-
begin(RepositoryConnection)
instead.