Cancel form submission if a listener has failed
[gpl/argeo-suite.git] / org.argeo.app.core / src / org / argeo / app / xforms / FormSubmissionListener.java
index 71228926d0bb075c70f2aa079f7435a628cce8f8..0dff64c772ec9ec1f6a894fb203a370065fe252a 100644 (file)
@@ -5,6 +5,9 @@ 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. */
+       /**
+        * 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;
 }