Use local Sones for adding friends.
[Sone.git] / src / main / java / net / pterodactylus / sone / database / FriendProvider.java
1 package net.pterodactylus.sone.database;
2
3 import java.util.Collection;
4
5 import net.pterodactylus.sone.data.LocalSone;
6 import net.pterodactylus.sone.data.Sone;
7
8 /**
9  * Provides information about {@link Sone#getFriends() friends} of a {@link Sone}.
10  *
11  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
12  */
13 public interface FriendProvider {
14
15         Collection<String> getFriends(LocalSone localSone);
16         boolean isFriend(LocalSone localSone, String friendSoneId);
17
18 }