aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/service/SubscriptionService.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-06-29 14:03:04 +0300
committerGravatar Vitaly Takmazov2017-06-29 14:03:04 +0300
commit02723131139806c761539a42a5fa80b68ecadee8 (patch)
treeca66f22993908758385f708eb2da4e4aeb20510a /juick-server/src/main/java/com/juick/service/SubscriptionService.java
parent4cc4b08f4377b7db697abdb533c625da608eb3d3 (diff)
project structure: split server into jdbc + web
Diffstat (limited to 'juick-server/src/main/java/com/juick/service/SubscriptionService.java')
-rw-r--r--juick-server/src/main/java/com/juick/service/SubscriptionService.java38
1 files changed, 0 insertions, 38 deletions
diff --git a/juick-server/src/main/java/com/juick/service/SubscriptionService.java b/juick-server/src/main/java/com/juick/service/SubscriptionService.java
deleted file mode 100644
index 074c73f5..00000000
--- a/juick-server/src/main/java/com/juick/service/SubscriptionService.java
+++ /dev/null
@@ -1,38 +0,0 @@
-package com.juick.service;
-
-import com.juick.Tag;
-import com.juick.User;
-import com.juick.server.helpers.NotifyOpts;
-
-import java.util.List;
-
-/**
- * Created by aalexeev on 11/13/16.
- */
-public interface SubscriptionService {
- List<String> getJIDSubscribedToUser(int uid, boolean friendsonly);
-
- List<User> getSubscribedUsers(int uid, int mid);
-
- List<User> getUsersSubscribedToComments(int mid, int ignore_uid);
-
- List<User> getUsersSubscribedToUserRecommendations(int uid, int mid, int muid);
-
- boolean subscribeMessage(int mid, int vuid);
-
- boolean unSubscribeMessage(int mid, int vuid);
-
- boolean subscribeUser(User user, User toUser);
-
- boolean unSubscribeUser(User user, User fromUser);
-
- boolean subscribeTag(User user, Tag toTag);
-
- boolean unSubscribeTag(User user, Tag toTag);
-
- List<String> getSubscribedTags(User user);
-
- NotifyOpts getNotifyOptions(User user);
-
- boolean setNotifyOptions(User user, NotifyOpts options);
-}