aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/service/UserService.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-03-07 13:20:45 +0300
committerGravatar Vitaly Takmazov2020-03-07 13:20:45 +0300
commitc9d67837cbcaae84a03b7bd14e508ca62880f87f (patch)
tree0f66e38f5b6aa48c66fae7d10c0b8b5ad6f7e7e2 /src/main/java/com/juick/service/UserService.java
parentad50d1090b303d3a71c354dd2922a982fda6a289 (diff)
Reorganize project layout
Diffstat (limited to 'src/main/java/com/juick/service/UserService.java')
-rw-r--r--src/main/java/com/juick/service/UserService.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/main/java/com/juick/service/UserService.java b/src/main/java/com/juick/service/UserService.java
index 71b38594..e171126d 100644
--- a/src/main/java/com/juick/service/UserService.java
+++ b/src/main/java/com/juick/service/UserService.java
@@ -17,8 +17,8 @@
package com.juick.service;
-import com.juick.Message;
-import com.juick.User;
+import com.juick.model.Message;
+import com.juick.model.User;
import com.juick.model.AuthResponse;
import javax.annotation.Nonnull;
@@ -61,7 +61,8 @@ public interface UserService {
int getUIDbyHash(String hash);
- @Nonnull com.juick.User getUserByHash(String hash);
+ @Nonnull
+ User getUserByHash(String hash);
String getHashByUID(int uid);
@@ -91,7 +92,7 @@ public interface UserService {
boolean isSubscribed(int uid, int check);
- List<com.juick.User> getUserReadLeastPopular(int uid, int cnt);
+ List<User> getUserReadLeastPopular(int uid, int cnt);
List<User> getUserReaders(int uid);
@@ -99,7 +100,7 @@ public interface UserService {
Integer getUserRecommendations(User user);
- List<com.juick.User> getUserBLUsers(int uid);
+ List<User> getUserBLUsers(int uid);
boolean linkTwitterAccount(User user, String accessToken, String accessTokenSecret, String screenName);