Class SimplePermissionReference
- java.lang.Object
-
- org.alfresco.repo.security.permissions.impl.AbstractPermissionReference
-
- org.alfresco.repo.security.permissions.impl.SimplePermissionReference
-
- All Implemented Interfaces:
java.io.Serializable,PermissionReference
public final class SimplePermissionReference extends AbstractPermissionReference
A simple permission reference.- Author:
- andyh
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSimplePermissionReference(org.alfresco.service.namespace.QName qName, java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Get the name of the permissionstatic SimplePermissionReferencegetPermissionReference(org.alfresco.service.namespace.QName qName, java.lang.String name)Factory method to create simple permission refrencesorg.alfresco.service.namespace.QNamegetQName()Get the QName of the type or aspect against which the permission is defined.-
Methods inherited from class org.alfresco.repo.security.permissions.impl.AbstractPermissionReference
equals, hashCode, toString
-
-
-
-
Method Detail
-
getPermissionReference
public static SimplePermissionReference getPermissionReference(org.alfresco.service.namespace.QName qName, java.lang.String name)
Factory method to create simple permission refrences- Returns:
- a simple permission reference
-
getQName
public org.alfresco.service.namespace.QName getQName()
Description copied from interface:PermissionReferenceGet the QName of the type or aspect against which the permission is defined.- Returns:
- the qname
-
getName
public java.lang.String getName()
Description copied from interface:PermissionReferenceGet the name of the permission- Returns:
- the name
-
-