diff options
author | mykhailo.dubovskyi | 2018-04-18 15:57:53 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-04-20 11:03:47 +0300 |
commit | 842e903d5b987dd23e82a423bddae75acdea0c9c (patch) | |
tree | 59eabfb9969b6cbe00703674f8d3ddb7d2e029e0 /juick-common/src/main/java/com/juick/service/MessagesService.java | |
parent | ef1c674b0dc1979e46e970ad67ccc7a9bb67b001 (diff) |
Like -> Reaction
Diffstat (limited to 'juick-common/src/main/java/com/juick/service/MessagesService.java')
-rw-r--r-- | juick-common/src/main/java/com/juick/service/MessagesService.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/juick-common/src/main/java/com/juick/service/MessagesService.java b/juick-common/src/main/java/com/juick/service/MessagesService.java index 34c15271..853e4271 100644 --- a/juick-common/src/main/java/com/juick/service/MessagesService.java +++ b/juick-common/src/main/java/com/juick/service/MessagesService.java @@ -17,11 +17,14 @@ package com.juick.service; +import com.juick.Reaction; import com.juick.User; import com.juick.server.helpers.ResponseReply; import java.util.Collection; import java.util.List; +import java.util.Map; +import java.util.Set; /** * Created by aalexeev on 11/13/16. @@ -41,6 +44,9 @@ public interface MessagesService { RecommendStatus recommendMessage(int mid, int vuid); + RecommendStatus likeMessage(int mid, int vuid, int reactionId); + + boolean canViewThread(int mid, int uid); boolean isReadOnly(int mid); @@ -95,6 +101,8 @@ public interface MessagesService { List<com.juick.Message> getMessages(List<Integer> mids); + Map<Integer,Set<Reaction>> updateReactionsFor(final List<Integer> mid); + List<com.juick.Message> getReplies(User user, int mid); boolean setMessagePopular(int mid, int popular); |