Uses of Interface
org.alfresco.repo.security.permissions.PermissionReference
Packages that use PermissionReference
Package
Description
-
Uses of PermissionReference in org.alfresco.repo.domain.permissions
Methods in org.alfresco.repo.domain.permissions with parameters of type PermissionReferenceModifier and TypeMethodDescriptionAbstractAclCrudDAOImpl.createPermission(PermissionReference permissionReference) AclCrudDAO.createPermission(PermissionReference permissionReference) voidAbstractPermissionsDaoComponentImpl.deletePermission(NodeRef nodeRef, String authority, PermissionReference permission) Deletes all permission entries (access control list entries) that match the given criteria.voidAbstractPermissionsDaoComponentImpl.deletePermission(StoreRef storeRef, String authority, PermissionReference permission) AbstractPermissionsDaoComponentImpl.findNodeByPermission(String authority, PermissionReference permission, boolean allow) AbstractAclCrudDAOImpl.getOrCreatePermission(PermissionReference permissionReference) AclCrudDAO.getOrCreatePermission(PermissionReference permissionReference) AbstractAclCrudDAOImpl.getPermission(PermissionReference permissionReference) AclCrudDAO.getPermission(PermissionReference permissionReference) voidAbstractPermissionsDaoComponentImpl.setPermission(NodeRef nodeRef, String authority, PermissionReference permission, boolean allow) voidAbstractPermissionsDaoComponentImpl.setPermission(StoreRef storeRef, String authority, PermissionReference permission, boolean allow) -
Uses of PermissionReference in org.alfresco.repo.security.permissions
Methods in org.alfresco.repo.security.permissions that return PermissionReferenceModifier and TypeMethodDescriptionPermissionServiceSPI.getAllPermissionReference()Get the All PermissionAccessControlEntry.getPermission()SimpleAccessControlEntry.getPermission()PermissionEntry.getPermissionReference()Get the permission definition.PermissionServiceSPI.getPermissionReference(String permissionName) Get the permission reference by permission name.PermissionServiceSPI.getPermissionReference(QName qname, String permissionName) Get the permission reference for the given data type and permission name.Methods in org.alfresco.repo.security.permissions that return types with arguments of type PermissionReferenceModifier and TypeMethodDescriptionPermissionServiceSPI.getSettablePermissionReferences(NodeRef nodeRef) Get the permissions that can be set for a given typePermissionServiceSPI.getSettablePermissionReferences(QName type) Get the permissions that can be set for a given typeDynamicAuthority.requiredFor()For what permission checks is this dynamic authority required?Methods in org.alfresco.repo.security.permissions with parameters of type PermissionReferenceModifier and TypeMethodDescriptionPermissionServiceSPI.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.PermissionServiceSPI.getPermission(PermissionReference permissionReference) Get the string that can be used to identify the given permission reference.PermissionServiceSPI.hasPermission(NodeRef nodeRef, PermissionReference perm) Check that the given authentication has a particular permission for the given node.voidSimpleAccessControlEntry.setPermission(PermissionReference permission) Set the permission -
Uses of PermissionReference in org.alfresco.repo.security.permissions.dynamic
Methods in org.alfresco.repo.security.permissions.dynamic that return types with arguments of type PermissionReferenceModifier and TypeMethodDescriptionLockOwnerDynamicAuthority.requiredFor()OwnerDynamicAuthority.requiredFor()ServiceAccountAuthority.requiredFor() -
Uses of PermissionReference in org.alfresco.repo.security.permissions.impl
Classes in org.alfresco.repo.security.permissions.impl that implement PermissionReferenceModifier and TypeClassDescriptionclassThis class provides common support for hash code and equality.classA simple permission reference (not persisted).final classStore and read the definition of a required permission.final classA simple permission reference.Fields in org.alfresco.repo.security.permissions.impl declared as PermissionReferenceModifier and TypeFieldDescriptionprotected PermissionReferencePermissionServiceImpl.allPermissionReferenceMethods in org.alfresco.repo.security.permissions.impl that return PermissionReferenceModifier and TypeMethodDescriptionPermissionServiceImpl.getAllPermissionReference()ModelDAO.getPermissionReference(QName qname, String permissionName) Find a permission by name in the type context.PermissionServiceImpl.getPermissionReference(String permissionName) PermissionServiceImpl.getPermissionReference(QName qname, String permissionName) SimplePermissionEntry.getPermissionReference()Methods in org.alfresco.repo.security.permissions.impl that return types with arguments of type PermissionReferenceModifier and TypeMethodDescriptionModelDAO.getAllExposedPermissions()Get all exposed permissions (regardless of type exposure)ModelDAO.getAllPermissions()Get all exposed permissions (regardless of type exposure)ModelDAO.getAllPermissions(NodeRef nodeRef) Get the permissions that can be set for the given node.ModelDAO.getAllPermissions(QName type) Get the permissions that can be set for the given type.ModelDAO.getAllPermissions(QName type, Set<QName> aspects) Get the permissions that can be set for the given type.ModelDAO.getExposedPermissions(NodeRef nodeRef) Get the permissions that are exposed to be set for the given node.ModelDAO.getExposedPermissions(QName type) Get the permissions that are exposed to be set for the given type.ModelDAO.getGranteePermissions(PermissionReference permissionReference) Get the permissions which are granted by the supplied permission.ModelDAO.getGrantingPermissions(PermissionReference perm) Get all the permissions that grant this permission.ModelDAO.getImmediateGranteePermissions(PermissionReference permissionReference) Get the permissions which are granted by the supplied permission.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.PermissionServiceImpl.getSettablePermissionReferences(NodeRef nodeRef) PermissionServiceImpl.getSettablePermissionReferences(QName type) ModelDAO.getUnconditionalRequiredPermissions(PermissionReference required, RequiredPermission.On on) Methods in org.alfresco.repo.security.permissions.impl with parameters of type PermissionReferenceModifier and TypeMethodDescriptionbooleanModelDAO.checkPermission(PermissionReference required) Is this permission refernece to a permission and not a permissoinSet?voidPermissionsDaoComponent.deletePermission(NodeRef nodeRef, String authority, PermissionReference permission) Delete as single permission entry, if a match is found.voidPermissionsDaoComponent.deletePermission(StoreRef storeRef, String authority, PermissionReference perm) Remove part of a permission mask from a storeprotected voidPermissionServiceImpl.deletePermission(NodeRef nodeRef, String authority, PermissionReference perm) protected voidPermissionServiceImpl.deletePermission(StoreRef storeRef, String authority, PermissionReference perm) PermissionServiceImpl.explainPermission(NodeRef nodeRef, PermissionReference perm) PermissionServiceImpl.getAuthorisations(net.sf.acegisecurity.Authentication auth, NodeRef nodeRef, PermissionReference required) Get the authorisations for the currently authenticated userPermissionServiceImpl.getDynamicAuthorities(net.sf.acegisecurity.Authentication auth, NodeRef nodeRef, PermissionReference required) ModelDAO.getGranteePermissions(PermissionReference permissionReference) Get the permissions which are granted by the supplied permission.ModelDAO.getGrantingPermissions(PermissionReference perm) Get all the permissions that grant this permission.ModelDAO.getImmediateGranteePermissions(PermissionReference permissionReference) Get the permissions which are granted by the supplied permission.PermissionServiceImpl.getPermission(PermissionReference 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.ModelDAO.getUnconditionalRequiredPermissions(PermissionReference required, RequiredPermission.On on) booleanModelDAO.hasFull(PermissionReference permissionReference) Does this permission allow full control?AllowPermissionServiceImpl.hasPermission(NodeRef nodeRef, PermissionReference perm) protected AccessStatusPermissionServiceImpl.hasPermission(Long aclId, PermissionContext context, PermissionReference permission) PermissionServiceImpl.hasPermission(NodeRef passedNodeRef, PermissionReference permIn) booleanModelDAO.isUnique(PermissionReference permissionReference) Does the permission reference have a unique name?voidPermissionsDaoComponent.setPermission(NodeRef nodeRef, String authority, PermissionReference perm, boolean allow) Set a permission on a node.voidPermissionsDaoComponent.setPermission(StoreRef storeRef, String authority, PermissionReference permission, boolean allow) Set part of a permission mask on a store.protected voidPermissionServiceImpl.setPermission(NodeRef nodeRef, String authority, PermissionReference perm, boolean allow) protected voidPermissionServiceImpl.setPermission(StoreRef storeRef, String authority, PermissionReference permission, boolean allow) Constructors in org.alfresco.repo.security.permissions.impl with parameters of type PermissionReferenceModifierConstructorDescriptionSimplePermissionEntry(NodeRef nodeRef, PermissionReference permissionReference, String authority, AccessStatus accessStatus) SimplePermissionEntry(NodeRef nodeRef, PermissionReference permissionReference, String authority, AccessStatus accessStatus, int position) -
Uses of PermissionReference in org.alfresco.repo.security.permissions.impl.model
Classes in org.alfresco.repo.security.permissions.impl.model that implement PermissionReferenceModifier and TypeClassDescriptionclassSupport to read and store common properties for permissionsclassThe definition of a required permissionclassSupport to read and store the definition of a permission.final classSupport to read and store the defintion of permission groups.Methods in org.alfresco.repo.security.permissions.impl.model that return PermissionReferenceModifier and TypeMethodDescriptionGlobalPermissionEntry.getPermissionReference()ModelPermissionEntry.getPermissionReference()PermissionModel.getPermissionReference(QName qname, String permissionName) Methods in org.alfresco.repo.security.permissions.impl.model that return types with arguments of type PermissionReferenceModifier and TypeMethodDescriptionPermissionModel.getAllExposedPermissions()PermissionModel.getAllPermissions()PermissionModel.getAllPermissions(NodeRef nodeRef) PermissionModel.getAllPermissions(QName type) PermissionModel.getAllPermissions(QName typeName, Set<QName> aspects) PermissionModel.getExposedPermissions(NodeRef nodeRef) PermissionModel.getExposedPermissions(QName type) Permission.getGrantedToGroups()Get the groups for which this permission is granted (by definition - filled in by the model API)PermissionModel.getGranteePermissions(PermissionReference permissionReference) PermissionModel.getGrantingPermissions(PermissionReference permissionReference) PermissionModel.getImmediateGranteePermissions(PermissionReference permissionReference) PermissionGroup.getIncludedPermissionGroups()What permission groups are included in this one (for ease of definition)PermissionModel.getRequiredPermissions(PermissionReference required, QName qName, Set<QName> aspectQNames, RequiredPermission.On on) PermissionModel.getUnconditionalRequiredPermissions(PermissionReference required, RequiredPermission.On on) Methods in org.alfresco.repo.security.permissions.impl.model with parameters of type PermissionReferenceModifier and TypeMethodDescriptionbooleanPermissionModel.checkPermission(PermissionReference required) PermissionModel.getDefaultPermission(PermissionReference pr) Get the default acces status for the givne permissionPermissionModel.getGranteePermissions(PermissionReference permissionReference) PermissionModel.getGrantingPermissions(PermissionReference permissionReference) PermissionModel.getImmediateGranteePermissions(PermissionReference permissionReference) static PermissionModel.RequiredKeyPermissionModel.RequiredKey.getRequiredKey(PermissionReference required, QName qName, Set<QName> aspectQNames, RequiredPermission.On on) factory for the keyPermissionModel.getRequiredPermissions(PermissionReference required, QName qName, Set<QName> aspectQNames, RequiredPermission.On on) PermissionModel.getUnconditionalRequiredPermissions(PermissionReference required, RequiredPermission.On on) booleanPermissionModel.hasFull(PermissionReference permissionReference) booleanPermissionModel.isUnique(PermissionReference permissionReference) -
Uses of PermissionReference in org.alfresco.repo.security.permissions.noop
Methods in org.alfresco.repo.security.permissions.noop that return PermissionReferenceModifier and TypeMethodDescriptionPermissionServiceNOOPImpl.getAllPermissionReference()PermissionServiceNOOPImpl.getPermissionReference(String permissionName) PermissionServiceNOOPImpl.getPermissionReference(QName qname, String permissionName) Methods in org.alfresco.repo.security.permissions.noop that return types with arguments of type PermissionReferenceModifier and TypeMethodDescriptionPermissionServiceNOOPImpl.getSettablePermissionReferences(NodeRef nodeRef) PermissionServiceNOOPImpl.getSettablePermissionReferences(QName type) Methods in org.alfresco.repo.security.permissions.noop with parameters of type PermissionReferenceModifier and TypeMethodDescriptionPermissionServiceNOOPImpl.explainPermission(NodeRef nodeRef, PermissionReference perm) PermissionServiceNOOPImpl.getPermission(PermissionReference permissionReference) PermissionServiceNOOPImpl.hasPermission(NodeRef nodeRef, PermissionReference perm) -
Uses of PermissionReference in org.alfresco.repo.virtual.bundle
Methods in org.alfresco.repo.virtual.bundle that return PermissionReferenceModifier and TypeMethodDescriptionVirtualPermissionServiceExtension.getAllPermissionReference()VirtualPermissionServiceExtension.getPermissionReference(String permissionName) VirtualPermissionServiceExtension.getPermissionReference(QName qname, String permissionName) Methods in org.alfresco.repo.virtual.bundle that return types with arguments of type PermissionReferenceModifier and TypeMethodDescriptionVirtualPermissionServiceExtension.getSettablePermissionReferences(NodeRef nodeRef) VirtualPermissionServiceExtension.getSettablePermissionReferences(QName type) Methods in org.alfresco.repo.virtual.bundle with parameters of type PermissionReferenceModifier and TypeMethodDescriptionVirtualPermissionServiceExtension.explainPermission(NodeRef nodeRef, PermissionReference perm) VirtualPermissionServiceExtension.getPermission(PermissionReference permissionReference) VirtualPermissionServiceExtension.hasPermission(NodeRef nodeRef, PermissionReference perm) -
Uses of PermissionReference in org.alfresco.repo.virtual.store
Methods in org.alfresco.repo.virtual.store with parameters of type PermissionReferenceModifier and TypeMethodDescriptionVirtualStore.hasPermission(Reference reference, PermissionReference perm) Check that the given authentication has a particular permission for the given virtualized artefact.VirtualStoreImpl.hasPermission(Reference reference, PermissionReference perm)