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=4bde55b4ec9f158c000f8be479a7795318d06331;hpb=20eb3936c12c72f525b8f71b6ce205bc75775343;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 4bde55b..bc90b12 100644 --- a/src/main/java/net/pterodactylus/sone/data/Sone.java +++ b/src/main/java/net/pterodactylus/sone/data/Sone.java @@ -343,32 +343,6 @@ public interface Sone extends Identified, Fingerprintable, Comparable { List getPosts(); /** - * Sets all posts of this Sone at once. - * - * @param posts - * The new (and only) posts of this Sone - * @return This Sone (for method chaining) - */ - Sone setPosts(Collection posts); - - /** - * 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 @@ -376,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