|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AclDaoComponent
DAO component for creating, deleting, manipulating and finding ACLs and associated ACEs and anc ACE context.
Method Summary | |
---|---|
java.lang.Long |
createAccessControlList(AccessControlListProperties properties)
Create a new ACL with the given properties. |
java.lang.Long |
createAccessControlList(AccessControlListProperties properties,
java.util.List aces,
java.lang.Long inherited)
|
void |
createAuthority(java.lang.String authority)
|
java.util.List |
deleteAccessControlEntries(java.lang.Long id,
AccessControlEntry pattern)
Delete some locally set ACLs according to the pattern |
java.util.List |
deleteAccessControlEntries(java.lang.String authority)
Delete all ACEs that reference this authority as no longer valid. |
java.util.List |
deleteAccessControlList(java.lang.Long id)
Delete an ACL |
java.util.List |
deleteInheritedAccessControlEntries(java.lang.Long id)
Delete the ACEs in position > 0 (those not set directly on the ACL but inherited) No affect on any other acl |
java.util.List |
deleteLocalAccessControlEntries(java.lang.Long id)
Delete the ACEs in position 0 (those set directly on the ACL and not inherited) Cleans up existing acls |
java.util.List |
disableInheritance(java.lang.Long id,
boolean setInheritedOnAcl)
Disable inheritance |
java.util.List |
enableInheritance(java.lang.Long id,
java.lang.Long parent)
Enable inheritance |
AccessControlList |
getAccessControlList(java.lang.Long id)
Get an ACL id. |
AccessControlListProperties |
getAccessControlListProperties(java.lang.Long id)
Get the ACL properties |
java.util.List |
getAvmIndirections()
|
java.util.List |
getAvmNodesByACL(java.lang.Long id)
|
java.lang.Long |
getCopy(java.lang.Long toCopy,
java.lang.Long toInheritFrom,
ACLCopyMode mode)
|
DbAccessControlList |
getDbAccessControlList(java.lang.Long id)
Temp support to get a DBAccessControlList to wire up ... |
DbAccessControlList |
getDbAccessControlListCopy(java.lang.Long toCopy,
java.lang.Long toInheritFrom,
ACLCopyMode mode)
|
java.lang.Long |
getDmNodeCount()
|
java.lang.Long |
getDmNodeCountWithNewACLS(java.lang.Long max)
|
java.lang.Long |
getInheritedAccessControlList(java.lang.Long id)
Get the id of the ACL inherited from the one given May return null if there is nothing to inherit -> OLD world where nodes have thier own ACL and we wlak the parent chain |
java.lang.Long |
getMaxAclId()
|
java.lang.Long |
getNewInStore()
|
java.util.List |
invalidateAccessControlEntries(java.lang.String authority)
Mark all ACEs that reference this authority as no longer valid - the authority has been deleted |
java.util.List |
mergeInheritedAccessControlList(java.lang.Long inherited,
java.lang.Long target)
Merge inherited ACEs in to target - the merged ACEs will go in at thier current position +1 |
void |
onDeleteAccessControlList(long id)
hibernate lifecycle support |
java.util.List |
setAccessControlEntries(java.lang.Long id,
java.util.List aces)
Add an access control entry |
java.util.List |
setAccessControlEntry(java.lang.Long id,
AccessControlEntry ace)
Add an access control entry |
boolean |
supportsProgressTracking()
|
void |
updateAuthority(java.lang.String before,
java.lang.String after)
|
Methods inherited from interface org.alfresco.repo.transaction.TransactionalDao |
---|
beforeCommit, flush, isDirty |
Method Detail |
---|
DbAccessControlList getDbAccessControlList(java.lang.Long id)
id
-
AccessControlList getAccessControlList(java.lang.Long id)
id
-
java.util.List deleteAccessControlList(java.lang.Long id)
id
-
java.util.List deleteLocalAccessControlEntries(java.lang.Long id)
id
-
java.util.List deleteInheritedAccessControlEntries(java.lang.Long id)
id
-
java.util.List invalidateAccessControlEntries(java.lang.String authority)
authority
-
java.util.List deleteAccessControlEntries(java.lang.String authority)
authority
-
java.util.List deleteAccessControlEntries(java.lang.Long id, AccessControlEntry pattern)
id
- pattern
- -
non null elements are used for the match
java.util.List setAccessControlEntry(java.lang.Long id, AccessControlEntry ace)
id
- ace
-
java.util.List setAccessControlEntries(java.lang.Long id, java.util.List aces)
id
- ace
-
java.util.List enableInheritance(java.lang.Long id, java.lang.Long parent)
id
- parent
-
java.util.List disableInheritance(java.lang.Long id, boolean setInheritedOnAcl)
id
- setInheritedOnAcl
-
AccessControlListProperties getAccessControlListProperties(java.lang.Long id)
id
-
java.lang.Long createAccessControlList(AccessControlListProperties properties)
properties
-
java.lang.Long createAccessControlList(AccessControlListProperties properties, java.util.List aces, java.lang.Long inherited)
java.lang.Long getInheritedAccessControlList(java.lang.Long id)
id
-
java.util.List mergeInheritedAccessControlList(java.lang.Long inherited, java.lang.Long target)
inherited
- target
-
DbAccessControlList getDbAccessControlListCopy(java.lang.Long toCopy, java.lang.Long toInheritFrom, ACLCopyMode mode)
java.lang.Long getCopy(java.lang.Long toCopy, java.lang.Long toInheritFrom, ACLCopyMode mode)
java.util.List getAvmNodesByACL(java.lang.Long id)
java.util.List getAvmIndirections()
void onDeleteAccessControlList(long id)
id
- void updateAuthority(java.lang.String before, java.lang.String after)
void createAuthority(java.lang.String authority)
boolean supportsProgressTracking()
java.lang.Long getDmNodeCount()
java.lang.Long getMaxAclId()
java.lang.Long getDmNodeCountWithNewACLS(java.lang.Long max)
max
-
java.lang.Long getNewInStore()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |