public interface ReactionableObject
| Modifier and Type | Interface and Description |
|---|---|
static class |
ReactionableObject.ReactionType
Reaction type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addReaction(UserIdentity user,
ReactionableObject.ReactionType reactionType)
Add the user reaction
|
List<UserIdentity> |
getReactionUsers(ReactionableObject.ReactionType reactionType)
Get the list of users who react
|
void |
removeReaction(UserIdentity user,
ReactionableObject.ReactionType reactionType)
Remove the user reaction
|
void addReaction(UserIdentity user, ReactionableObject.ReactionType reactionType)
user - the userreactionType - the reaction typevoid removeReaction(UserIdentity user, ReactionableObject.ReactionType reactionType)
user - the userreactionType - the reaction typeList<UserIdentity> getReactionUsers(ReactionableObject.ReactionType reactionType)
reactionType - the reaction type