Class StaticGroupDirectory.StaticGroup
- java.lang.Object
-
- org.ametys.plugins.core.impl.group.directory.StaticGroupDirectory.StaticGroup
-
- All Implemented Interfaces:
Group
- Enclosing class:
- StaticGroupDirectory
private static final class StaticGroupDirectory.StaticGroup extends Object implements Group
-
-
Field Summary
Fields Modifier and Type Field Description private GroupDirectory
_groupDirectory
private GroupIdentity
_identity
private String
_label
private Set<UserIdentity>
_users
-
Constructor Summary
Constructors Constructor Description StaticGroup(String id, String directoryId, String label, GroupDirectory groupDirectory, Set<UserIdentity> users)
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Field Detail
-
_identity
private GroupIdentity _identity
-
_groupDirectory
private GroupDirectory _groupDirectory
-
_users
private Set<UserIdentity> _users
-
-
Constructor Detail
-
StaticGroup
StaticGroup(String id, String directoryId, String label, GroupDirectory groupDirectory, Set<UserIdentity> users)
-
-
Method Detail
-
getIdentity
public GroupIdentity getIdentity()
Description copied from interface:Group
Returns the identity of this group- Specified by:
getIdentity
in interfaceGroup
- Returns:
- the identity of this group
-
getLabel
public String getLabel()
Description copied from interface:Group
Returns the label of this group
-
getGroupDirectory
public GroupDirectory getGroupDirectory()
Description copied from interface:Group
Returns the group directory this group belongs to- Specified by:
getGroupDirectory
in interfaceGroup
- Returns:
- the group directory this group belongs to
-
getUsers
public Set<UserIdentity> getUsers()
Description copied from interface:Group
Returns all users of this group.- Specified by:
getUsers
in interfaceGroup
- Returns:
- Users as a Set of
UserIdentity
-
-