Interface SubmissionListener

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    SubmissionListenerAdapter


    public interface SubmissionListener
    extends java.io.Serializable
    This interface allows you to subscribe to the lifecycle events that take place during the submission of a resource like Comments or Requests
    • Method Detail

      • onSubmissionStarted

        void onSubmissionStarted()
        Called when a submission has started
      • onSubmissionCompleted

        void onSubmissionCompleted()
        Called when a submission has been completed successfully
      • onSubmissionCancel

        void onSubmissionCancel()
        Called when the submission has been explicitly cancelled by the client / user
      • onSubmissionError

        void onSubmissionError(ErrorResponse errorResponse)
        Called when a submission has completed with errors.
        Parameters:
        errorResponse - The ErrorResponse describing the error