|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RoleManager
Role manager.
Method Summary | |
---|---|
void |
add(Role role)
Add a role |
Role |
getRole(java.lang.String roleId)
Get the role for the given ID. |
Role[] |
getRoles()
Get all roles |
void |
remove(Role role)
Remove a role |
Methods inherited from interface org.apache.lenya.ac.ItemManager |
---|
addItemManagerListener, getAccreditableManager, removeItemManagerListener |
Method Detail |
---|
Role getRole(java.lang.String roleId)
roleId
- The name of the role requested.
Role
or null if no role with the given name foundRole[] getRoles()
void add(Role role) throws AccessControlException
role
- Role to add
AccessControlException
- when the role is already contained.void remove(Role role) throws AccessControlException
role
- Role to remove
AccessControlException
- when the role is not contained.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |