aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main/java/com/juick/service/MessengerService.java
blob: e07c73fe7c5c0509cb1e26250f3d2d06b68c8b7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package com.juick.service;

import com.juick.User;

import java.util.Optional;

public interface MessengerService {
    Integer getUserId(String senderId);
    Optional<String> getSenderId(User user);
    boolean createMessengerUser(String senderId, String displayName);
    String getDisplayName(String hash);
    String getSignUpHash(String senderId, String username);
    boolean linkMessengerUser(String hash, int uid);
}