Schnittstelle BasicGroup
- Alle Superschnittstellen:
Group,SecurityEntity,Serializable
- Alle bekannten Unterschnittstellen:
DynamicGroup
- Alle bekannten Implementierungsklassen:
BasicGroupImpl,DynamicGroupImpl
Represents the "basic" model where users are part of groups, but nothing
else.
- Version:
- $Id$
- Autor:
- Eric Pugh
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidAdd a user to this groupgetUsers()Get the users that are part of this groupGet the users that are part of this group as a SetvoidremoveUser(User user) Remove a user from this groupvoidSet the users that are part of this group<T extends User>
voidsetUsersAsSet(Set<T> users) Set the users that are part of this group as a SetVon Schnittstelle geerbte Methoden org.apache.fulcrum.security.entity.SecurityEntity
getId, getName, setId, setName
-
Methodendetails
-
getUsers
UserSet getUsers()Get the users that are part of this group- Gibt zurück:
- a set of users
-
setUsers
Set the users that are part of this group- Parameter:
userSet- a set of users
-
getUsersAsSet
Get the users that are part of this group as a Set- Typparameter:
T- User type- Gibt zurück:
- a set of users
-
setUsersAsSet
Set the users that are part of this group as a Set- Typparameter:
T- User type- Parameter:
users- a set of users
-
addUser
Add a user to this group- Parameter:
user- the user to add
-
removeUser
Remove a user from this group- Parameter:
user- the user to remove
-