Schnittstelle DynamicRole
- Alle Superschnittstellen:
- Role,- SecurityEntity,- Serializable
- Alle bekannten Implementierungsklassen:
- DynamicRoleImpl
Represents the "simple" model where permissions are related to roles, roles
 are related to groups and groups are related to users, all in many to many
 relationships.
- Version:
- $Id$
- Autor:
- Eric Pugh
- 
MethodenübersichtModifizierer und TypMethodeBeschreibungvoidThis method should only be used by a RoleManager.voidaddPermission(Permission permission) This method should only be used by a RoleManager.Get the groups this role belongs toGet the groups this role belongs to as a SetGet the permission that are part of this role<T extends Permission>
 Set<T>Get the permission that are part of this role as SetvoidremoveGroup(Group group) This method should only be used by a RoleManager.voidremovePermission(Permission permission) This method should only be used by a RoleManager.voidSet the groups this role belongs to<T extends Group>
 voidsetGroupsAsSet(Set<T> groups) Set the groups this role belongs to as a SetvoidsetPermissions(PermissionSet permissionSet) Set the permission that are part of this role<T extends Permission>
 voidsetPermissionsAsSet(Set<T> permissions) Set the permission that are part of this role as SetVon Schnittstelle geerbte Methoden org.apache.fulcrum.security.entity.SecurityEntitygetId, getName, setId, setName
- 
Methodendetails- 
getPermissionsPermissionSet getPermissions()Get the permission that are part of this role- Gibt zurück:
- a set of permissions
 
- 
getPermissionsAsSetGet the permission that are part of this role as Set- Gibt zurück:
- a set of permissions
 
- 
setPermissionsSet the permission that are part of this role- Parameter:
- permissionSet- a set of permissions
 
- 
setPermissionsAsSetSet the permission that are part of this role as Set- Parameter:
- permissions- a set of permissions
 
- 
addPermissionThis method should only be used by a RoleManager. Not directly.- Parameter:
- permission- the Permission to add
 
- 
removePermissionThis method should only be used by a RoleManager. Not directly.- Parameter:
- permission- the Permission to remove
 
- 
getGroupsGroupSet getGroups()Get the groups this role belongs to- Gibt zurück:
- a set of groups
 
- 
setGroupsSet the groups this role belongs to- Parameter:
- groups- the set of groups
 
- 
removeGroupThis method should only be used by a RoleManager. Not directly.- Parameter:
- group- the Group to remove
 
- 
addGroupThis method should only be used by a RoleManager. Not directly.- Parameter:
- group- the Group to add
 
- 
setGroupsAsSetSet the groups this role belongs to as a Set- Parameter:
- groups- the set of groups
 
- 
getGroupsAsSetGet the groups this role belongs to as a Set- Gibt zurück:
- a set of groups
 
 
-