org.openrdf.repository.object.trigger
Class TriggerConnection
java.lang.Object
org.openrdf.repository.base.RepositoryConnectionBase
org.openrdf.repository.base.RepositoryConnectionWrapper
org.openrdf.repository.object.trigger.TriggerConnection
- All Implemented Interfaces:
- DelegatingRepositoryConnection, RepositoryConnection
public class TriggerConnection
- extends RepositoryConnectionWrapper
Wrapper used when triggers have been registered with the connection.
- Author:
- James Leigh
| Methods inherited from class org.openrdf.repository.base.RepositoryConnectionWrapper |
add, add, add, add, add, add, add, add, clear, clearNamespaces, close, exportStatements, exportStatements, getContextIDs, getDelegate, getNamespace, getNamespaces, getStatements, hasStatement, hasStatement, isAutoCommit, isDelegatingRead, isDelegatingRemove, isEmpty, isOpen, prepareBooleanQuery, prepareGraphQuery, prepareQuery, prepareTupleQuery, remove, remove, remove, remove, removeNamespace, removeWithoutCommit, rollback, setDelegate, setNamespace, size |
| Methods inherited from class org.openrdf.repository.base.RepositoryConnectionBase |
addInputStreamOrReader, addWithoutCommit, autoCommit, export, getRepository, getValueFactory, prepareBooleanQuery, prepareGraphQuery, prepareQuery, prepareTupleQuery, removeWithoutCommit |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TriggerConnection
public TriggerConnection(RepositoryConnection delegate,
Map<URI,Set<Trigger>> triggers)
setObjectConnection
public void setObjectConnection(ObjectConnection objects)
isDelegatingAdd
protected boolean isDelegatingAdd()
throws RepositoryException
- Overrides:
isDelegatingAdd in class RepositoryConnectionWrapper
- Throws:
RepositoryException
addWithoutCommit
protected void addWithoutCommit(Resource subject,
URI predicate,
Value object,
Resource... contexts)
throws RepositoryException
- Overrides:
addWithoutCommit in class RepositoryConnectionWrapper
- Throws:
RepositoryException
commit
public void commit()
throws RepositoryException
- Specified by:
commit in interface RepositoryConnection- Overrides:
commit in class RepositoryConnectionWrapper
- Throws:
RepositoryException
setAutoCommit
public void setAutoCommit(boolean autoCommit)
throws RepositoryException
- Specified by:
setAutoCommit in interface RepositoryConnection- Overrides:
setAutoCommit in class RepositoryConnectionWrapper
- Throws:
RepositoryException
Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.