ACE-3195 "Master key removal leads to Document Library and Dashboards errors"

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89115 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Steven Glover
2014-10-24 14:05:03 +00:00
parent 613db46e5f
commit 5018316faf
4 changed files with 140 additions and 6 deletions

View File

@@ -147,6 +147,24 @@ public interface ContentDataDAO
*/
void updateContentUrl(ContentUrlEntity contentUrlEntity);
/**
* Updates the content key for the given content url
*
* @since 5.0
* @param contentUrl
* @param contentUrlKeyEntity
*/
boolean updateContentUrlKey(String contentUrl, ContentUrlKeyEntity contentUrlKeyEntity);
/**
* Updates the content key for the given content url
*
* @since 5.0
* @param contentUrlId
* @param contentUrlKeyEntity
*/
boolean updateContentUrlKey(long contentUrlId, ContentUrlKeyEntity contentUrlKey);
/**
* 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.