Klasse BasicGroupImpl
java.lang.Object
org.apache.fulcrum.security.entity.impl.SecurityEntityImpl
org.apache.fulcrum.security.model.basic.entity.impl.BasicGroupImpl
- Alle implementierten Schnittstellen:
Serializable
,Group
,SecurityEntity
,BasicGroup
- Bekannte direkte Unterklassen:
DynamicGroupImpl
Represents the "basic" model where users are part of groups, but nothing
else.
- Version:
- $Id: BasicGroup.java 223057 2004-07-05 19:28:23Z epugh $
- Autor:
- Eric Pugh
- Siehe auch:
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
Add a user to this groupUserSet<?>
getUsers()
Get the users that are part of this groupGet the users that are part of this group as a Setvoid
removeUser
(User user) Remove a user from this groupvoid
Set 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 Klasse geerbte Methoden org.apache.fulcrum.security.entity.impl.SecurityEntityImpl
equals, getId, getName, hashCode, setId, setName, toString
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden org.apache.fulcrum.security.entity.SecurityEntity
getId, getName, setId, setName
-
Konstruktordetails
-
BasicGroupImpl
public BasicGroupImpl()
-
-
Methodendetails
-
getUsers
Get the users that are part of this group- Angegeben von:
getUsers
in SchnittstelleBasicGroup
- Gibt zurück:
- a set of users
-
setUsers
Set the users that are part of this group- Angegeben von:
setUsers
in SchnittstelleBasicGroup
- Parameter:
userSet
- a set of users
-
getUsersAsSet
Get the users that are part of this group as a Set- Angegeben von:
getUsersAsSet
in SchnittstelleBasicGroup
- Typparameter:
T
- User type- Gibt zurück:
- a set of users
-
setUsersAsSet
Set the users that are part of this group as a Set- Angegeben von:
setUsersAsSet
in SchnittstelleBasicGroup
- Typparameter:
T
- User type- Parameter:
users
- a set of users
-
addUser
Add a user to this group- Angegeben von:
addUser
in SchnittstelleBasicGroup
- Parameter:
user
- the user to add
-
removeUser
Remove a user from this group- Angegeben von:
removeUser
in SchnittstelleBasicGroup
- Parameter:
user
- the user to remove
-