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 submissionFormsPortalException
String saveData(String id, byte[] data) throws FormsPortalException
id
- data
- FormsPortalException
String saveDataAsynchronusly(byte[] data, Map<String,Object> options) throws FormsPortalException
data
- data to be saved in bytesoptions
- map containing options that affect this saveFormsPortalException
byte[] getData(String userDataID) throws FormsPortalException
userDataID:
- unique id associated with this user data for this submissionFormsPortalException
boolean deleteData(String userDataID) throws FormsPortalException
userDataID:
- unique id associated with this user data for this submissionFormsPortalException
String saveAttachment(byte[] attachmentBytes) throws FormsPortalException
attachmentsBytes:
- would expect byte array of the attachment for this submissionFormsPortalException
String 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 saveFormsPortalException
boolean deleteAttachment(String attachmentID) throws FormsPortalException
attachmentID:
- Unique id for this attachmentFormsPortalException
byte[] getAttachment(String attachmentID) throws FormsPortalException
attachmentID:
- unique id for this attachmentFormsPortalException
Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.