@Deprecated public interface LetterInstanceService
LetterInstanceVO
specific operations.
It provides create, read and delete operations on various instances of Letter.
Instance of letter can be of two types viz. Drafts or SubmittedModifier and Type | Method and Description |
---|---|
void |
deleteLetterInstance(String letterInstanceId)
Deprecated.
|
List<LetterInstanceVO> |
getAllLetterInstances(Query query)
Deprecated.
|
LetterInstanceVO |
getLetterInstance(String letterInstanceId)
Deprecated.
|
Boolean |
letterInstanceExists(String letterInstanceName)
Deprecated.
|
LetterInstanceVO |
readLetterInstance(String letterInstanceId)
Deprecated.
|
LetterInstanceVO |
saveAsDraft(Letter letter,
byte[] XMLData,
String letterInstanceName)
Deprecated.
|
LetterInstanceVO |
saveSubmittedLetter(Letter letter,
byte[] PDFBytes,
byte[] processedXDP,
byte[] dataXML,
String letterInstanceName)
Deprecated.
|
LetterInstanceVO |
saveSubmittedLetter(Letter letter,
byte[] PDFBytes,
byte[] processedXDP,
byte[] dataXML,
String letterInstanceName,
byte[] adMergedJson,
String adNodePath)
Deprecated.
|
@Deprecated LetterInstanceVO saveSubmittedLetter(Letter letter, byte[] PDFBytes, byte[] processedXDP, byte[] dataXML, String letterInstanceName) throws ICCException
letter
- Letter
object representing letter whose instance is to be savedPDFBytes
- bytes representing the generated PDF for the letter instanceprocessedXDP
- bytes representing the processed XDP for the letter instancedataXML
- bytes representing the data for the letter instanceletterInstanceName
- name of the letter instance to be savedLetterInstanceVO
object representing the saved submitted instance of letterICCException
@Deprecated LetterInstanceVO saveSubmittedLetter(Letter letter, byte[] PDFBytes, byte[] processedXDP, byte[] dataXML, String letterInstanceName, byte[] adMergedJson, String adNodePath) throws ICCException
letter
- Letter
object representing letter whose instance is to be savedPDFBytes
- bytes representing the generated PDF for the letter instanceprocessedXDP
- bytes representing the processed XDP for the letter instancedataXML
- bytes representing the data for the letter instanceletterInstanceName
- name of the letter instance to be savedadMergedJson
- Merged Json for the adaptive documentadNodePath
- Path for the adaptive document based on this letterLetterInstanceVO
object representing the saved submitted instance of letterICCException
@Deprecated LetterInstanceVO saveAsDraft(Letter letter, byte[] XMLData, String letterInstanceName) throws ICCException
letter
- Letter
object representing letter whose instance is to be savedXMLData
- bytes representing the data for the letter instanceletterInstanceName
- name of the letter instance to be savedLetterInstanceVO
object representing the saved draft instance of letterICCException
@Deprecated LetterInstanceVO getLetterInstance(String letterInstanceId) throws ICCException
letterInstanceId
- id of the letter instance to be readLetterInstanceVO
object representing the read instance of letterICCException
@Deprecated LetterInstanceVO readLetterInstance(String letterInstanceId) throws ICCException
letterInstanceId
- id of the letter instance to be readLetterInstanceVO
object representing the read instance of letterICCException
@Deprecated void deleteLetterInstance(String letterInstanceId) throws ICCException
letterInstanceId
- id of the letter instance to be deletedICCException
@Deprecated Boolean letterInstanceExists(String letterInstanceName) throws ICCException
LetterInstanceVO
exists by the given name.letterInstanceName
- Name of the LetterInstanceVO
.ICCException
@Deprecated List<LetterInstanceVO> getAllLetterInstances(Query query) throws ICCException
LetterInstanceVO
s filtered by the given Query
.query
- Query to select Letter (supports only first level
attributes/properties of an object).Letter
objectsICCException
Statement
,
Query
Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.