aboutsummaryrefslogtreecommitdiff
path: root/juick-server-core/src/main/java
diff options
context:
space:
mode:
authorGravatar Killy2017-12-27 16:10:34 +0300
committerGravatar Killy2017-12-27 16:10:34 +0300
commitae16c7b66f8bfc74ef34eddc7d816172a91fe971 (patch)
tree6e8d8c733d72cb80972f91aece1f874eb42cdf9e /juick-server-core/src/main/java
parent4550ab47a0eff300f8f4811bc211c2d9b9554e61 (diff)
UserService - more stats
Diffstat (limited to 'juick-server-core/src/main/java')
-rw-r--r--juick-server-core/src/main/java/com/juick/service/UserService.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/juick-server-core/src/main/java/com/juick/service/UserService.java b/juick-server-core/src/main/java/com/juick/service/UserService.java
index 2da643d8..507935e1 100644
--- a/juick-server-core/src/main/java/com/juick/service/UserService.java
+++ b/juick-server-core/src/main/java/com/juick/service/UserService.java
@@ -67,7 +67,7 @@ public interface UserService {
int getUIDbyHash(String hash);
- com.juick.User getUserByHash(String hash);
+ User getUserByHash(String hash);
String getHashByUID(int uid);
@@ -99,7 +99,7 @@ public interface UserService {
List<Integer> getUserRead(int uid);
- List<com.juick.User> getUserReadLeastPopular(int uid, int cnt);
+ List<User> getUserReadLeastPopular(int uid, int cnt);
List<User> getUserReaders(int uid);
@@ -117,6 +117,10 @@ public interface UserService {
int getStatsReplies(int uid);
+ int getStatsPhotos(int uid);
+
+ int getStatsFavorites(int uid);
+
boolean setActiveStatusForJID(String JID, ActiveStatus jidStatus);
List<String> getAllJIDs(User user);