Store the “known” status of a post in the database.
[Sone.git] / src / main / java / net / pterodactylus / sone / data / Post.java
index 474f9d1..bd3986f 100644 (file)
@@ -119,15 +119,14 @@ 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();
 
        List<PostReply> getReplies();