public class DeleteComment extends RetryingRestModifyView<CommentResource,DeleteCommentInput,CommentInfo>
| Constructor and Description |
|---|
DeleteComment(com.google.inject.Provider<CurrentUser> userProvider,
PermissionBackend permissionBackend,
RetryHelper retryHelper,
CommentsUtil commentsUtil,
com.google.inject.Provider<CommentJson> commentJson,
ChangeNotes.Factory notesFactory) |
| Modifier and Type | Method and Description |
|---|---|
CommentInfo |
applyImpl(BatchUpdate.Factory batchUpdateFactory,
CommentResource rsrc,
DeleteCommentInput input) |
apply@Inject public DeleteComment(com.google.inject.Provider<CurrentUser> userProvider, PermissionBackend permissionBackend, RetryHelper retryHelper, CommentsUtil commentsUtil, com.google.inject.Provider<CommentJson> commentJson, ChangeNotes.Factory notesFactory)
public CommentInfo applyImpl(BatchUpdate.Factory batchUpdateFactory, CommentResource rsrc, DeleteCommentInput input) throws RestApiException, IOException, org.eclipse.jgit.errors.ConfigInvalidException, PermissionBackendException, UpdateException
applyImpl in class RetryingRestModifyView<CommentResource,DeleteCommentInput,CommentInfo>RestApiExceptionIOExceptionorg.eclipse.jgit.errors.ConfigInvalidExceptionPermissionBackendExceptionUpdateException