org.alfresco.repo.security.permissions.impl
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.
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getName()
Get the name of the permission |
static SimplePermissionReference |
getPermissionReference(org.alfresco.service.namespace.QName qName,
java.lang.String name)
Factory method to create simple permission refrences |
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 |
SimplePermissionReference
protected SimplePermissionReference(org.alfresco.service.namespace.QName qName,
java.lang.String name)
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:
PermissionReference
- Get 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:
PermissionReference
- Get the name of the permission
- Returns:
- the name
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.