MNT-12369 "CryptoDoc: Cluster: removeMasterKey operation removes master key alias only on one cluster node"

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85879 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Steven Glover
2014-09-29 10:09:47 +00:00
parent 4351376552
commit 9b40d6977c
6 changed files with 97 additions and 3 deletions

View File

@@ -20,6 +20,7 @@ package org.alfresco.repo.domain.contentdata;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.alfresco.error.AlfrescoRuntimeException;
@@ -156,6 +157,14 @@ public interface ContentDataDAO
*/
List<ContentUrlKeyEntity> getSymmetricKeysByMasterKeyAlias(String masterKeyAlias, long fromId, int maxResults);
/**
* Count symmetric keys entities for symmetric keys for all master keys
*
* @since 5.0
* @return
*/
Map<String, Integer> countSymmetricKeysForMasterKeys();
/**
* Count symmetric keys entities for symmetric keys that have been encrypted using the given
* master key