public interface DraftDataService
Modifier and Type | Method and Description |
---|---|
boolean |
deleteAttachment(String attachmentID)
To delete an attachment
|
boolean |
deleteData(String userDataID)
To delete data associated with this draft
|
byte[] |
getAttachment(String attachmentID)
To get attachment bytes
|
byte[] |
getData(String userDataID)
Returns the user data stored against the ID passed as the argument
|
String |
saveAttachment(byte[] attachmentBytes)
Saves the attachment for current form instance
|
String |
saveData(String draftDataID,
String formName,
String formData)
To save/modify user data for this userDataID, it will be null in case of creation
|
String saveData(String draftDataID, String formName, String formData) throws FormsPortalException
draftDataID:
- unique identifier associated with the form dataformName:
- name of the form whose draft is being savedformData:
- user data associated with this draftFormsPortalException
byte[] getData(String userDataID) throws FormsPortalException
userDataID:
- unique data id for user data associated with a draftFormsPortalException
boolean deleteData(String userDataID) throws FormsPortalException
userDataID:
- unique data id for data associated with a draftFormsPortalException
String saveAttachment(byte[] attachmentBytes) throws FormsPortalException
attachmentsBytes:
- byte array of the attachment to be savedFormsPortalException
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–2022 Adobe Systems Inc.. All rights reserved.