Deal with incomplete (big) ODK forms
[gpl/argeo-suite.git] / org.argeo.app.core / src / org / argeo / app / xforms / FormSubmissionListener.java
index 6fee2f96fefd53f7a36ca34264dc25a047de33cb..feea106b01b2bc4e29c1f600489868550df1fbe1 100644 (file)
@@ -4,9 +4,11 @@ import org.argeo.api.acr.Content;
 
 /** Called when a user has received a new form submission. */
 public interface FormSubmissionListener {
+       final static String XML_SUBMISSION_FILE = "xml_submission_file";
+       
        /**
         * Called after a form submission has been stored in the user area. The
         * submission will be deleted if any exception is thrown.
         */
-       void formSubmissionReceived(Content content);
+       void formSubmissionReceived(Content content, boolean isIncomplete);
 }