aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main/java/com/juick/service/SearchService.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-09-13 15:45:52 +0300
committerGravatar Vitaly Takmazov2018-09-13 15:45:52 +0300
commit62d4f6f3fabe69b0e08195e99eedd72442bffa68 (patch)
tree65d54c9d2ffe5620d27224825fb4050abe2ea912 /juick-common/src/main/java/com/juick/service/SearchService.java
parentd6bd717e553be5d339cf05bca099539844ba68a5 (diff)
hide banned from search
Diffstat (limited to 'juick-common/src/main/java/com/juick/service/SearchService.java')
-rw-r--r--juick-common/src/main/java/com/juick/service/SearchService.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/juick-common/src/main/java/com/juick/service/SearchService.java b/juick-common/src/main/java/com/juick/service/SearchService.java
index cd57eb5b..0dae5cfc 100644
--- a/juick-common/src/main/java/com/juick/service/SearchService.java
+++ b/juick-common/src/main/java/com/juick/service/SearchService.java
@@ -17,6 +17,8 @@
package com.juick.service;
+import com.juick.User;
+
import java.util.List;
/**
@@ -25,7 +27,7 @@ import java.util.List;
public interface SearchService {
void setMaxResult(int maxResult);
- List<Integer> searchInAllMessages(String searchString, int messageIdBefore);
+ List<Integer> searchInAllMessages(User visitor, String searchString, int messageIdBefore);
- List<Integer> searchByStringAndUser(String searchString, final int userId, int messageIdBefore);
+ List<Integer> searchByStringAndUser(User visitor, String searchString, final int userId, int messageIdBefore);
}