org.alfresco.repo.security.permissions
Interface PermissionReference

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AbstractPermission, AbstractPermissionReference, DynamicPermission, Permission, PermissionGroup, PermissionReferenceImpl, RequiredPermission, SimplePermissionReference

public interface PermissionReference
extends java.io.Serializable

A Permission is a named permission against a type or aspect which is defined by QName. So a permission string is scoped by type.


Method Summary
 java.lang.String getName()
          Get the name of the permission
 org.alfresco.service.namespace.QName getQName()
          Get the QName of the type or aspect against which the permission is defined.
 

Method Detail

getQName

org.alfresco.service.namespace.QName getQName()
Get the QName of the type or aspect against which the permission is defined.

Returns:
the qname

getName

java.lang.String getName()
Get the name of the permission

Returns:
the name


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.