public class GetAuditLog extends java.lang.Object implements RestReadView<GroupResource>
Constructor and Description |
---|
GetAuditLog(com.google.inject.Provider<ReviewDb> db,
AccountLoader.Factory accountLoaderFactory,
GroupCache groupCache,
GroupJson groupJson,
GroupBackend groupBackend) |
Modifier and Type | Method and Description |
---|---|
java.util.List<? extends GroupAuditEventInfo> |
apply(GroupResource rsrc)
Process the view operation by reading from the resource.
|
@Inject public GetAuditLog(com.google.inject.Provider<ReviewDb> db, AccountLoader.Factory accountLoaderFactory, GroupCache groupCache, GroupJson groupJson, GroupBackend groupBackend)
public java.util.List<? extends GroupAuditEventInfo> apply(GroupResource rsrc) throws AuthException, MethodNotAllowedException, com.google.gwtorm.server.OrmException
RestReadView
apply
in interface RestReadView<GroupResource>
rsrc
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.AuthException
- the client is not permitted to access this view.MethodNotAllowedException
com.google.gwtorm.server.OrmException