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