public class ListSubgroups extends java.lang.Object implements RestReadView<GroupResource>
| Modifier and Type | Method and Description |
|---|---|
java.util.List<GroupInfo> |
apply(GroupResource rsrc)
Process the view operation by reading from the resource.
|
java.util.List<GroupInfo> |
getDirectSubgroups(GroupDescription.Internal group,
GroupControl groupControl) |
public java.util.List<GroupInfo> apply(GroupResource rsrc) throws com.google.gerrit.server.restapi.group.NotInternalGroupException, com.google.gwtorm.server.OrmException, PermissionBackendException
RestReadViewapply in interface RestReadView<GroupResource>rsrc - resource to read.BinaryResult to avoid automatic conversion
to JSON.com.google.gerrit.server.restapi.group.NotInternalGroupExceptioncom.google.gwtorm.server.OrmExceptionPermissionBackendExceptionpublic java.util.List<GroupInfo> getDirectSubgroups(GroupDescription.Internal group, GroupControl groupControl) throws com.google.gwtorm.server.OrmException, PermissionBackendException
com.google.gwtorm.server.OrmExceptionPermissionBackendException