Class ListSubgroups
- java.lang.Object
-
- com.google.gerrit.server.restapi.group.ListSubgroups
-
- All Implemented Interfaces:
RestReadView<GroupResource>
,RestView<GroupResource>
public class ListSubgroups extends Object implements RestReadView<GroupResource>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<GroupInfo>
apply(GroupResource rsrc)
Process the view operation by reading from the resource.List<GroupInfo>
getDirectSubgroups(GroupDescription.Internal group, GroupControl groupControl)
-
-
-
Method Detail
-
apply
public List<GroupInfo> apply(GroupResource rsrc) throws com.google.gerrit.server.restapi.group.NotInternalGroupException, com.google.gwtorm.server.OrmException, PermissionBackendException
Description copied from interface:RestReadView
Process the view operation by reading from the resource.- Specified by:
apply
in interfaceRestReadView<GroupResource>
- Parameters:
rsrc
- resource to read.- Returns:
- result to return to the client. Use
BinaryResult
to avoid automatic conversion to JSON. - Throws:
com.google.gerrit.server.restapi.group.NotInternalGroupException
com.google.gwtorm.server.OrmException
PermissionBackendException
-
getDirectSubgroups
public List<GroupInfo> getDirectSubgroups(GroupDescription.Internal group, GroupControl groupControl) throws com.google.gwtorm.server.OrmException, PermissionBackendException
- Throws:
com.google.gwtorm.server.OrmException
PermissionBackendException
-
-