Interface SharedDataStore
- All Known Subinterfaces:
BlobTrackingStore
- All Known Implementing Classes:
AbstractSharedCachingDataStore
,CachingFileDataStore
,DataStoreBlobStore
,OakFileDataStore
Deprecated.
The Jackrabbit Oak Blob Plugins library is designed for Oak-internal use only and thus deprecated. It will not be part of the AEM SDK after April 2025.
Interface to be implemented by a shared data store.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Deprecated.Explicitly identifies the type of the data store -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMetadataRecord
(File f, String name) Deprecated.Adds the root record.void
addMetadataRecord
(InputStream stream, String name) Deprecated.Adds the root record.void
deleteAllMetadataRecords
(String prefix) Deprecated.Deletes all records matching the given prefix.boolean
deleteMetadataRecord
(String name) Deprecated.Deletes the root record represented by the given parameters.getAllMetadataRecords
(String prefix) Deprecated.Gets the all root records.Deprecated.Retrieved an iterator over all DataRecords.getMetadataRecord
(String name) Deprecated.Retrieves the metadata record with the given nameDeprecated.Retrieves the record for the given identifierdefault @Nullable String
Deprecated.Returns the repository id (identifier for the repository in the DataStore)getType()
Deprecated.Gets the type.boolean
metadataRecordExists
(String name) Deprecated.Checks if the metadata record with the name existsdefault void
setRepositoryId
(String repositoryId) Deprecated.Sets the repository id to identify repository in the DataStore
-
Method Details
-
addMetadataRecord
Deprecated.Adds the root record.- Parameters:
stream
- the streamname
- the name of the root record- Throws:
DataStoreException
- the data store exception
-
addMetadataRecord
Deprecated.Adds the root record.- Parameters:
f
- the filename
- the name of the root record- Throws:
DataStoreException
- the data store exception
-
getMetadataRecord
Deprecated.Retrieves the metadata record with the given name- Parameters:
name
- the name of the record- Returns:
-
metadataRecordExists
Deprecated.Checks if the metadata record with the name exists- Parameters:
name
-- Returns:
-
getAllMetadataRecords
Deprecated.Gets the all root records.- Returns:
- the all root records
-
deleteMetadataRecord
Deprecated.Deletes the root record represented by the given parameters.- Parameters:
name
- the name of the root record- Returns:
- success/failure
-
deleteAllMetadataRecords
Deprecated.Deletes all records matching the given prefix.- Parameters:
prefix
- metadata type identifier
-
getAllRecords
Deprecated.Retrieved an iterator over all DataRecords.- Returns:
- iterator over DataRecords
- Throws:
DataStoreException
-
getRecordForId
Deprecated.Retrieves the record for the given identifier- Parameters:
id
- the if of the record- Returns:
- data record
- Throws:
DataStoreException
-
getType
SharedDataStore.Type getType()Deprecated.Gets the type.- Returns:
- the type
-
getRepositoryId
Deprecated.Returns the repository id (identifier for the repository in the DataStore)- Returns:
- repository id
-
setRepositoryId
Deprecated.Sets the repository id to identify repository in the DataStore- Parameters:
repositoryId
-- Throws:
DataStoreException
-