X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fde%2Ftodesbaum%2Fjsite%2Fapplication%2FInsertListener.java;h=40cdaf17075a2e7dbcecfe3ec9884392c44446d2;hb=6363a6f5355700aea01514c2558f670470dcda82;hp=13710617bd568d46a38d20af7ad04f83fffd62db;hpb=bb52f8a8424a1fb38c99875dc17b39648b2d5d8b;p=jSite.git diff --git a/src/de/todesbaum/jsite/application/InsertListener.java b/src/de/todesbaum/jsite/application/InsertListener.java index 1371061..40cdaf1 100644 --- a/src/de/todesbaum/jsite/application/InsertListener.java +++ b/src/de/todesbaum/jsite/application/InsertListener.java @@ -23,14 +23,14 @@ import java.util.EventListener; /** * Interface for objects that want to be notified abount insert events. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ public interface InsertListener extends EventListener { /** * Enumeration for the different error situations. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ public static enum ErrorType { @@ -53,15 +53,24 @@ public interface InsertListener extends EventListener { /** * Notifies a listener that an insert has started. - * + * * @param project * The project that is now being inserted */ public void projectInsertStarted(Project project); /** + * Notifies a listener that the upload of a project has finished and the + * inserting will start now. + * + * @param project + * The project that has been uploaded + */ + public void projectUploadFinished(Project project); + + /** * Notifies a listener that a project insert has generated a URI. - * + * * @param project * The project being inserted * @param uri @@ -71,7 +80,7 @@ public interface InsertListener extends EventListener { /** * Notifies a listener that an insert has made some progress. - * + * * @param project * The project being inserted * @param succeeded @@ -90,12 +99,12 @@ public interface InsertListener extends EventListener { /** * Notifies a listener that a project insert has finished. - * + * * @param project * The project being inserted * @param success - * true if the insert succeeded, - * false otherwise + * true if the insert succeeded, false + * otherwise * @param cause * The cause of a failure, if any (may be null) */