public class ListGroups
extends java.lang.Object
implements com.google.gerrit.extensions.restapi.RestReadView<com.google.gerrit.extensions.restapi.TopLevelResource>
Modifier and Type | Field and Description |
---|---|
protected GroupCache |
groupCache |
Modifier | Constructor and Description |
---|---|
protected |
ListGroups(GroupCache groupCache,
GroupControl.Factory groupControlFactory,
GroupControl.GenericFactory genericGroupControlFactory,
com.google.inject.Provider<IdentifiedUser> identifiedUser,
IdentifiedUser.GenericFactory userFactory,
com.google.inject.Provider<GetGroups> accountGetGroups,
GroupJson json) |
Modifier and Type | Method and Description |
---|---|
void |
addOption(com.google.gerrit.common.groups.ListGroupsOption o) |
java.lang.Object |
apply(com.google.gerrit.extensions.restapi.TopLevelResource resource) |
java.util.List<GroupJson.GroupInfo> |
get() |
java.util.List<ProjectControl> |
getProjects() |
com.google.gerrit.reviewdb.client.Account.Id |
getUser() |
protected final GroupCache groupCache
@Inject protected ListGroups(GroupCache groupCache, GroupControl.Factory groupControlFactory, GroupControl.GenericFactory genericGroupControlFactory, com.google.inject.Provider<IdentifiedUser> identifiedUser, IdentifiedUser.GenericFactory userFactory, com.google.inject.Provider<GetGroups> accountGetGroups, GroupJson json)
public void addOption(com.google.gerrit.common.groups.ListGroupsOption o)
public com.google.gerrit.reviewdb.client.Account.Id getUser()
public java.util.List<ProjectControl> getProjects()
public java.lang.Object apply(com.google.gerrit.extensions.restapi.TopLevelResource resource) throws com.google.gwtorm.server.OrmException
apply
in interface com.google.gerrit.extensions.restapi.RestReadView<com.google.gerrit.extensions.restapi.TopLevelResource>
com.google.gwtorm.server.OrmException
public java.util.List<GroupJson.GroupInfo> get() throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException