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 CommentInfoapplyImpl(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 CommentInfo applyImpl(BatchUpdate.Factory batchUpdateFactory, CommentResource rsrc, DeleteCommentInput input) throws RestApiException, IOException, org.eclipse.jgit.errors.ConfigInvalidException, PermissionBackendException, UpdateException
- Specified by:
applyImplin classRetryingRestModifyView<CommentResource,DeleteCommentInput,CommentInfo>- Throws:
RestApiExceptionIOExceptionorg.eclipse.jgit.errors.ConfigInvalidExceptionPermissionBackendExceptionUpdateException
-
-