X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.app.core%2Fsrc%2Forg%2Fargeo%2Fapp%2Fxforms%2FFormSubmissionListener.java;h=feea106b01b2bc4e29c1f600489868550df1fbe1;hb=6360b46535b91e4d94fa79d658c6f98ae88663f9;hp=0dff64c772ec9ec1f6a894fb203a370065fe252a;hpb=615c2201dc78d0c103b25f0f273ff2e023eb87a1;p=gpl%2Fargeo-suite.git 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 0dff64c..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 @@ -1,13 +1,14 @@ package org.argeo.app.xforms; -import javax.jcr.Node; -import javax.jcr.RepositoryException; +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(Node node) throws RepositoryException; + void formSubmissionReceived(Content content, boolean isIncomplete); }