org.alfresco.repo.security.permissions.impl
Class SimplePermissionReference

java.lang.Object
  extended by org.alfresco.repo.security.permissions.impl.AbstractPermissionReference
      extended by 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

Constructor Summary
protected SimplePermissionReference(org.alfresco.service.namespace.QName qName, java.lang.String name)
           
 
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 org.alfresco.repo.security.permissions.impl.AbstractPermissionReference
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimplePermissionReference

protected SimplePermissionReference(org.alfresco.service.namespace.QName qName,
                                    java.lang.String name)
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: 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.