Package org.nuxeo.ecm.core.storage.dbs
Class DBSConnectionBase
java.lang.Object
org.nuxeo.ecm.core.storage.dbs.DBSConnectionBase
- All Implemented Interfaces:
AutoCloseable
,LockManager
,DBSConnection
- Direct Known Subclasses:
MemConnection
,MongoDBConnection
Interface for a connection to a
DBSRepository
. The connection maintains state when it is transactional.- Since:
- 11.1
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.nuxeo.ecm.core.storage.dbs.DBSConnection
DBSConnection.DBSQueryOperator
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.ecm.core.storage.dbs.DBSConnection
begin, close, commit, createState, createStates, deleteStates, generateNewId, getDescendants, getDescendants, hasChild, queryAndFetch, queryKeyValue, queryKeyValue, queryKeyValuePresence, queryKeyValueWithOperator, readChildState, readPartialState, readState, readStates, rollback, scroll, scroll, updateState
Methods inherited from interface org.nuxeo.ecm.core.api.lock.LockManager
clearLockManagerCaches, closeLockManager, getLock, removeLock, setLock
-
Field Details
-
repository
-
-
Constructor Details
-
DBSConnectionBase
-
-
Method Details
-
getRootId
Description copied from interface:DBSConnection
Gets the root id.- Specified by:
getRootId
in interfaceDBSConnection
- Returns:
- the root id.
-
initRoot
public void initRoot()Initializes the root and its ACP. -
getRootACP
-