1 package net.pterodactylus.sone.database;
5 import net.pterodactylus.sone.data.Post;
8 * Database interface for bookmark-related functionality.
10 * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
12 public interface BookmarkDatabase {
14 void bookmarkPost(Post post);
15 void unbookmarkPost(Post post);
16 boolean isPostBookmarked(Post post);
17 Set<Post> getBookmarkedPosts();