Class RepositoryConnectionInterceptorAdapter
java.lang.Object
org.eclipse.rdf4j.repository.event.base.RepositoryConnectionInterceptorAdapter
- All Implemented Interfaces:
RepositoryConnectionInterceptor
public class RepositoryConnectionInterceptorAdapter
extends Object
implements RepositoryConnectionInterceptor
- Author:
- Herko ter Horst
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbegin(RepositoryConnection conn) booleanclear(RepositoryConnection conn, Resource... contexts) booleanbooleanclose(RepositoryConnection conn) booleancommit(RepositoryConnection conn) booleanexecute(RepositoryConnection conn, QueryLanguage ql, String update, String baseURI, Update operation) booleanremove(RepositoryConnection conn, Resource subject, IRI predicate, Value object, Resource... contexts) booleanremoveNamespace(RepositoryConnection conn, String prefix) booleanrollback(RepositoryConnection conn) booleansetAutoCommit(RepositoryConnection conn, boolean autoCommit) Deprecated.booleansetNamespace(RepositoryConnection conn, String prefix, String name)
-
Constructor Details
-
RepositoryConnectionInterceptorAdapter
public RepositoryConnectionInterceptorAdapter()
-
-
Method Details
-
add
public boolean add(RepositoryConnection conn, Resource subject, IRI predicate, Value object, Resource... contexts) - Specified by:
addin interfaceRepositoryConnectionInterceptor- Parameters:
conn- the RepositoryConnection to perform theRepositoryConnection.add(Resource, IRI, Value, Resource...)operation on.- Returns:
- true if the interceptor has been denied access to the add operation, false otherwise.
-
begin
- Specified by:
beginin interfaceRepositoryConnectionInterceptor- Parameters:
conn- the RepositoryConnection to perform theRepositoryConnection.begin()orRepositoryConnection.begin(org.eclipse.rdf4j.IsolationLevel)operation on.- Returns:
- true if the interceptor has been denied access to the begin operation, false otherwise.
-
clear
- Specified by:
clearin interfaceRepositoryConnectionInterceptor- Parameters:
conn- the RepositoryConnection to perform theRepositoryConnection.clear(Resource...)operation on.- Returns:
- true if the interceptor has been denied access to the clear operation, false otherwise.
-
clearNamespaces
- Specified by:
clearNamespacesin interfaceRepositoryConnectionInterceptor- Parameters:
conn- the RepositoryConnection to perform theRepositoryConnection.clearNamespaces()operation on.- Returns:
- true if the interceptor has been denied access to the clearNamespaces operation, false otherwise.
-
close
- Specified by:
closein interfaceRepositoryConnectionInterceptor- Parameters:
conn- the RepositoryConnection to perform theRepositoryConnection.close()operation on.- Returns:
- true if the interceptor has been denied access to the close operation, false otherwise.
-
commit
- Specified by:
commitin interfaceRepositoryConnectionInterceptor- Parameters:
conn- the RepositoryConnection to perform theRepositoryConnection.commit()operation on.- Returns:
- true if the interceptor has been denied access to the commit operation, false otherwise.
-
remove
public boolean remove(RepositoryConnection conn, Resource subject, IRI predicate, Value object, Resource... contexts) - Specified by:
removein interfaceRepositoryConnectionInterceptor- Parameters:
conn- the RepositoryConnection to perform theRepositoryConnection.remove(Resource, IRI, Value, Resource...)operation on.- Returns:
- true if the interceptor has been denied access to the remove operation, false otherwise.
-
removeNamespace
- Specified by:
removeNamespacein interfaceRepositoryConnectionInterceptor- Parameters:
conn- the RepositoryConnection to perform theRepositoryConnection.removeNamespace(String)operation on.- Returns:
- true if the interceptor has been denied access to the removeNamespace operation, false otherwise.
-
rollback
- Specified by:
rollbackin interfaceRepositoryConnectionInterceptor- Parameters:
conn- the RepositoryConnection to perform theRepositoryConnection.rollback()operation on.- Returns:
- true if the interceptor has been denied access to the rollback operation, false otherwise.
-
setAutoCommit
Deprecated.- Specified by:
setAutoCommitin interfaceRepositoryConnectionInterceptor- Parameters:
conn- the RepositoryConnection to perform theRepositoryConnectionInterceptor.setAutoCommit(RepositoryConnection, boolean)operation on.- Returns:
- true if the interceptor has been denied access to the setAutoCommit operation, false otherwise.
-
setNamespace
- Specified by:
setNamespacein interfaceRepositoryConnectionInterceptor- Parameters:
conn- the RepositoryConnection to perform theRepositoryConnection.setNamespace(String, String)operation on.- Returns:
- true if the interceptor has been denied access to the setNamespace operation, false otherwise.
-
execute
public boolean execute(RepositoryConnection conn, QueryLanguage ql, String update, String baseURI, Update operation) - Specified by:
executein interfaceRepositoryConnectionInterceptor- Parameters:
conn- the RepositoryConnection to perform the query execution operations on.- Returns:
- true if the interceptor has been denied access to the query execution operations, false otherwise.
-