Class DeleteComment
- java.lang.Object
-
- com.google.gerrit.server.update.RetryingRestModifyView<CommentResource,DeleteCommentInput,CommentInfo>
-
- com.google.gerrit.server.restapi.change.DeleteComment
-
- All Implemented Interfaces:
RestModifyView<CommentResource,DeleteCommentInput>
,RestView<CommentResource>
public class DeleteComment extends RetryingRestModifyView<CommentResource,DeleteCommentInput,CommentInfo>
-
-
Constructor Summary
Constructors Constructor Description DeleteComment(com.google.inject.Provider<CurrentUser> userProvider, PermissionBackend permissionBackend, RetryHelper retryHelper, CommentsUtil commentsUtil, com.google.inject.Provider<CommentJson> commentJson, ChangeNotes.Factory notesFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<CommentInfo>
applyImpl(BatchUpdate.Factory batchUpdateFactory, CommentResource rsrc, DeleteCommentInput input)
-
Methods inherited from class com.google.gerrit.server.update.RetryingRestModifyView
apply
-
-
-
-
Constructor Detail
-
DeleteComment
@Inject public DeleteComment(com.google.inject.Provider<CurrentUser> userProvider, PermissionBackend permissionBackend, RetryHelper retryHelper, CommentsUtil commentsUtil, com.google.inject.Provider<CommentJson> commentJson, ChangeNotes.Factory notesFactory)
-
-
Method Detail
-
applyImpl
public Response<CommentInfo> applyImpl(BatchUpdate.Factory batchUpdateFactory, CommentResource rsrc, DeleteCommentInput input) throws RestApiException, IOException, org.eclipse.jgit.errors.ConfigInvalidException, PermissionBackendException, UpdateException
- Specified by:
applyImpl
in classRetryingRestModifyView<CommentResource,DeleteCommentInput,CommentInfo>
- Throws:
RestApiException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
PermissionBackendException
UpdateException
-
-