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

import com.juick.User;

import javax.annotation.Nonnull;
import java.util.List;

public interface SocialService {
    @Nonnull
    User getUserByAccountUri(String acct);
    @Nonnull
    List<String> getFollowers(User user);
    void addFollower(User user, String acct);
    void removeFollower(User user, String acct);
}