public interface AclCrudDAO
Modifier and Type | Method and Description |
---|---|
void |
addAclMembersToAcl(long aclId,
List<Long> aceIds,
int depth) |
void |
addAclMembersToAcl(long aclId,
List<org.alfresco.util.Pair<Long,Integer>> aceIdsWithDepths) |
Ace |
createAce(Permission permission,
Authority authority,
ACEType type,
org.alfresco.service.cmr.security.AccessStatus accessStatus) |
Acl |
createAcl(AclEntity entity) |
Long |
createAclChangeSet() |
Permission |
createPermission(PermissionReference permissionReference) |
int |
deleteAces(List<Long> aceEntityIds) |
void |
deleteAcl(long aclEntityId) |
void |
deleteAclChangeSet(Long aclChangeSetEntityId) |
int |
deleteAclMembers(List<Long> aclMemberIds) |
int |
deleteAclMembersByAcl(long aclEntityId) |
void |
deleteAuthority(long authorityEntityId) |
void |
deletePermission(long permissionEntityId) |
Ace |
getAce(long aceEntityId) |
Ace |
getAce(Permission permission,
Authority authority,
ACEType type,
org.alfresco.service.cmr.security.AccessStatus accessStatus) |
List<Map<String,Object>> |
getAcesAndAuthoritiesByAcl(long aclEntityId) |
List<Ace> |
getAcesByAuthority(long authorityEntityId) |
Acl |
getAcl(Long aclEntityId) |
AclChangeSet |
getAclChangeSet(Long aclChangeSetEntityId) |
AclUpdateEntity |
getAclForUpdate(long aclEntityId) |
List<AclMember> |
getAclMembersByAcl(long aclEntityId) |
List<AclMemberEntity> |
getAclMembersByAclForUpdate(long aclEntityId) |
List<AclMember> |
getAclMembersByAuthority(String authorityName) |
List<Long> |
getAclsThatInheritFromAcl(long aclEntityId) |
List<Long> |
getADMNodesByAcl(long aclEntityId,
int maxResults) |
Authority |
getAuthority(long authorityEntityId) |
Authority |
getAuthority(String authorityName) |
Long |
getLatestAclByGuid(String aclGuid) |
Long |
getMaxChangeSetCommitTime() |
Long |
getMaxChangeSetIdByCommitTime(long maxCommitTime) |
Ace |
getOrCreateAce(Permission permission,
Authority authority,
ACEType type,
org.alfresco.service.cmr.security.AccessStatus accessStatus) |
Authority |
getOrCreateAuthority(String authorityName) |
Permission |
getOrCreatePermission(PermissionReference permissionReference) |
Permission |
getPermission(long permissionEntityId) |
Permission |
getPermission(PermissionReference permissionReference) |
void |
renameAuthority(String authorityNameBefore,
String authorityAfter) |
void |
renamePermission(org.alfresco.service.namespace.QName oldTypeQName,
String oldName,
org.alfresco.service.namespace.QName newTypeQName,
String newName) |
void |
setCheckAclConsistency()
Transaction-scope setting to make the DAO guarantee the validity of all caches: some cache data will be reloaded;
some cache data will be considered safe.
|
void |
updateAcl(AclUpdateEntity entity) |
void |
updateAclChangeSet(Long aclChangeSetEntityId,
long commitTimeMs) |
void |
updateAclMember(AclMemberEntity entity) |
void setCheckAclConsistency()
AclUpdateEntity getAclForUpdate(long aclEntityId)
void updateAcl(AclUpdateEntity entity)
void deleteAcl(long aclEntityId)
Ace createAce(Permission permission, Authority authority, ACEType type, org.alfresco.service.cmr.security.AccessStatus accessStatus)
Ace getAce(Permission permission, Authority authority, ACEType type, org.alfresco.service.cmr.security.AccessStatus accessStatus)
Ace getAce(long aceEntityId)
Ace getOrCreateAce(Permission permission, Authority authority, ACEType type, org.alfresco.service.cmr.security.AccessStatus accessStatus)
Long createAclChangeSet()
void updateAclChangeSet(Long aclChangeSetEntityId, long commitTimeMs)
AclChangeSet getAclChangeSet(Long aclChangeSetEntityId)
void deleteAclChangeSet(Long aclChangeSetEntityId)
void addAclMembersToAcl(long aclId, List<org.alfresco.util.Pair<Long,Integer>> aceIdsWithDepths)
List<AclMemberEntity> getAclMembersByAclForUpdate(long aclEntityId)
void updateAclMember(AclMemberEntity entity)
int deleteAclMembersByAcl(long aclEntityId)
Permission createPermission(PermissionReference permissionReference)
Permission getPermission(long permissionEntityId)
Permission getPermission(PermissionReference permissionReference)
Permission getOrCreatePermission(PermissionReference permissionReference)
void renamePermission(org.alfresco.service.namespace.QName oldTypeQName, String oldName, org.alfresco.service.namespace.QName newTypeQName, String newName)
void deletePermission(long permissionEntityId)
Authority getAuthority(long authorityEntityId)
void deleteAuthority(long authorityEntityId)
Long getMaxChangeSetCommitTime()
Long getMaxChangeSetIdByCommitTime(long maxCommitTime)
maxCommitTime
- longCopyright © 2005–2017 Alfresco Software. All rights reserved.