Move friend-related functionality into the database.
[Sone.git] / src / main / java / net / pterodactylus / sone / database / FriendStore.java
diff --git a/src/main/java/net/pterodactylus/sone/database/FriendStore.java b/src/main/java/net/pterodactylus/sone/database/FriendStore.java
new file mode 100644 (file)
index 0000000..38c1c80
--- /dev/null
@@ -0,0 +1,15 @@
+package net.pterodactylus.sone.database;
+
+import net.pterodactylus.sone.data.Sone;
+
+/**
+ * Stores information about the {@link Sone#getFriends() friends} of a {@link Sone}.
+ *
+ * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
+ */
+public interface FriendStore {
+
+       void addFriend(Sone localSone, String friendSoneId);
+       void removeFriend(Sone localSone, String friendSoneId);
+
+}