public class GetGroups extends java.lang.Object implements RestReadView<AccountResource>
Modifier and Type | Method and Description |
---|---|
java.util.List<GroupInfo> |
apply(AccountResource resource)
Process the view operation by reading from the resource.
|
public java.util.List<GroupInfo> apply(AccountResource resource) throws PermissionBackendException
RestReadView
apply
in interface RestReadView<AccountResource>
resource
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.PermissionBackendException