X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fdatabase%2FPostReplyStore.java;h=30268b84fdde377437fa0cea196aaaa585728d21;hp=a3cefb31e77bd4aa6bf26b7a84acaefa7c37fa49;hb=6e61aaf27462b1716569550e11f6074cacb628d6;hpb=85aad5a15fc8213950d3a40dfe1737d23986da40 diff --git a/src/main/java/net/pterodactylus/sone/database/PostReplyStore.java b/src/main/java/net/pterodactylus/sone/database/PostReplyStore.java index a3cefb3..30268b8 100644 --- a/src/main/java/net/pterodactylus/sone/database/PostReplyStore.java +++ b/src/main/java/net/pterodactylus/sone/database/PostReplyStore.java @@ -38,19 +38,6 @@ public interface PostReplyStore { public void storePostReply(PostReply postReply); /** - * Stores the given post replies as exclusive collection of post replies for - * the given Sone. This will remove all other post replies from this Sone! - * - * @param sone - * The Sone to store all post replies for - * @param postReplies - * The post replies of the Sone - * @throws IllegalArgumentException - * if one of the replies does not belong to the given Sone - */ - public void storePostReplies(Sone sone, Collection postReplies) throws IllegalArgumentException; - - /** * Removes the given post reply from this store. * * @param postReply @@ -58,12 +45,4 @@ public interface PostReplyStore { */ public void removePostReply(PostReply postReply); - /** - * Removes all post replies of the given Sone. - * - * @param sone - * The Sone to remove all post replies for - */ - public void removePostReplies(Sone sone); - }