Convert “Sone was inserted” into EventBus-based event.
[Sone.git] / src / main / java / net / pterodactylus / sone / core / CoreListenerManager.java
index 031fdb3..a4c3b78 100644 (file)
@@ -44,61 +44,6 @@ public class CoreListenerManager extends AbstractListenerManager<Core, CoreListe
        //
 
        /**
-        * Notifies all listeners that the given Sone was locked.
-        *
-        * @see CoreListener#soneLocked(Sone)
-        * @param sone
-        *            The Sone that was locked
-        */
-       void fireSoneLocked(Sone sone) {
-               for (CoreListener coreListener : getListeners()) {
-                       coreListener.soneLocked(sone);
-               }
-       }
-
-       /**
-        * Notifies all listeners that the given Sone was unlocked.
-        *
-        * @see CoreListener#soneUnlocked(Sone)
-        * @param sone
-        *            The Sone that was unlocked
-        */
-       void fireSoneUnlocked(Sone sone) {
-               for (CoreListener coreListener : getListeners()) {
-                       coreListener.soneUnlocked(sone);
-               }
-       }
-
-       /**
-        * Notifies all listeners that the insert of the given Sone has started.
-        *
-        * @see SoneInsertListener#insertStarted(Sone)
-        * @param sone
-        *            The Sone being inserted
-        */
-       void fireSoneInserting(Sone sone) {
-               for (CoreListener coreListener : getListeners()) {
-                       coreListener.soneInserting(sone);
-               }
-       }
-
-       /**
-        * Notifies all listeners that the insert of the given Sone has finished
-        * successfully.
-        *
-        * @see SoneInsertListener#insertFinished(Sone, long)
-        * @param sone
-        *            The Sone that was inserted
-        * @param insertDuration
-        *            The insert duration (in milliseconds)
-        */
-       void fireSoneInserted(Sone sone, long insertDuration) {
-               for (CoreListener coreListener : getListeners()) {
-                       coreListener.soneInserted(sone, insertDuration);
-               }
-       }
-
-       /**
         * Notifies all listeners that the insert of the given Sone was aborted.
         *
         * @see SoneInsertListener#insertStarted(Sone)