Use local Sones in more places where it’s appropriate.
[Sone.git] / src / main / java / net / pterodactylus / sone / database / FriendStore.java
1 package net.pterodactylus.sone.database;
2
3 import net.pterodactylus.sone.data.LocalSone;
4 import net.pterodactylus.sone.data.Sone;
5
6 /**
7  * Stores information about the {@link Sone#getFriends() friends} of a {@link Sone}.
8  *
9  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
10  */
11 public interface FriendStore {
12
13         void addFriend(LocalSone localSone, String friendSoneId);
14         void removeFriend(LocalSone localSone, String friendSoneId);
15
16 }