Interface SubmitService


  • @ProviderType
    public interface SubmitService
    Interface exposing the Submission Model SPI's in Forms Portal
    • Method Detail

      • getSubmission

        SubmitModel getSubmission​(java.lang.String submissionId)
                           throws FormsPortalException
        Method returns the submit model against the provided submissionId
        Parameters:
        submissionId - submissionId against which submit model needs to be fetched
        Returns:
        SubmitModel as per the provided submissionId
        Throws:
        FormsPortalException
      • getSubmission

        SubmitModel getSubmission​(java.lang.String submissionId,
                                  Query query)
                           throws FormsPortalException
        Method returns the submit model against the provided submissionId and query
        Parameters:
        submissionId - submissionId against which submit model needs to be fetched
        query - Query to define cut points, filtering etc
        Returns:
        SubmitModel as per the provided submissionId and query filter
        Throws:
        FormsPortalException
      • deleteSubmission

        boolean deleteSubmission​(java.lang.String submissionId)
                          throws FormsPortalException
        Parameters:
        submissionId - submissionId of the submit model that needs to be deleted
        Returns:
        True if update was successful, else false
        Throws:
        FormsPortalException