public class ListChangeMessages extends java.lang.Object implements RestReadView<ChangeResource>
Constructor and Description |
---|
ListChangeMessages(ChangeMessagesUtil changeMessagesUtil,
AccountLoader.Factory accountLoaderFactory) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ChangeMessageInfo> |
apply(ChangeResource resource)
Process the view operation by reading from the resource.
|
@Inject public ListChangeMessages(ChangeMessagesUtil changeMessagesUtil, AccountLoader.Factory accountLoaderFactory)
public java.util.List<ChangeMessageInfo> apply(ChangeResource resource) throws PermissionBackendException
RestReadView
apply
in interface RestReadView<ChangeResource>
resource
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.PermissionBackendException