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