- /** Called after a form submission has been stored in the user area. */
- void formSubmissionReceived(Node node) throws RepositoryException;
+ 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, boolean isIncomplete);