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 aRepositoryfor Document-Based Storage.- Since:
- 5.9.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BlobManagergetBlobManager()Gets the blob manager.DBSConnectiongetConnection()Gets a new connection to this repository.LockManagergetLockManager()Gets the lock manager for this repository.booleanisChangeTokenEnabled()Checks if database-managed document change tokens are enabled.booleanisFulltextDisabled()Checks if fulltext indexing (and search) is disabled.booleanisFulltextSearchDisabled()Checks if fulltext search is disabled.booleanisFulltextStoredInBlob()Checks if fulltext is stored in a blob.booleansupportsTransactions()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:
trueif fulltext indexing is disabled,falseif it is enabled- Since:
- 7.1, 6.0-HF02
-
isFulltextStoredInBlob
boolean isFulltextStoredInBlob()
Checks if fulltext is stored in a blob.- Returns:
trueif fulltext is stored in a blob,falseif it is stored as a regular string- Since:
- 11.1
-
isFulltextSearchDisabled
boolean isFulltextSearchDisabled()
Checks if fulltext search is disabled.- Returns:
trueif fulltext search is disabled,falseif it is enabled- Since:
- 10.2
-
isChangeTokenEnabled
boolean isChangeTokenEnabled()
Checks if database-managed document change tokens are enabled.- Returns:
trueif the database maintains document change tokens- Since:
- 9.1
-
supportsTransactions
boolean supportsTransactions()
Checks whether this repository supports transactions.- Returns:
trueif the repository supports transactions- Since:
- 11.1
- See Also:
DBSConnection.begin(),DBSConnection.commit(),DBSConnection.rollback()
-
-