aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src
diff options
context:
space:
mode:
Diffstat (limited to 'juick-common/src')
-rw-r--r--juick-common/src/main/java/com/juick/service/SocialService.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/juick-common/src/main/java/com/juick/service/SocialService.java b/juick-common/src/main/java/com/juick/service/SocialService.java
new file mode 100644
index 00000000..d54d6fa1
--- /dev/null
+++ b/juick-common/src/main/java/com/juick/service/SocialService.java
@@ -0,0 +1,15 @@
+package com.juick.service;
+
+import com.juick.User;
+
+import javax.annotation.Nonnull;
+import java.util.List;
+
+public interface SocialService {
+ @Nonnull
+ User getUserByAccountUri(String acct);
+ @Nonnull
+ List<String> getFollowers(User user);
+ void addFollower(User user, String acct);
+ void removeFollower(User user, String acct);
+}