projects
/
gpl
/
argeo-suite.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cancel form submission if a listener has failed
[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
index 71228926d0bb075c70f2aa079f7435a628cce8f8..0dff64c772ec9ec1f6a894fb203a370065fe252a 100644
(file)
--- a/
org.argeo.app.core/src/org/argeo/app/xforms/FormSubmissionListener.java
+++ b/
org.argeo.app.core/src/org/argeo/app/xforms/FormSubmissionListener.java
@@
-5,6
+5,9
@@
import javax.jcr.RepositoryException;
/** Called when a user has received a new form submission. */
public interface FormSubmissionListener {
/** 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;
}
void formSubmissionReceived(Node node) throws RepositoryException;
}