Package org.nuxeo.ecm.core.storage.dbs
Interface DBSRepository
- All Superinterfaces:
LockManager
,Repository
- All Known Implementing Classes:
DBSCachingRepository
,DBSRepositoryBase
,MemRepository
,MongoDBRepository
Interface for a
Repository
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
Modifier and TypeMethodDescriptionGets the list of blob keys paths of all possible blobs in all schemas.Gets the blob manager.Gets a new connection to this repository.Gets the lock manager for this repository.boolean
Checks if database-managed document change tokens are enabled.boolean
Checks if fulltext indexing (and search) is disabled.boolean
Checks if fulltext search is disabled.boolean
Checks if fulltext is stored in a blob.boolean
Checks whether this repository supports transactions.void
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 Details
-
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:
-
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
void updateCapabilities()Update repository capabilities after a migration. Internal use only.- Since:
- 2023.0
-