org.alfresco.repo.security.permissions.impl
Class PermissionReferenceImpl
java.lang.Object
org.alfresco.repo.security.permissions.impl.AbstractPermissionReference
org.alfresco.repo.security.permissions.impl.PermissionReferenceImpl
- All Implemented Interfaces:
- java.io.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.
- See Also:
- Serialized Form
Constructor Summary |
protected |
PermissionReferenceImpl(org.alfresco.service.namespace.QName qName,
java.lang.String name)
|
Method Summary |
java.lang.String |
getName()
Get the name of the permission |
static PermissionReferenceImpl |
getPermissionReference(org.alfresco.service.namespace.QName qName,
java.lang.String name)
Factory method to create permission references |
org.alfresco.service.namespace.QName |
getQName()
Get the QName of the type or aspect against which the permission is
defined. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PermissionReferenceImpl
protected PermissionReferenceImpl(org.alfresco.service.namespace.QName qName,
java.lang.String name)
getPermissionReference
public static PermissionReferenceImpl getPermissionReference(org.alfresco.service.namespace.QName qName,
java.lang.String name)
- Factory method to create permission references
- Parameters:
qName
- name
-
- Returns:
- the permissions reference
getName
public java.lang.String getName()
- Description copied from interface:
PermissionReference
- Get the name of the permission
- Returns:
- the name
getQName
public org.alfresco.service.namespace.QName getQName()
- Description copied from interface:
PermissionReference
- Get the QName of the type or aspect against which the permission is
defined.
- Returns:
- the qname
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.