public class GetOwner extends Object implements RestReadView<GroupResource>
Modifier and Type | Method and Description |
---|---|
GroupInfo |
apply(GroupResource resource)
Process the view operation by reading from the resource.
|
public GroupInfo apply(GroupResource resource) throws MethodNotAllowedException, ResourceNotFoundException, com.google.gwtorm.server.OrmException
RestReadView
apply
in interface RestReadView<GroupResource>
resource
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.MethodNotAllowedException
ResourceNotFoundException
com.google.gwtorm.server.OrmException