Store the “known” status of a post in the database.
[Sone.git] / src / main / java / net / pterodactylus / sone / data / Post.java
index 36db3a3..bd3986f 100644 (file)
@@ -119,14 +119,12 @@ public interface Post extends Identified {
        /**
         * Sets whether this post is known.
         *
-        * @param known
-        *            {@code true} if this post is known, {@code false} otherwise
         * @return This post
         */
-       public Post setKnown(boolean known);
+       public Post setKnown();
 
-       public void like(Sone localSone);
-       public void unlike(Sone localSone);
+       void like(Sone localSone);
+       void unlike(Sone localSone);
 
        boolean isLiked(Sone sone);
        Set<Sone> getLikes();