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:RestReadViewProcess the view operation by reading from the resource.- Specified by:
applyin interfaceRestReadView<GroupResource>- Parameters:
rsrc- resource to read.- Returns:
- result to return to the client. Use
BinaryResultto avoid automatic conversion to JSON. - Throws:
com.google.gerrit.server.restapi.group.NotInternalGroupExceptioncom.google.gwtorm.server.OrmExceptionPermissionBackendException
-
getDirectSubgroups
public List<GroupInfo> getDirectSubgroups(GroupDescription.Internal group, GroupControl groupControl) throws com.google.gwtorm.server.OrmException, PermissionBackendException
- Throws:
com.google.gwtorm.server.OrmExceptionPermissionBackendException
-
-