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
public abstract class DBSConnectionBase extends Object implements DBSConnection
Interface for a connection to aDBSRepository
. 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
Fields Modifier and Type Field Description protected DBSRepositoryBase
repository
-
Constructor Summary
Constructors Constructor Description DBSConnectionBase(DBSRepositoryBase repository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ACPImpl
getRootACP()
String
getRootId()
Gets the root id.void
initRoot()
Initializes the root and its ACP.-
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 Detail
-
repository
protected final DBSRepositoryBase repository
-
-
Constructor Detail
-
DBSConnectionBase
public DBSConnectionBase(DBSRepositoryBase repository)
-
-
Method Detail
-
getRootId
public String 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
protected ACPImpl getRootACP()
-
-