/**
* 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 {
/**
* 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
/**
* Notifies a listener that an insert has made some progress.
- *
+ *
* @param project
* The project being inserted
* @param succeeded
/**
* Notifies a listener that a project insert has finished.
- *
+ *
* @param project
* The project being inserted
* @param success