X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fdata%2FSone.java;h=bc90b12037c2795928e2e3ac1eca695ef70f71c3;hb=d15563b5b582b71366a52a361537c06cd52ae55b;hp=2f529cb4756f807b385d01e97d4f8503310a24e7;hpb=3be262ed12308938a8523118e4f909f4a88a07dc;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/data/Sone.java b/src/main/java/net/pterodactylus/sone/data/Sone.java index 2f529cb..bc90b12 100644 --- a/src/main/java/net/pterodactylus/sone/data/Sone.java +++ b/src/main/java/net/pterodactylus/sone/data/Sone.java @@ -343,23 +343,6 @@ public interface Sone extends Identified, Fingerprintable, Comparable { List getPosts(); /** - * Adds the given post to this Sone. The post will not be added if its {@link - * Post#getSone() Sone} is not this Sone. - * - * @param post - * The post to add - */ - void addPost(Post post); - - /** - * Removes the given post from this Sone. - * - * @param post - * The post to remove - */ - void removePost(Post post); - - /** * Returns all replies this Sone made. * * @return All replies this Sone made @@ -367,32 +350,6 @@ public interface Sone extends Identified, Fingerprintable, Comparable { Set getReplies(); /** - * Sets all replies of this Sone at once. - * - * @param replies - * The new (and only) replies of this Sone - * @return This Sone (for method chaining) - */ - Sone setReplies(Collection replies); - - /** - * Adds a reply to this Sone. If the given reply was not made by this Sone, - * nothing is added to this Sone. - * - * @param reply - * The reply to add - */ - void addReply(PostReply reply); - - /** - * Removes a reply from this Sone. - * - * @param reply - * The reply to remove - */ - void removeReply(PostReply reply); - - /** * Returns the IDs of all liked posts. * * @return All liked posts’ IDs