public interface SubmitDataService
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteAttachment(String attachmentID)
To delete an attachment
|
boolean |
deleteData(String userDataID)
Deletes user data stored against the userDataID
|
byte[] |
getAttachment(String attachmentID)
To get attachment bytes
|
byte[] |
getData(String userDataID)
Gets the user data stored against the ID passed as argument
|
String |
saveAttachment(byte[] attachmentBytes)
Submits the attachment bytes passed as argument
|
String |
saveAttachmentAsynchronously(byte[] attachmentBytes,
Map<String,Object> options)
Submits the attachment bytes passed as argument asynchronously for the user id provided in options map.
|
String |
saveData(String id,
byte[] data)
Submits the user data provided as byte array
|
String |
saveData(String userDataID,
String formName,
String formData)
Submits the user data passed in argument map
|
String |
saveDataAsynchronusly(byte[] data,
Map<String,Object> options)
Submits the user data provided as byte array asynchronously for the user name provided in the options map
|
String saveData(String userDataID, String formName, 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 submissionFormsPortalExceptionString saveData(String id, byte[] data) throws FormsPortalException
id - data - FormsPortalExceptionString saveDataAsynchronusly(byte[] data, Map<String,Object> options) throws FormsPortalException
data - data to be saved in bytesoptions - map containing options that affect this saveFormsPortalExceptionbyte[] getData(String userDataID) throws FormsPortalException
userDataID: - unique id associated with this user data for this submissionFormsPortalExceptionboolean deleteData(String userDataID) throws FormsPortalException
userDataID: - unique id associated with this user data for this submissionFormsPortalExceptionString saveAttachment(byte[] attachmentBytes) throws FormsPortalException
attachmentsBytes: - would expect byte array of the attachment for this submissionFormsPortalExceptionString saveAttachmentAsynchronously(byte[] attachmentBytes, Map<String,Object> options) throws FormsPortalException
attachmentBytes - would expect byte array of the attachment for this submissionoptions - map containing options that affect this saveFormsPortalExceptionboolean deleteAttachment(String attachmentID) throws FormsPortalException
attachmentID: - Unique id for this attachmentFormsPortalExceptionbyte[] getAttachment(String attachmentID) throws FormsPortalException
attachmentID: - unique id for this attachmentFormsPortalExceptionCopyright © 1982–2022 Adobe Systems Inc.. All rights reserved.