public class DeleteComment extends RetryingRestModifyView<CommentResource,DeleteCommentInput,CommentInfo>
Constructor and Description |
---|
DeleteComment(com.google.inject.Provider<CurrentUser> userProvider,
com.google.inject.Provider<ReviewDb> dbProvider,
PermissionBackend permissionBackend,
RetryHelper retryHelper,
CommentsUtil commentsUtil,
com.google.inject.Provider<com.google.gerrit.server.change.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, com.google.inject.Provider<ReviewDb> dbProvider, PermissionBackend permissionBackend, RetryHelper retryHelper, CommentsUtil commentsUtil, com.google.inject.Provider<com.google.gerrit.server.change.CommentJson> commentJson, ChangeNotes.Factory notesFactory)
public CommentInfo applyImpl(BatchUpdate.Factory batchUpdateFactory, CommentResource rsrc, DeleteCommentInput input) throws RestApiException, IOException, org.eclipse.jgit.errors.ConfigInvalidException, com.google.gwtorm.server.OrmException, PermissionBackendException, UpdateException
applyImpl
in class RetryingRestModifyView<CommentResource,DeleteCommentInput,CommentInfo>
RestApiException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
com.google.gwtorm.server.OrmException
PermissionBackendException
UpdateException