Package org.nuxeo.ecm.core.model
Interface Repository
- All Known Subinterfaces:
DBSRepository
- All Known Implementing Classes:
DBSCachingRepository
,DBSRepositoryBase
,MemRepository
,MongoDBRepository
,RepositoryImpl
public interface Repository
Interface to manage a low-level repository.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
Deprecated.getCapability
(String name) Gets the value of the given capability for this repository.Gets the fulltext configuration for this repository.getName()
default boolean
hasCapability
(String name) Checks whether this repository has the given capability.void
markReferencedBlobs
(BiConsumer<String, String> markerCallback) Marks the blobs in use by passing them to the provided callback (taking the blob key and the repository name).void
shutdown()
-
Field Details
-
CAPABILITY_REPOSITORY
- Since:
- 2023
- See Also:
-
CAPABILITY_QUERY_BLOB_KEYS
Whether this repository has aecm:blobKeys
field which can be queried.- Since:
- 11.5
- See Also:
-
-
Method Details
-
getName
String getName() -
getSession
Session getSession() -
shutdown
void shutdown() -
getActiveSessionsCount
Deprecated.since 11.1, useRepositoryService.getActiveSessionsCount(String)
instead -
markReferencedBlobs
Marks the blobs in use by passing them to the provided callback (taking the blob key and the repository name).- Since:
- 2021.8
-
getFulltextConfiguration
FulltextConfiguration getFulltextConfiguration()Gets the fulltext configuration for this repository.- Since:
- 10.3 (already available since 8.1 for DBSRepository)
-
hasCapability
Checks whether this repository has the given capability.- Since:
- 11.5
-
getCapability
Gets the value of the given capability for this repository.- Since:
- 11.5
-
RepositoryService.getActiveSessionsCount(String)
instead