Extract memory-backed post database into its own class.
[Sone.git] / src / main / java / net / pterodactylus / sone / database / Database.java
index 4bf863f..02b4ae1 100644 (file)
@@ -26,14 +26,6 @@ import com.google.common.util.concurrent.Service;
  *
  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
-public interface Database extends Service, PostDatabase, PostReplyDatabase, AlbumDatabase {
-
-       /**
-        * Saves the database.
-        *
-        * @throws DatabaseException
-        *             if an error occurs while saving
-        */
-       public void save() throws DatabaseException;
+public interface Database extends Service, IdentityDatabase, SoneDatabase, PostDatabase, PostReplyDatabase, AlbumDatabase, ImageDatabase {
 
 }