public class GetDetail extends java.lang.Object implements RestReadView<AccountResource>
Modifier and Type | Class and Description |
---|---|
static class |
GetDetail.AccountDetailInfo |
Constructor and Description |
---|
GetDetail(InternalAccountDirectory directory) |
Modifier and Type | Method and Description |
---|---|
GetDetail.AccountDetailInfo |
apply(AccountResource rsrc)
Process the view operation by reading from the resource.
|
@Inject public GetDetail(InternalAccountDirectory directory)
public GetDetail.AccountDetailInfo apply(AccountResource rsrc) throws com.google.gwtorm.server.OrmException
RestReadView
apply
in interface RestReadView<AccountResource>
rsrc
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.com.google.gwtorm.server.OrmException