X-Git-Url: https://git.argeo.org/?p=gpl%2Fargeo-suite.git;a=blobdiff_plain;f=org.argeo.app.core%2Fsrc%2Forg%2Fargeo%2Fapp%2Fxforms%2FFormSubmissionListener.java;fp=org.argeo.app.core%2Fsrc%2Forg%2Fargeo%2Fapp%2Fxforms%2FFormSubmissionListener.java;h=feea106b01b2bc4e29c1f600489868550df1fbe1;hp=6fee2f96fefd53f7a36ca34264dc25a047de33cb;hb=8a13c369906dc1cbf8ccbee6e9d5958b132b0e99;hpb=1e114c50ad4f7a08d2fa9812da44e71cc7af316c diff --git a/org.argeo.app.core/src/org/argeo/app/xforms/FormSubmissionListener.java b/org.argeo.app.core/src/org/argeo/app/xforms/FormSubmissionListener.java index 6fee2f9..feea106 100644 --- a/org.argeo.app.core/src/org/argeo/app/xforms/FormSubmissionListener.java +++ b/org.argeo.app.core/src/org/argeo/app/xforms/FormSubmissionListener.java @@ -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); }