Klasse DynamicRoleImpl
java.lang.Object
org.apache.fulcrum.security.entity.impl.SecurityEntityImpl
org.apache.fulcrum.security.model.dynamic.entity.impl.DynamicRoleImpl
- Alle implementierten Schnittstellen:
- Serializable,- Role,- SecurityEntity,- DynamicRole
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: DynamicRole.java 437451 2006-08-27 20:20:44Z tv $
- Autor:
- Eric Pugh
- Siehe auch:
- 
KonstruktorübersichtKonstruktoren
- 
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 Klasse geerbte Methoden org.apache.fulcrum.security.entity.impl.SecurityEntityImplequals, getId, getName, hashCode, setId, setName, toStringVon Klasse geerbte Methoden java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden org.apache.fulcrum.security.entity.SecurityEntitygetId, getName, setId, setName
- 
Konstruktordetails- 
DynamicRoleImplpublic DynamicRoleImpl()
 
- 
- 
Methodendetails- 
getPermissionsGet the permission that are part of this role- Angegeben von:
- getPermissionsin Schnittstelle- DynamicRole
- Gibt zurück:
- a set of permissions
 
- 
getPermissionsAsSetGet the permission that are part of this role as Set- Angegeben von:
- getPermissionsAsSetin Schnittstelle- DynamicRole
- Gibt zurück:
- a set of permissions
 
- 
setPermissionsSet the permission that are part of this role- Angegeben von:
- setPermissionsin Schnittstelle- DynamicRole
- Parameter:
- permissionSet- a set of permissions
 
- 
setPermissionsAsSetSet the permission that are part of this role as Set- Angegeben von:
- setPermissionsAsSetin Schnittstelle- DynamicRole
- Parameter:
- permissions- a set of permissions
 
- 
addPermissionThis method should only be used by a RoleManager. Not directly.- Angegeben von:
- addPermissionin Schnittstelle- DynamicRole
- Parameter:
- permission- the Permission to add
 
- 
removePermissionThis method should only be used by a RoleManager. Not directly.- Angegeben von:
- removePermissionin Schnittstelle- DynamicRole
- Parameter:
- permission- the Permission to remove
 
- 
getGroupsGet the groups this role belongs to- Angegeben von:
- getGroupsin Schnittstelle- DynamicRole
- Gibt zurück:
- a set of groups
 
- 
setGroupsSet the groups this role belongs to- Angegeben von:
- setGroupsin Schnittstelle- DynamicRole
- Parameter:
- groupSet- the set of groups
 
- 
removeGroupThis method should only be used by a RoleManager. Not directly.- Angegeben von:
- removeGroupin Schnittstelle- DynamicRole
- Parameter:
- group- the Group to remove
 
- 
addGroupThis method should only be used by a RoleManager. Not directly.- Angegeben von:
- addGroupin Schnittstelle- DynamicRole
- Parameter:
- group- the Group to add
 
- 
setGroupsAsSetSet the groups this role belongs to as a Set- Angegeben von:
- setGroupsAsSetin Schnittstelle- DynamicRole
- Parameter:
- groups- the set of groups
 
- 
getGroupsAsSetGet the groups this role belongs to as a Set- Angegeben von:
- getGroupsAsSetin Schnittstelle- DynamicRole
- Gibt zurück:
- a set of groups
 
 
-