| org.openrdf.repository.base.RepositoryConnectionWrapper org.openrdf.repository.event.base.InterceptingRepositoryConnectionWrapper
InterceptingRepositoryConnectionWrapper | public class InterceptingRepositoryConnectionWrapper extends RepositoryConnectionWrapper implements InterceptingRepositoryConnection(Code) | | Wrapper that notifies interceptors of events on RepositoryConnections before
they happen. Any interceptor can block the operation by returning true from
the relevant notification method. To do so will also cause the notification
process to stop, i.e. no other interceptors will be notified. The order in
which interceptors are notified is unspecified.
author: Herko ter Horst See Also: InterceptingRepositoryWrapper |
addRepositoryConnectionInterceptor | public void addRepositoryConnectionInterceptor(RepositoryConnectionInterceptor interceptor)(Code) | | Registers a RepositoryConnectionInterceptor that will receive
notifications of operations that are performed on this connection.
|
isDelegatingAdd | protected boolean isDelegatingAdd()(Code) | | |
isDelegatingRemove | protected boolean isDelegatingRemove()(Code) | | |
removeRepositoryConnectionInterceptor | public void removeRepositoryConnectionInterceptor(RepositoryConnectionInterceptor interceptor)(Code) | | Removes a registered RepositoryConnectionInterceptor from this
connection.
|
Methods inherited from org.openrdf.repository.base.RepositoryConnectionWrapper | public void add(File file, String baseURI, RDFFormat dataFormat, Resource... contexts) throws IOException, RDFParseException, RepositoryException(Code)(Java Doc) public void add(InputStream in, String baseURI, RDFFormat dataFormat, Resource... contexts) throws IOException, RDFParseException, RepositoryException(Code)(Java Doc) public void add(Iterable<? extends Statement> statements, Resource... contexts) throws RepositoryException(Code)(Java Doc) public void add(Iteration<? extends Statement, E> statementIter, Resource... contexts) throws RepositoryException, E(Code)(Java Doc) public void add(Reader reader, String baseURI, RDFFormat dataFormat, Resource... contexts) throws IOException, RDFParseException, RepositoryException(Code)(Java Doc) public void add(Resource subject, URI predicate, Value object, Resource... contexts) throws RepositoryException(Code)(Java Doc) public void add(Statement st, Resource... contexts) throws RepositoryException(Code)(Java Doc) public void add(URL url, String baseURI, RDFFormat dataFormat, Resource... contexts) throws IOException, RDFParseException, RepositoryException(Code)(Java Doc) protected void addWithoutCommit(Resource subject, URI predicate, Value object, Resource... contexts) throws RepositoryException(Code)(Java Doc) public void clear(Resource... contexts) throws RepositoryException(Code)(Java Doc) public void clearNamespaces() throws RepositoryException(Code)(Java Doc) public void close() throws RepositoryException(Code)(Java Doc) public void commit() throws RepositoryException(Code)(Java Doc) public void exportStatements(Resource subj, URI pred, Value obj, boolean includeInferred, RDFHandler handler, Resource... contexts) throws RepositoryException, RDFHandlerException(Code)(Java Doc) protected void exportStatements(RepositoryResult<Statement> stIter, RDFHandler handler) throws RepositoryException, RDFHandlerException(Code)(Java Doc) public RepositoryResult<Resource> getContextIDs() throws RepositoryException(Code)(Java Doc) public RepositoryConnection getDelegate() throws RepositoryException(Code)(Java Doc) public String getNamespace(String prefix) throws RepositoryException(Code)(Java Doc) public RepositoryResult<Namespace> getNamespaces() throws RepositoryException(Code)(Java Doc) public RepositoryResult<Statement> getStatements(Resource subj, URI pred, Value obj, boolean includeInferred, Resource... contexts) throws RepositoryException(Code)(Java Doc) public boolean hasStatement(Resource subj, URI pred, Value obj, boolean includeInferred, Resource... contexts) throws RepositoryException(Code)(Java Doc) public boolean hasStatement(Statement st, boolean includeInferred, Resource... contexts) throws RepositoryException(Code)(Java Doc) public boolean isAutoCommit() throws RepositoryException(Code)(Java Doc) protected boolean isDelegatingAdd() throws RepositoryException(Code)(Java Doc) protected boolean isDelegatingRead() throws RepositoryException(Code)(Java Doc) protected boolean isDelegatingRemove() throws RepositoryException(Code)(Java Doc) public boolean isEmpty() throws RepositoryException(Code)(Java Doc) public boolean isOpen() throws RepositoryException(Code)(Java Doc) public BooleanQuery prepareBooleanQuery(QueryLanguage ql, String query, String baseURI) throws MalformedQueryException, RepositoryException(Code)(Java Doc) public GraphQuery prepareGraphQuery(QueryLanguage ql, String query, String baseURI) throws MalformedQueryException, RepositoryException(Code)(Java Doc) public Query prepareQuery(QueryLanguage ql, String query, String baseURI) throws MalformedQueryException, RepositoryException(Code)(Java Doc) public TupleQuery prepareTupleQuery(QueryLanguage ql, String query, String baseURI) throws MalformedQueryException, RepositoryException(Code)(Java Doc) public void remove(Iterable<? extends Statement> statements, Resource... contexts) throws RepositoryException(Code)(Java Doc) public void remove(Iteration<? extends Statement, E> statementIter, Resource... contexts) throws RepositoryException, E(Code)(Java Doc) public void remove(Resource subject, URI predicate, Value object, Resource... contexts) throws RepositoryException(Code)(Java Doc) public void remove(Statement st, Resource... contexts) throws RepositoryException(Code)(Java Doc) public void removeNamespace(String prefix) throws RepositoryException(Code)(Java Doc) protected void removeWithoutCommit(Resource subject, URI predicate, Value object, Resource... contexts) throws RepositoryException(Code)(Java Doc) public void rollback() throws RepositoryException(Code)(Java Doc) public void setAutoCommit(boolean autoCommit) throws RepositoryException(Code)(Java Doc) public void setDelegate(RepositoryConnection delegate)(Code)(Java Doc) public void setNamespace(String prefix, String name) throws RepositoryException(Code)(Java Doc) public long size(Resource... contexts) throws RepositoryException(Code)(Java Doc)
|
|
|