public interface ModelDAO
Modifier and Type | Method and Description |
---|---|
boolean |
checkPermission(PermissionReference required)
Is this permission refernece to a permission and not a permissoinSet?
|
Set<PermissionReference> |
getAllExposedPermissions()
Get all exposed permissions (regardless of type exposure)
|
Set<PermissionReference> |
getAllPermissions()
Get all exposed permissions (regardless of type exposure)
|
Set<PermissionReference> |
getAllPermissions(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Get the permissions that can be set for the given node.
|
Set<PermissionReference> |
getAllPermissions(org.alfresco.service.namespace.QName type)
Get the permissions that can be set for the given type.
|
Set<PermissionReference> |
getAllPermissions(org.alfresco.service.namespace.QName type,
Set<org.alfresco.service.namespace.QName> aspects)
Get the permissions that can be set for the given type.
|
Set<PermissionReference> |
getExposedPermissions(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Get the permissions that are exposed to be set for the given node.
|
Set<PermissionReference> |
getExposedPermissions(org.alfresco.service.namespace.QName type)
Get the permissions that are exposed to be set for the given type.
|
Set<? extends PermissionEntry> |
getGlobalPermissionEntries()
Get the global permissions for the model.
|
Set<PermissionReference> |
getGranteePermissions(PermissionReference permissionReference)
Get the permissions which are granted by the supplied permission.
|
Set<PermissionReference> |
getGrantingPermissions(PermissionReference perm)
Get all the permissions that grant this permission.
|
Set<PermissionReference> |
getImmediateGranteePermissions(PermissionReference permissionReference)
Get the permissions which are granted by the supplied permission.
|
PermissionReference |
getPermissionReference(org.alfresco.service.namespace.QName qname,
String permissionName)
Find a permission by name in the type context.
|
Set<PermissionReference> |
getRequiredPermissions(PermissionReference required,
org.alfresco.service.namespace.QName qName,
Set<org.alfresco.service.namespace.QName> aspectQNames,
RequiredPermission.On on)
Get the permissions that must also be present on the node for the required permission to apply.
|
Set<PermissionReference> |
getUnconditionalRequiredPermissions(PermissionReference required,
RequiredPermission.On on) |
boolean |
hasFull(PermissionReference permissionReference)
Does this permission allow full control?
|
boolean |
isUnique(PermissionReference permissionReference)
Does the permission reference have a unique name?
|
Set<PermissionReference> getAllPermissions(org.alfresco.service.namespace.QName type)
type
- - the type in the data dictionary.Set<PermissionReference> getAllPermissions(org.alfresco.service.namespace.QName type, Set<org.alfresco.service.namespace.QName> aspects)
type
- - the type in the data dictionary.Set<PermissionReference> getAllPermissions(org.alfresco.service.cmr.repository.NodeRef nodeRef)
nodeRef
- NodeRefSet<PermissionReference> getExposedPermissions(org.alfresco.service.namespace.QName type)
type
- - the type in the data dictionary.Set<PermissionReference> getExposedPermissions(org.alfresco.service.cmr.repository.NodeRef nodeRef)
nodeRef
- NodeRefSet<PermissionReference> getGrantingPermissions(PermissionReference perm)
perm
- PermissionReferenceSet<PermissionReference> getRequiredPermissions(PermissionReference required, org.alfresco.service.namespace.QName qName, Set<org.alfresco.service.namespace.QName> aspectQNames, RequiredPermission.On on)
required
- PermissionReferenceqName
- QNameon
- RequiredPermission.OnSet<PermissionReference> getUnconditionalRequiredPermissions(PermissionReference required, RequiredPermission.On on)
Set<PermissionReference> getGranteePermissions(PermissionReference permissionReference)
permissionReference
- PermissionReferenceSet<PermissionReference> getImmediateGranteePermissions(PermissionReference permissionReference)
permissionReference
- PermissionReferenceboolean checkPermission(PermissionReference required)
required
- PermissionReferenceboolean isUnique(PermissionReference permissionReference)
permissionReference
- PermissionReferencePermissionReference getPermissionReference(org.alfresco.service.namespace.QName qname, String permissionName)
qname
- QNamepermissionName
- StringSet<? extends PermissionEntry> getGlobalPermissionEntries()
Set<PermissionReference> getAllExposedPermissions()
Set<PermissionReference> getAllPermissions()
boolean hasFull(PermissionReference permissionReference)
permissionReference
- PermissionReferenceCopyright © 2005–2017 Alfresco Software. All rights reserved.