public interface GroupBackend
Modifier and Type | Method and Description |
---|---|
com.google.gerrit.common.data.GroupDescription.Basic |
get(com.google.gerrit.reviewdb.client.AccountGroup.UUID uuid)
Looks up a group in the backend.
|
boolean |
handles(com.google.gerrit.reviewdb.client.AccountGroup.UUID uuid) |
boolean |
isVisibleToAll(com.google.gerrit.reviewdb.client.AccountGroup.UUID uuid) |
GroupMembership |
membershipsOf(IdentifiedUser user) |
java.util.Collection<com.google.gerrit.common.data.GroupReference> |
suggest(java.lang.String name,
ProjectControl project) |
boolean handles(com.google.gerrit.reviewdb.client.AccountGroup.UUID uuid)
true
if the backend can operate on the UUID.com.google.gerrit.common.data.GroupDescription.Basic get(com.google.gerrit.reviewdb.client.AccountGroup.UUID uuid)
uuid
- the group identifierjava.util.Collection<com.google.gerrit.common.data.GroupReference> suggest(java.lang.String name, ProjectControl project)
GroupMembership membershipsOf(IdentifiedUser user)
boolean isVisibleToAll(com.google.gerrit.reviewdb.client.AccountGroup.UUID uuid)
true
if the group with the given UUID is visible to all
registered users.