Merge branch 'master' into next
[Sone.git] / src / main / java / net / pterodactylus / sone / database / PostReplyStore.java
index a3cefb3..939c100 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - PostReplyStore.java - Copyright © 2013 David Roden
+ * Sone - PostReplyStore.java - Copyright © 2013–2015 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -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<PostReply> 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);
-
 }