mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)
84811: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud) 82464: ACE-1246 "Allow the customer to change the document encryption key" Encrypting content store git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85170 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -118,4 +118,51 @@ public interface ContentDataDAO
|
||||
* Delete a batch of content URL entities.
|
||||
*/
|
||||
int deleteContentUrls(List<Long> ids);
|
||||
|
||||
/**
|
||||
* Get a content url entity by contentUrl
|
||||
*
|
||||
* @since 5.0
|
||||
* @param contentUrl
|
||||
* @return
|
||||
*/
|
||||
ContentUrlEntity getContentUrl(String contentUrl);
|
||||
|
||||
/**
|
||||
* Get a content url entity by contentUrlId
|
||||
*
|
||||
* @since 5.0
|
||||
* @param contentUrlId
|
||||
* @return
|
||||
*/
|
||||
ContentUrlEntity getContentUrl(Long contentUrlId);
|
||||
|
||||
/**
|
||||
* Update a content url
|
||||
*
|
||||
* @since 5.0
|
||||
* @param contentUrlEntity
|
||||
* @return
|
||||
*/
|
||||
void updateContentUrl(ContentUrlEntity contentUrlEntity);
|
||||
|
||||
/**
|
||||
* Get symmetric keys entities for symmetric keys that have been encrypted using the given
|
||||
* master key, starting from 'fromId' and returning at most 'maxResults' entities.
|
||||
*
|
||||
* @since 5.0
|
||||
* @param contentUrlEntity
|
||||
* @return
|
||||
*/
|
||||
List<ContentUrlKeyEntity> getSymmetricKeysByMasterKeyAlias(String masterKeyAlias, long fromId, int maxResults);
|
||||
|
||||
/**
|
||||
* Count symmetric keys entities for symmetric keys that have been encrypted using the given
|
||||
* master key
|
||||
*
|
||||
* @since 5.0
|
||||
* @param masterKeyAlias
|
||||
* @return
|
||||
*/
|
||||
int countSymmetricKeysForMasterKeyAlias(String masterKeyAlias);
|
||||
}
|
||||
|
Reference in New Issue
Block a user