Merge remote-tracking branch 'origin/unstable' into testing
[gpl/argeo-suite.git] / org.argeo.app.core / src / org / argeo / app / xforms / FormSubmissionListener.java
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
new file mode 100644 (file)
index 0000000..7122892
--- /dev/null
@@ -0,0 +1,10 @@
+package org.argeo.app.xforms;
+
+import javax.jcr.Node;
+import javax.jcr.RepositoryException;
+
+/** Called when a user has received a new form submission. */
+public interface FormSubmissionListener {
+       /** Called after a form submission has been stored in the user area. */
+       void formSubmissionReceived(Node node) throws RepositoryException;
+}