Package com.google.gerrit.server.group
Class GetAuditLog
- java.lang.Object
-
- com.google.gerrit.server.group.GetAuditLog
-
- All Implemented Interfaces:
RestReadView<GroupResource>
,RestView<GroupResource>
public class GetAuditLog extends Object implements RestReadView<GroupResource>
-
-
Constructor Summary
Constructors Constructor Description GetAuditLog(com.google.inject.Provider<ReviewDb> db, AccountLoader.Factory accountLoaderFactory, GroupCache groupCache, GroupJson groupJson, GroupBackend groupBackend)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<? extends GroupAuditEventInfo>
apply(GroupResource rsrc)
Process the view operation by reading from the resource.
-
-
-
Constructor Detail
-
GetAuditLog
@Inject public GetAuditLog(com.google.inject.Provider<ReviewDb> db, AccountLoader.Factory accountLoaderFactory, GroupCache groupCache, GroupJson groupJson, GroupBackend groupBackend)
-
-
Method Detail
-
apply
public List<? extends GroupAuditEventInfo> apply(GroupResource rsrc) throws AuthException, MethodNotAllowedException, com.google.gwtorm.server.OrmException
Description copied from interface:RestReadView
Process the view operation by reading from the resource.- Specified by:
apply
in interfaceRestReadView<GroupResource>
- Parameters:
rsrc
- resource to read.- Returns:
- result to return to the client. Use
BinaryResult
to avoid automatic conversion to JSON. - Throws:
AuthException
- the client is not permitted to access this view.MethodNotAllowedException
com.google.gwtorm.server.OrmException
-
-