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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.-
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, getFulltextConfiguration, getName, getSession, markReferencedBinaries, 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()
-
-