public class LdapGroupBackend extends java.lang.Object implements GroupBackend
Modifier and Type | Method and Description |
---|---|
GroupDescription.Basic |
get(AccountGroup.UUID uuid)
Looks up a group in the backend.
|
boolean |
handles(AccountGroup.UUID uuid) |
boolean |
isVisibleToAll(AccountGroup.UUID uuid) |
GroupMembership |
membershipsOf(IdentifiedUser user) |
java.util.Collection<GroupReference> |
suggest(java.lang.String name,
ProjectState project) |
public boolean handles(AccountGroup.UUID uuid)
handles
in interface GroupBackend
true
if the backend can operate on the UUID.public GroupDescription.Basic get(AccountGroup.UUID uuid)
GroupBackend
get
in interface GroupBackend
uuid
- the group identifierpublic java.util.Collection<GroupReference> suggest(java.lang.String name, ProjectState project)
suggest
in interface GroupBackend
public GroupMembership membershipsOf(IdentifiedUser user)
membershipsOf
in interface GroupBackend
public boolean isVisibleToAll(AccountGroup.UUID uuid)
isVisibleToAll
in interface GroupBackend
true
if the group with the given UUID is visible to all registered users.