public interface PermissionsDaoComponent
Modifier and Type | Method and Description |
---|---|
void |
deletePermission(org.alfresco.service.cmr.repository.NodeRef nodeRef,
String authority,
PermissionReference permission)
Delete as single permission entry, if a match is found.
|
void |
deletePermission(org.alfresco.service.cmr.repository.StoreRef storeRef,
String authority,
PermissionReference perm)
Remove part of a permission mask from a store
|
void |
deletePermissions(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Delete the access control list and all access control entries for the node.
|
void |
deletePermissions(org.alfresco.service.cmr.repository.NodeRef nodeRef,
String authority)
Delete permission entries for the given node and authority
|
void |
deletePermissions(org.alfresco.service.cmr.repository.StoreRef storeRef)
Remove all permission masks from a store
|
void |
deletePermissions(org.alfresco.service.cmr.repository.StoreRef storeRef,
String authority)
Delete entries from a permission mask on a store by authority
|
void |
deletePermissions(String authority)
Remove all permissions for the specified authority
|
AccessControlListProperties |
getAccessControlListProperties(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Get the properties for the access control list
|
boolean |
getInheritParentPermissions(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Return the inheritance behaviour for permissions on a given node.
|
NodePermissionEntry |
getPermissions(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Get the permissions that have been set on a given node.
|
NodePermissionEntry |
getPermissions(org.alfresco.service.cmr.repository.StoreRef storeRef)
Get permission masks set on a store
|
void |
setInheritParentPermissions(org.alfresco.service.cmr.repository.NodeRef nodeRef,
boolean inheritParentPermissions)
Set the inheritance behaviour for permissions on a given node.
|
void |
setPermission(NodePermissionEntry nodePermissionEntry)
Create a persisted node permission entry given a template object from which to copy.
|
void |
setPermission(org.alfresco.service.cmr.repository.NodeRef nodeRef,
String authority,
PermissionReference perm,
boolean allow)
Set a permission on a node.
|
void |
setPermission(PermissionEntry permissionEntry)
Create a persisted permission entry given and other representation of a permission entry.
|
void |
setPermission(org.alfresco.service.cmr.repository.StoreRef storeRef,
String authority,
PermissionReference permission,
boolean allow)
Set part of a permission mask on a store.
|
NodePermissionEntry getPermissions(org.alfresco.service.cmr.repository.NodeRef nodeRef)
void deletePermissions(org.alfresco.service.cmr.repository.NodeRef nodeRef)
nodeRef
- the node for which to delete permissionvoid deletePermissions(String authority)
void deletePermissions(org.alfresco.service.cmr.repository.NodeRef nodeRef, String authority)
nodeRef
- the node to query againstauthority
- the specific authority to query againstvoid deletePermission(org.alfresco.service.cmr.repository.NodeRef nodeRef, String authority, PermissionReference permission)
nodeRef
- the node with the access control listauthority
- the specific authority to look forpermission
- the permission to look forvoid setPermission(org.alfresco.service.cmr.repository.NodeRef nodeRef, String authority, PermissionReference perm, boolean allow)
void setPermission(PermissionEntry permissionEntry)
void setPermission(NodePermissionEntry nodePermissionEntry)
void setInheritParentPermissions(org.alfresco.service.cmr.repository.NodeRef nodeRef, boolean inheritParentPermissions)
boolean getInheritParentPermissions(org.alfresco.service.cmr.repository.NodeRef nodeRef)
void deletePermissions(org.alfresco.service.cmr.repository.StoreRef storeRef, String authority)
void deletePermission(org.alfresco.service.cmr.repository.StoreRef storeRef, String authority, PermissionReference perm)
void deletePermissions(org.alfresco.service.cmr.repository.StoreRef storeRef)
void setPermission(org.alfresco.service.cmr.repository.StoreRef storeRef, String authority, PermissionReference permission, boolean allow)
NodePermissionEntry getPermissions(org.alfresco.service.cmr.repository.StoreRef storeRef)
AccessControlListProperties getAccessControlListProperties(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Copyright © 2005–2017 Alfresco Software. All rights reserved.