Schnittstelle BasicUser
- Alle Superschnittstellen:
SecurityEntity,Serializable,User
- Alle bekannten Unterschnittstellen:
DynamicUser
- Alle bekannten Implementierungsklassen:
BasicUserImpl,DynamicUserImpl
Represents the "basic" model where users can be part of multiple groups
directly, with no roles or permissions.
- Version:
- $Id$
- Autor:
- Eric Pugh
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidAdd the group to the list of groupsGet the groups this user is part ofGet the groups this user is part of as a SetvoidremoveGroup(Group group) Remove the group from the list of groupsvoidSet the groups this user is part of<T extends Group>
voidsetGroupsAsSet(Set<T> groups) Set the groups this user is part of as a SetVon Schnittstelle geerbte Methoden org.apache.fulcrum.security.entity.SecurityEntity
getId, getName, setId, setNameVon Schnittstelle geerbte Methoden org.apache.fulcrum.security.entity.User
getPassword, setPassword
-
Methodendetails
-
getGroups
GroupSet getGroups()Get the groups this user is part of- Gibt zurück:
- a set of groups
-
setGroups
Set the groups this user is part of- Parameter:
groups- the set of groups
-
removeGroup
Remove the group from the list of groups- Parameter:
group- the group to remove
-
addGroup
Add the group to the list of groups- Parameter:
group- the group to add
-
setGroupsAsSet
Set the groups this user is part of as a Set- Parameter:
groups- the set of groups
-
getGroupsAsSet
Get the groups this user is part of as a Set- Gibt zurück:
- a set of groups
-