Package org.ametys.core.group
Interface Group
-
- All Known Subinterfaces:
ModifiableGroup
- All Known Implementing Classes:
JdbcGroupDirectory.JdbcGroup
,LdapGroupDirectory.LdapGroup
,StaticGroupDirectory.StaticGroup
public interface Group
A user group is a set ofUserIdentity
, representing a group of users.
A group contains any number of users, and a single user may belong to any number of groups.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GroupDirectory
getGroupDirectory()
Returns the group directory this group belongs toGroupIdentity
getIdentity()
Returns the identity of this groupString
getLabel()
Returns the label of this groupSet<UserIdentity>
getUsers()
Returns all users of this group.
-
-
-
Method Detail
-
getIdentity
GroupIdentity getIdentity()
Returns the identity of this group- Returns:
- the identity of this group
-
getGroupDirectory
GroupDirectory getGroupDirectory()
Returns the group directory this group belongs to- Returns:
- the group directory this group belongs to
-
getUsers
Set<UserIdentity> getUsers()
Returns all users of this group.- Returns:
- Users as a Set of
UserIdentity
-
-