Class PermissionReferenceImpl

java.lang.Object
org.alfresco.repo.security.permissions.impl.AbstractPermissionReference
org.alfresco.repo.security.permissions.impl.PermissionReferenceImpl
All Implemented Interfaces:
Serializable, PermissionReference
Direct Known Subclasses:
RequiredPermission

public class PermissionReferenceImpl extends AbstractPermissionReference
A simple permission reference (not persisted). A permission is identified by name for a given type, which is identified by its qualified name.
Author:
andyh
See Also:
  • Constructor Details

    • PermissionReferenceImpl

      protected PermissionReferenceImpl(QName qName, String name)
  • Method Details

    • getPermissionReference

      public static PermissionReferenceImpl getPermissionReference(QName qName, String name)
      Factory method to create permission references
      Parameters:
      qName - QName
      name - String
      Returns:
      the permissions reference
    • getName

      public String getName()
      Description copied from interface: PermissionReference
      Get the name of the permission
      Returns:
      the name
    • getQName

      public QName getQName()
      Description copied from interface: PermissionReference
      Get the QName of the type or aspect against which the permission is defined.
      Returns:
      the qname