@Internal
public interface CommentReactionsService
| Modifier and Type | Method and Description |
|---|---|
ServiceOutcome<ReactionSummary> |
addReaction(ApplicationUser loggedInUser,
long commentId,
String emojiId)
Checks whether the user already reacted to the comment with given emoji, and if not, adds a reaction.
|
ServiceOutcome<ReactionSummary> |
deleteReaction(ApplicationUser loggedInUser,
Long commentId,
String emojiId)
Deletes a reaction.
|
ServiceOutcome<ReactionSummary> |
getDetailedReaction(ApplicationUser loggedInUser,
Long commentId,
String emojiId)
Gets the details of the reaction containing Unicode of the emoji and a list of users who reacted with it.
|
ServiceOutcome<Collection<ReactionSummary>> |
getReactions(ApplicationUser loggedInUser,
Collection<Long> commentIds)
Gets all reactions for a given comment.
|
@Nonnull ServiceOutcome<Collection<ReactionSummary>> getReactions(@Nonnull ApplicationUser loggedInUser, Collection<Long> commentIds)
loggedInUser - the user performing operationcommentIds - comments idsReactionSummary@Nonnull ServiceOutcome<ReactionSummary> getDetailedReaction(@Nonnull ApplicationUser loggedInUser, Long commentId, String emojiId)
loggedInUser - the user performing operationcommentId - the ID of the commentemojiId - Unicode of the emojiReactionSummary object@Nonnull ServiceOutcome<ReactionSummary> addReaction(@Nonnull ApplicationUser loggedInUser, long commentId, String emojiId)
loggedInUser - the user performing operationcommentId - the ID of the commentemojiId - Unicode of the emojiReactionSummary for given emoji and given comment@Nonnull ServiceOutcome<ReactionSummary> deleteReaction(@Nonnull ApplicationUser loggedInUser, Long commentId, String emojiId)
loggedInUser - the user performing operationcommentId - the ID of the commentemojiId - Unicode of the emojiReactionSummary for given emoji and given commentCopyright © 2002-2024 Atlassian. All Rights Reserved.