X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fdatabase%2FPostDatabase.java;h=40e6290d62bd3229134516d20d4cc1d79c039534;hb=7f2bdf1948d876ae8cdefc1470a5bfb6e9506cbb;hp=1f9a2a81ad647acd8f08bafcc97a799adafb61e7;hpb=cf10defb0a5f633941427d56238298f1539790ed;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/database/PostDatabase.java b/src/main/java/net/pterodactylus/sone/database/PostDatabase.java index 1f9a2a8..40e6290 100644 --- a/src/main/java/net/pterodactylus/sone/database/PostDatabase.java +++ b/src/main/java/net/pterodactylus/sone/database/PostDatabase.java @@ -17,9 +17,6 @@ package net.pterodactylus.sone.database; -import net.pterodactylus.util.config.Configuration; -import net.pterodactylus.util.config.ConfigurationException; - /** * Combines a {@link PostProvider}, a {@link PostBuilderFactory}, and a * {@link PostStore} into a complete post database. @@ -28,31 +25,6 @@ import net.pterodactylus.util.config.ConfigurationException; */ public interface PostDatabase extends PostProvider, PostBuilderFactory, PostStore { - /* - * these methods have to be here until the database knows how to save its - * own stuff. all the configuration-specific stuff will have to leave! - */ - - /** - * Loads the knows posts. - * - * @param configuration - * The configuration to load the known posts from - * @param prefix - * The prefix for the configuration keys - */ - public void loadKnownPosts(Configuration configuration, String prefix); - - /** - * Saves the knows posts. - * - * @param configuration - * The configuration to save the known posts to - * @param prefix - * The prefix for the configuration keys - * @throws ConfigurationException - * if a value can not be stored in the configuration - */ - public void saveKnownPosts(Configuration configuration, String prefix) throws ConfigurationException; + /* nothing here. */ }