info.magnolia.cms.security
Class MgnlRole
java.lang.Object
info.magnolia.cms.security.MgnlRole
- All Implemented Interfaces:
- Role, Serializable
public class MgnlRole
- extends Object
- implements Role
Wraps a role jcr-node.
- Version:
- $Revision: 41137 $ ($Author: gjoseph $)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PERMISSION_ANY
public static long PERMISSION_ANY
MgnlRole
protected MgnlRole(Content roleNode)
getName
public String getName()
- Specified by:
getName
in interface Role
addPermission
public void addPermission(String repository,
String path,
long permission)
- Specified by:
addPermission
in interface Role
removePermission
public void removePermission(String repository,
String path)
- Specified by:
removePermission
in interface Role
removePermission
public void removePermission(String repository,
String path,
long permission)
- Specified by:
removePermission
in interface Role
getRoleNode
public Content getRoleNode()
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.