info.magnolia.cms.security
Interface Role

All Superinterfaces:
Serializable
All Known Implementing Classes:
MgnlRole

public interface Role
extends Serializable

A role is a collection of ACLs (permissions).


Method Summary
 void addPermission(String repository, String path, long permission)
          Deprecated. use manager instead
 String getId()
          Gets identifier of the role.
 String getName()
           
 void removePermission(String repository, String path)
          Deprecated. use manager instead
 void removePermission(String repository, String path, long permission)
          Deprecated. use manager instead
 

Method Detail

getName

String getName()

addPermission

@Deprecated
void addPermission(String repository,
                              String path,
                              long permission)
Deprecated. use manager instead


removePermission

@Deprecated
void removePermission(String repository,
                                 String path)
Deprecated. use manager instead


removePermission

@Deprecated
void removePermission(String repository,
                                 String path,
                                 long permission)
Deprecated. use manager instead


getId

String getId()
Gets identifier of the role.

Returns:


Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.