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$ ($Author$)
- 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(String name,
String roleId,
Collection<ACL> acls)
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
getId
public String getId()
- Description copied from interface:
Role
- Gets identifier of the role.
- Specified by:
getId
in interface Role
- Returns:
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.