aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/service/UserService.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/service/UserService.java')
-rw-r--r--src/main/java/com/juick/service/UserService.java12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/main/java/com/juick/service/UserService.java b/src/main/java/com/juick/service/UserService.java
index ab060d5f..eeabf42e 100644
--- a/src/main/java/com/juick/service/UserService.java
+++ b/src/main/java/com/juick/service/UserService.java
@@ -24,11 +24,11 @@ import com.juick.model.AuthResponse;
import com.juick.model.ExternalToken;
import com.juick.util.UsernameTakenException;
+import jakarta.annotation.Nonnull;
import org.apache.commons.lang3.tuple.Pair;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.Cacheable;
-import javax.annotation.Nonnull;
import java.util.Collection;
import java.util.List;
import java.util.Optional;
@@ -42,8 +42,6 @@ public interface UserService {
Active
}
- String getSignUpHashByJID(String jid);
-
String getSignUpHashByTelegramID(Long telegramId, String username);
@CacheEvict(value = { "usernames", "users_by_name" }, allEntries = true)
@@ -79,16 +77,10 @@ public interface UserService {
@CacheEvict(value = "users_by_name", allEntries = true)
boolean updatePassword(User user, String newPassword);
- int getUserOptionInt(int uid, String option, int defaultValue);
-
- int setUserOptionInt(int uid, String option, int value);
-
User getUserInfo(User user);
boolean updateUserInfo(User info);
- boolean getCanMedia(int uid);
-
boolean isInWL(int uid, int check);
boolean isInBL(int uid, int check);
@@ -107,8 +99,6 @@ public interface UserService {
List<User> getUserFriends(int uid);
- Integer getUserRecommendations(User user);
-
List<User> getUserBLUsers(int uid);
boolean linkTwitterAccount(User user, String accessToken, String accessTokenSecret, String screenName);