public interface 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,
ProjectControl project) |
boolean handles(AccountGroup.UUID uuid)
true
if the backend can operate on the UUID.GroupDescription.Basic get(AccountGroup.UUID uuid)
uuid
- the group identifierjava.util.Collection<GroupReference> suggest(java.lang.String name, ProjectControl project)
GroupMembership membershipsOf(IdentifiedUser user)
boolean isVisibleToAll(AccountGroup.UUID uuid)
true
if the group with the given UUID is visible to all registered users.