aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main/java/com/juick/service/SocialService.java
blob: eb77619b6307672e8835d9730078371efdcc1447 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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);
    void removeAccount(String acct);
}