| Modifier and Type | Method and Description |
|---|---|
Permission |
AclCrudDAO.createPermission(PermissionReference permissionReference) |
Permission |
AbstractAclCrudDAOImpl.createPermission(PermissionReference permissionReference) |
void |
AbstractPermissionsDaoComponentImpl.deletePermission(NodeRef nodeRef,
String authority,
PermissionReference permission)
Deletes all permission entries (access control list entries) that match the given criteria.
|
void |
AbstractPermissionsDaoComponentImpl.deletePermission(StoreRef storeRef,
String authority,
PermissionReference permission) |
Set<NodeRef> |
AbstractPermissionsDaoComponentImpl.findNodeByPermission(String authority,
PermissionReference permission,
boolean allow) |
Permission |
AclCrudDAO.getOrCreatePermission(PermissionReference permissionReference) |
Permission |
AbstractAclCrudDAOImpl.getOrCreatePermission(PermissionReference permissionReference) |
Permission |
AclCrudDAO.getPermission(PermissionReference permissionReference) |
Permission |
AbstractAclCrudDAOImpl.getPermission(PermissionReference permissionReference) |
void |
AbstractPermissionsDaoComponentImpl.setPermission(NodeRef nodeRef,
String authority,
PermissionReference permission,
boolean allow) |
void |
AbstractPermissionsDaoComponentImpl.setPermission(StoreRef storeRef,
String authority,
PermissionReference permission,
boolean allow) |
| Modifier and Type | Method and Description |
|---|---|
PermissionReference |
PermissionServiceSPI.getAllPermissionReference()
Get the All Permission
|
PermissionReference |
SimpleAccessControlEntry.getPermission() |
PermissionReference |
AccessControlEntry.getPermission() |
PermissionReference |
PermissionEntry.getPermissionReference()
Get the permission definition.
|
PermissionReference |
PermissionServiceSPI.getPermissionReference(QName qname,
String permissionName)
Get the permission reference for the given data type and permission name.
|
PermissionReference |
PermissionServiceSPI.getPermissionReference(String permissionName)
Get the permission reference by permission name.
|
| Modifier and Type | Method and Description |
|---|---|
Set<PermissionReference> |
PermissionServiceSPI.getSettablePermissionReferences(NodeRef nodeRef)
Get the permissions that can be set for a given type
|
Set<PermissionReference> |
PermissionServiceSPI.getSettablePermissionReferences(QName type)
Get the permissions that can be set for a given type
|
Set<PermissionReference> |
DynamicAuthority.requiredFor()
For what permission checks is this dynamic authority required?
If null, it is required for all checks.
|
| Modifier and Type | Method and Description |
|---|---|
NodePermissionEntry |
PermissionServiceSPI.explainPermission(NodeRef nodeRef,
PermissionReference perm)
Where is the permission set that controls the behaviour for the given
permission for the given authentication to access the specified name.
|
String |
PermissionServiceSPI.getPermission(PermissionReference permissionReference)
Get the string that can be used to identify the given permission reference.
|
AccessStatus |
PermissionServiceSPI.hasPermission(NodeRef nodeRef,
PermissionReference perm)
Check that the given authentication has a particular permission for the
given node.
|
void |
SimpleAccessControlEntry.setPermission(PermissionReference permission)
Set the permission
|
| Modifier and Type | Method and Description |
|---|---|
Set<PermissionReference> |
OwnerDynamicAuthority.requiredFor() |
Set<PermissionReference> |
LockOwnerDynamicAuthority.requiredFor() |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPermissionReference
This class provides common support for hash code and equality.
|
class |
PermissionReferenceImpl
A simple permission reference (not persisted).
|
class |
RequiredPermission
Store and read the definition of a required permission.
|
class |
SimplePermissionReference
A simple permission reference.
|
| Modifier and Type | Field and Description |
|---|---|
protected PermissionReference |
PermissionServiceImpl.allPermissionReference |
| Modifier and Type | Method and Description |
|---|---|
PermissionReference |
PermissionServiceImpl.getAllPermissionReference() |
PermissionReference |
SimplePermissionEntry.getPermissionReference() |
PermissionReference |
ModelDAO.getPermissionReference(QName qname,
String permissionName)
Find a permission by name in the type context.
|
PermissionReference |
PermissionServiceImpl.getPermissionReference(QName qname,
String permissionName) |
PermissionReference |
PermissionServiceImpl.getPermissionReference(String permissionName) |
| Modifier and Type | Method and Description |
|---|---|
Set<PermissionReference> |
ModelDAO.getAllExposedPermissions()
Get all exposed permissions (regardless of type exposure)
|
Set<PermissionReference> |
ModelDAO.getAllPermissions()
Get all exposed permissions (regardless of type exposure)
|
Set<PermissionReference> |
ModelDAO.getAllPermissions(NodeRef nodeRef)
Get the permissions that can be set for the given node.
|
Set<PermissionReference> |
ModelDAO.getAllPermissions(QName type)
Get the permissions that can be set for the given type.
|
Set<PermissionReference> |
ModelDAO.getAllPermissions(QName type,
Set<QName> aspects)
Get the permissions that can be set for the given type.
|
Set<PermissionReference> |
ModelDAO.getExposedPermissions(NodeRef nodeRef)
Get the permissions that are exposed to be set for the given node.
|
Set<PermissionReference> |
ModelDAO.getExposedPermissions(QName type)
Get the permissions that are exposed to be set for the given type.
|
Set<PermissionReference> |
ModelDAO.getGranteePermissions(PermissionReference permissionReference)
Get the permissions which are granted by the supplied permission.
|
Set<PermissionReference> |
ModelDAO.getGrantingPermissions(PermissionReference perm)
Get all the permissions that grant this permission.
|
Set<PermissionReference> |
ModelDAO.getImmediateGranteePermissions(PermissionReference permissionReference)
Get the permissions which are granted by the supplied permission.
|
Set<PermissionReference> |
ModelDAO.getRequiredPermissions(PermissionReference required,
QName qName,
Set<QName> aspectQNames,
RequiredPermission.On on)
Get the permissions that must also be present on the node for the required permission to apply.
|
Set<PermissionReference> |
PermissionServiceImpl.getSettablePermissionReferences(NodeRef nodeRef) |
Set<PermissionReference> |
PermissionServiceImpl.getSettablePermissionReferences(QName type) |
Set<PermissionReference> |
ModelDAO.getUnconditionalRequiredPermissions(PermissionReference required,
RequiredPermission.On on) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ModelDAO.checkPermission(PermissionReference required)
Is this permission refernece to a permission and not a permissoinSet?
|
void |
PermissionsDaoComponent.deletePermission(NodeRef nodeRef,
String authority,
PermissionReference permission)
Delete as single permission entry, if a match is found.
|
protected void |
PermissionServiceImpl.deletePermission(NodeRef nodeRef,
String authority,
PermissionReference perm) |
void |
PermissionsDaoComponent.deletePermission(StoreRef storeRef,
String authority,
PermissionReference perm)
Remove part of a permission mask from a store
|
protected void |
PermissionServiceImpl.deletePermission(StoreRef storeRef,
String authority,
PermissionReference perm) |
NodePermissionEntry |
PermissionServiceImpl.explainPermission(NodeRef nodeRef,
PermissionReference perm) |
protected Set<String> |
PermissionServiceImpl.getAuthorisations(net.sf.acegisecurity.Authentication auth,
NodeRef nodeRef,
PermissionReference required)
Get the authorisations for the currently authenticated user
|
protected Set<String> |
PermissionServiceImpl.getDynamicAuthorities(net.sf.acegisecurity.Authentication auth,
NodeRef nodeRef,
PermissionReference required) |
Set<PermissionReference> |
ModelDAO.getGranteePermissions(PermissionReference permissionReference)
Get the permissions which are granted by the supplied permission.
|
Set<PermissionReference> |
ModelDAO.getGrantingPermissions(PermissionReference perm)
Get all the permissions that grant this permission.
|
Set<PermissionReference> |
ModelDAO.getImmediateGranteePermissions(PermissionReference permissionReference)
Get the permissions which are granted by the supplied permission.
|
String |
PermissionServiceImpl.getPermission(PermissionReference permissionReference) |
Set<PermissionReference> |
ModelDAO.getRequiredPermissions(PermissionReference required,
QName qName,
Set<QName> aspectQNames,
RequiredPermission.On on)
Get the permissions that must also be present on the node for the required permission to apply.
|
Set<PermissionReference> |
ModelDAO.getUnconditionalRequiredPermissions(PermissionReference required,
RequiredPermission.On on) |
boolean |
ModelDAO.hasFull(PermissionReference permissionReference)
Does this permission allow full control?
|
protected AccessStatus |
PermissionServiceImpl.hasPermission(Long aclId,
PermissionContext context,
PermissionReference permission) |
AccessStatus |
PermissionServiceImpl.hasPermission(NodeRef passedNodeRef,
PermissionReference permIn) |
AccessStatus |
AllowPermissionServiceImpl.hasPermission(NodeRef nodeRef,
PermissionReference perm) |
boolean |
ModelDAO.isUnique(PermissionReference permissionReference)
Does the permission reference have a unique name?
|
void |
PermissionsDaoComponent.setPermission(NodeRef nodeRef,
String authority,
PermissionReference perm,
boolean allow)
Set a permission on a node.
|
protected void |
PermissionServiceImpl.setPermission(NodeRef nodeRef,
String authority,
PermissionReference perm,
boolean allow) |
void |
PermissionsDaoComponent.setPermission(StoreRef storeRef,
String authority,
PermissionReference permission,
boolean allow)
Set part of a permission mask on a store.
|
protected void |
PermissionServiceImpl.setPermission(StoreRef storeRef,
String authority,
PermissionReference permission,
boolean allow) |
| Constructor and Description |
|---|
SimplePermissionEntry(NodeRef nodeRef,
PermissionReference permissionReference,
String authority,
AccessStatus accessStatus) |
SimplePermissionEntry(NodeRef nodeRef,
PermissionReference permissionReference,
String authority,
AccessStatus accessStatus,
int position) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPermission
Support to read and store common properties for permissions
|
class |
DynamicPermission
The definition of a required permission
|
class |
Permission
Support to read and store the definition of a permission.
|
class |
PermissionGroup
Support to read and store the defintion of permission groups.
|
| Modifier and Type | Method and Description |
|---|---|
PermissionReference |
ModelPermissionEntry.getPermissionReference() |
PermissionReference |
GlobalPermissionEntry.getPermissionReference() |
PermissionReference |
PermissionModel.getPermissionReference(QName qname,
String permissionName) |
| Modifier and Type | Method and Description |
|---|---|
PermissionReference |
PermissionServiceNOOPImpl.getAllPermissionReference() |
PermissionReference |
PermissionServiceNOOPImpl.getPermissionReference(QName qname,
String permissionName) |
PermissionReference |
PermissionServiceNOOPImpl.getPermissionReference(String permissionName) |
| Modifier and Type | Method and Description |
|---|---|
Set<PermissionReference> |
PermissionServiceNOOPImpl.getSettablePermissionReferences(NodeRef nodeRef) |
Set<PermissionReference> |
PermissionServiceNOOPImpl.getSettablePermissionReferences(QName type) |
| Modifier and Type | Method and Description |
|---|---|
NodePermissionEntry |
PermissionServiceNOOPImpl.explainPermission(NodeRef nodeRef,
PermissionReference perm) |
String |
PermissionServiceNOOPImpl.getPermission(PermissionReference permissionReference) |
AccessStatus |
PermissionServiceNOOPImpl.hasPermission(NodeRef nodeRef,
PermissionReference perm) |
| Modifier and Type | Method and Description |
|---|---|
PermissionReference |
VirtualPermissionServiceExtension.getAllPermissionReference() |
PermissionReference |
VirtualPermissionServiceExtension.getPermissionReference(QName qname,
String permissionName) |
PermissionReference |
VirtualPermissionServiceExtension.getPermissionReference(String permissionName) |
| Modifier and Type | Method and Description |
|---|---|
Set<PermissionReference> |
VirtualPermissionServiceExtension.getSettablePermissionReferences(NodeRef nodeRef) |
Set<PermissionReference> |
VirtualPermissionServiceExtension.getSettablePermissionReferences(QName type) |
| Modifier and Type | Method and Description |
|---|---|
NodePermissionEntry |
VirtualPermissionServiceExtension.explainPermission(NodeRef nodeRef,
PermissionReference perm) |
String |
VirtualPermissionServiceExtension.getPermission(PermissionReference permissionReference) |
AccessStatus |
VirtualPermissionServiceExtension.hasPermission(NodeRef nodeRef,
PermissionReference perm) |
| Modifier and Type | Method and Description |
|---|---|
AccessStatus |
VirtualStore.hasPermission(Reference reference,
PermissionReference perm)
Check that the given authentication has a particular permission for the
given virtualized artefact.
|
AccessStatus |
VirtualStoreImpl.hasPermission(Reference reference,
PermissionReference perm) |
Copyright © 2005–2020 Alfresco Software. All rights reserved.