aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/service/PrivacyQueriesService.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-11-16 14:30:50 +0300
committerGravatar Vitaly Takmazov2016-11-16 16:21:53 +0300
commitffb24e0d469aaafa35ad5f460a7bdf771382f0ff (patch)
tree0d8fc9114b916f9058cccb01fcf8281a0a209284 /juick-server/src/main/java/com/juick/service/PrivacyQueriesService.java
parente8faf851327a12f28ae664a6f7db6c844d0ba9bf (diff)
server-core -> juick-server
Diffstat (limited to 'juick-server/src/main/java/com/juick/service/PrivacyQueriesService.java')
-rw-r--r--juick-server/src/main/java/com/juick/service/PrivacyQueriesService.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/juick-server/src/main/java/com/juick/service/PrivacyQueriesService.java b/juick-server/src/main/java/com/juick/service/PrivacyQueriesService.java
new file mode 100644
index 00000000..61eb199b
--- /dev/null
+++ b/juick-server/src/main/java/com/juick/service/PrivacyQueriesService.java
@@ -0,0 +1,17 @@
+package com.juick.service;
+
+import com.juick.Tag;
+import com.juick.User;
+
+/**
+ * Created by aalexeev on 11/13/16.
+ */
+public interface PrivacyQueriesService {
+ enum PrivacyResult {
+ Removed, Added
+ }
+
+ PrivacyResult blacklistUser(User user, User target);
+
+ PrivacyResult blacklistTag(User user, Tag tag);
+}