public interface MetadataRepositoryConnector extends RepositoryConnector
| Modifier and Type | Method and Description |
|---|---|
ContentMetadata |
getMetadata(ContentId contentId)
Return the ContentMetadata that is associated with the given ContentId.
|
void |
updateMetadata(ContentMetadata metadata)
Update the metadata of existing content with the provided metadata.
|
clearContent, deleteContent, getConfiguration, getContent, getRepositorySize, getRepositorySizeLimit, getRepositorySizeLimitRatio, getRepositorySizeLimitRatio, removeConnector, storeContentContentMetadata getMetadata(ContentId contentId)
contentId - The ContentId for the ContentTO to be read.ContentRepositoryException - in case reading the metadata failedvoid updateMetadata(ContentMetadata metadata) throws ContentRepositoryException
metadata - The ContentMetadata to update.ContentRepositoryException - in case the metadata cannot be updated.Copyright © 2019 Communote team. All rights reserved.