public interface SubmitDataService
Modifier and Type | Method and Description |
---|---|
boolean |
deleteAttachment(java.lang.String attachmentID)
To delete an attachment
|
boolean |
deleteData(java.lang.String userDataID)
Deletes user data stored against the userDataID
|
byte[] |
getAttachment(java.lang.String attachmentID)
To get attachment bytes
|
byte[] |
getData(java.lang.String userDataID)
Gets the user data stored against the ID passed as argument
|
java.lang.String |
saveAttachment(byte[] attachmentBytes)
Submits the attachment bytes passed as argument
|
java.lang.String |
saveAttachmentAsynchronously(byte[] attachmentBytes,
java.util.Map<java.lang.String,java.lang.Object> options)
Submits the attachment bytes passed as argument asynchronously for the user id provided in options map.
|
java.lang.String |
saveData(java.lang.String id,
byte[] data)
Submits the user data provided as byte array
|
java.lang.String |
saveData(java.lang.String userDataID,
java.lang.String formName,
java.lang.String formData)
Submits the user data passed in argument map
|
java.lang.String |
saveDataAsynchronusly(byte[] data,
java.util.Map<java.lang.String,java.lang.Object> options)
Submits the user data provided as byte array asynchronously for the user name provided in the options map
|
java.lang.String saveData(java.lang.String userDataID, java.lang.String formName, java.lang.String formData) throws FormsPortalException
userDataID,
- unique identifier associated with this user dataformName,
- name of the form whose draft is being submittedformData,
- user data associated with this submissionFormsPortalException
java.lang.String saveData(java.lang.String id, byte[] data) throws FormsPortalException
id
- data
- FormsPortalException
java.lang.String saveDataAsynchronusly(byte[] data, java.util.Map<java.lang.String,java.lang.Object> options) throws FormsPortalException
data
- data to be saved in bytesoptions
- map containing options that affect this saveFormsPortalException
byte[] getData(java.lang.String userDataID) throws FormsPortalException
userDataID:
- unique id associated with this user data for this submissionFormsPortalException
boolean deleteData(java.lang.String userDataID) throws FormsPortalException
userDataID:
- unique id associated with this user data for this submissionFormsPortalException
java.lang.String saveAttachment(byte[] attachmentBytes) throws FormsPortalException
attachmentsBytes:
- would expect byte array of the attachment for this submissionFormsPortalException
java.lang.String saveAttachmentAsynchronously(byte[] attachmentBytes, java.util.Map<java.lang.String,java.lang.Object> options) throws FormsPortalException
attachmentBytes
- would expect byte array of the attachment for this submissionoptions
- map containing options that affect this saveFormsPortalException
boolean deleteAttachment(java.lang.String attachmentID) throws FormsPortalException
attachmentID:
- Unique id for this attachmentFormsPortalException
byte[] getAttachment(java.lang.String attachmentID) throws FormsPortalException
attachmentID:
- unique id for this attachmentFormsPortalException
Copyright © 2010 - 2020 Adobe. All Rights Reserved