aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/service/MessagesService.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-12-13 15:41:37 +0300
committerGravatar Vitaly Takmazov2016-12-13 15:42:14 +0300
commitdd4b8ff44e11a5b4734e428e3a7153eb1b89a825 (patch)
treeab307ddc31a2b8dcc52260e5bdd4fffe42bbd0c8 /juick-server/src/main/java/com/juick/service/MessagesService.java
parenta165d44d8a2a8ffc5deaa29f40381ad5ea7b3483 (diff)
juick-rss: webmvc port WIP
Diffstat (limited to 'juick-server/src/main/java/com/juick/service/MessagesService.java')
-rw-r--r--juick-server/src/main/java/com/juick/service/MessagesService.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/juick-server/src/main/java/com/juick/service/MessagesService.java b/juick-server/src/main/java/com/juick/service/MessagesService.java
index f7175967..8cb0782f 100644
--- a/juick-server/src/main/java/com/juick/service/MessagesService.java
+++ b/juick-server/src/main/java/com/juick/service/MessagesService.java
@@ -1,6 +1,8 @@
package com.juick.service;
+import com.juick.Message;
import com.juick.User;
+import com.juick.server.helpers.ResponseReply;
import org.springframework.jdbc.core.JdbcTemplate;
import java.util.Collection;
@@ -75,4 +77,8 @@ public interface MessagesService {
boolean setMessagePrivacy(int mid);
boolean deleteMessage(int uid, int mid);
+
+ List<Integer> getLastMessages(int hours);
+
+ List<ResponseReply> getLastReplies(int hours);
}