add saveConfiguration stub
[jSite2.git] / src / net / pterodactylus / jsite / core / InsertManager.java
index 1a55798..c91b513 100644 (file)
@@ -93,6 +93,7 @@ public class InsertManager {
         * @param insert
         *            The insert that was removes
         */
+       @SuppressWarnings("unused")
        private void fireInsertRemoved(Insert insert) {
                synchronized (insertListeners) {
                        for (InsertListener insertListener : insertListeners) {
@@ -107,6 +108,7 @@ public class InsertManager {
         * @param insert
         *            The insert that was started
         */
+       @SuppressWarnings("unused")
        private void fireInsertStarted(Insert insert) {
                synchronized (insertListeners) {
                        for (InsertListener insertListener : insertListeners) {
@@ -121,6 +123,7 @@ public class InsertManager {
         * @param insert
         *            The insert that made some progress
         */
+       @SuppressWarnings("unused")
        private void fireInsertProgressed(Insert insert) {
                synchronized (insertListeners) {
                        for (InsertListener insertListener : insertListeners) {
@@ -134,7 +137,10 @@ public class InsertManager {
         * 
         * @param insert
         *            The insert that generated a URI
+        * @param uri
+        *            The generated URI
         */
+       @SuppressWarnings("unused")
        private void fireInsertGeneratedURI(Insert insert, String uri) {
                synchronized (insertListeners) {
                        for (InsertListener insertListener : insertListeners) {
@@ -149,6 +155,7 @@ public class InsertManager {
         * @param insert
         *            The insert that has finished
         */
+       @SuppressWarnings("unused")
        private void fireInsertFinished(Insert insert) {
                synchronized (insertListeners) {
                        for (InsertListener insertListener : insertListeners) {
@@ -184,6 +191,7 @@ public class InsertManager {
                String insertId = "insert-" + project.getId();
                Insert newInsert = new Insert(project, insertNode, insertId);
                inserts.put(insertId, newInsert);
+               saveConfiguration();
                fireInsertAdded(newInsert);
                /* TODO - start insert */
        }
@@ -207,4 +215,11 @@ public class InsertManager {
                logger.log(Level.FINEST, "loadConfiguration()");
        }
 
+       /**
+        * Saves the configuration.
+        */
+       private void saveConfiguration() {
+               logger.log(Level.FINEST, "saveConfiguration()");
+       }
+
 }