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.
*/
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. */
}