Interface SubmittedAFDataService


  • @Deprecated
    public interface SubmittedAFDataService
    Deprecated.
    SubmittedAFDataService service will get/delete/submit user data (attachments and form data) filled in Adaptive Form
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.Boolean deleteSubmittedAFUserData​(java.lang.String submitDataID)
      Deprecated.
      Deletes user data stored against the ID passed as argument
      byte[] getSubmittedAFUSerData​(java.lang.String submitDataID)
      Deprecated.
      Gets the user data stored against the ID passed as argument
      java.lang.String submitAFUserData​(java.util.Map<java.lang.String,​java.lang.Object> submittedAFUserdataMap)
      Deprecated.
      Submits the user data passed in argument map
      java.lang.String submitAttachments​(java.lang.Object attachmentBytes)
      Deprecated.
      Submits the attachment bytes passed as argument
    • Method Detail

      • submitAFUserData

        java.lang.String submitAFUserData​(java.util.Map<java.lang.String,​java.lang.Object> submittedAFUserdataMap)
                                   throws FormsPortalException
        Deprecated.
        Submits the user data passed in argument map
        Parameters:
        submittedAFUserdataMap - This map contains Form Data (key - "guideState"), Adaptive Form Name (Key - "guideName"), and Draft DataID (Key - "userDataID")
        Returns:
        status string to be set to 0 if user data not submitted properly otherwise 1 only
        Throws:
        FormsPortalException
      • getSubmittedAFUSerData

        byte[] getSubmittedAFUSerData​(java.lang.String submitDataID)
                               throws FormsPortalException
        Deprecated.
        Gets the user data stored against the ID passed as argument
        Parameters:
        submitDataID -
        Returns:
        guideState which would be used to open DOR
        Throws:
        FormsPortalException
      • deleteSubmittedAFUserData

        java.lang.Boolean deleteSubmittedAFUserData​(java.lang.String submitDataID)
                                             throws FormsPortalException
        Deprecated.
        Deletes user data stored against the ID passed as argument
        Parameters:
        Submit - DataID
        Returns:
        status of the delete operation on Submitted User data
        Throws:
        FormsPortalException
      • submitAttachments

        java.lang.String submitAttachments​(java.lang.Object attachmentBytes)
                                    throws FormsPortalException
        Deprecated.
        Submits the attachment bytes passed as argument
        Parameters:
        attachmentsBytes - would expect byte array of the attachment to be saved
        Returns:
        id for the attachment just saved (so that it could be retrieved later)
        Throws:
        FormsPortalException