Package org.nuxeo.ecm.core.storage.dbs
Interface DBSRepository
-
- All Superinterfaces:
LockManager
,Repository
- All Known Implementing Classes:
DBSCachingRepository
,DBSRepositoryBase
,MemRepository
,MongoDBRepository
public interface DBSRepository extends Repository, LockManager
Interface for aRepository
for Document-Based Storage.- Since:
- 5.9.4
-
-
Field Summary
-
Fields inherited from interface org.nuxeo.ecm.core.model.Repository
CAPABILITY_QUERY_BLOB_KEYS, CAPABILITY_REPOSITORY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description List<List<String>>
getBlobKeysPaths()
Gets the list of blob keys paths of all possible blobs in all schemas.BlobManager
getBlobManager()
Gets the blob manager.DBSConnection
getConnection()
Gets a new connection to this repository.LockManager
getLockManager()
Gets the lock manager for this repository.boolean
isChangeTokenEnabled()
Checks if database-managed document change tokens are enabled.boolean
isFulltextDisabled()
Checks if fulltext indexing (and search) is disabled.boolean
isFulltextSearchDisabled()
Checks if fulltext search is disabled.boolean
isFulltextStoredInBlob()
Checks if fulltext is stored in a blob.boolean
supportsTransactions()
Checks whether this repository supports transactions.default void
updateCapabilities()
Update repository capabilities after a migration.-
Methods inherited from interface org.nuxeo.ecm.core.api.lock.LockManager
clearLockManagerCaches, closeLockManager, getLock, removeLock, setLock
-
Methods inherited from interface org.nuxeo.ecm.core.model.Repository
getActiveSessionsCount, getCapability, getFulltextConfiguration, getName, getSession, hasCapability, markReferencedBlobs, shutdown
-
-
-
-
Method Detail
-
getConnection
DBSConnection getConnection()
Gets a new connection to this repository.- Returns:
- a new connection
- Since:
- 11.1
-
getBlobManager
BlobManager getBlobManager()
Gets the blob manager.- Returns:
- the blob manager.
-
getLockManager
LockManager getLockManager()
Gets the lock manager for this repository.- Returns:
- the lock manager
- Since:
- 7.4
-
isFulltextDisabled
boolean isFulltextDisabled()
Checks if fulltext indexing (and search) is disabled.- Returns:
true
if fulltext indexing is disabled,false
if it is enabled- Since:
- 7.1, 6.0-HF02
-
isFulltextStoredInBlob
boolean isFulltextStoredInBlob()
Checks if fulltext is stored in a blob.- Returns:
true
if fulltext is stored in a blob,false
if it is stored as a regular string- Since:
- 11.1
-
isFulltextSearchDisabled
boolean isFulltextSearchDisabled()
Checks if fulltext search is disabled.- Returns:
true
if fulltext search is disabled,false
if it is enabled- Since:
- 10.2
-
isChangeTokenEnabled
boolean isChangeTokenEnabled()
Checks if database-managed document change tokens are enabled.- Returns:
true
if the database maintains document change tokens- Since:
- 9.1
-
supportsTransactions
boolean supportsTransactions()
Checks whether this repository supports transactions.- Returns:
true
if the repository supports transactions- Since:
- 11.1
- See Also:
DBSConnection.begin()
,DBSConnection.commit()
,DBSConnection.rollback()
-
getBlobKeysPaths
List<List<String>> getBlobKeysPaths()
Gets the list of blob keys paths of all possible blobs in all schemas.Each "path" is a list of path components. Example:
[[content, data], [files, file, data], ...]
- Since:
- 11.5
-
updateCapabilities
default void updateCapabilities()
Update repository capabilities after a migration. Internal use only.- Since:
- 2023.0
-
-