@Deprecated public interface LetterService
Letter specific operations like create, update, copy, etc.| Modifier and Type | Method and Description |
|---|---|
Letter |
activateLetter(String letterID,
boolean updateDependencies)
Deprecated.
Use
PublishService.publishAssets(List) instead |
Letter |
copyLetter(String oldletterID,
Letter newletter)
Deprecated.
|
Letter |
createLetter(Letter letter)
Deprecated.
|
Letter |
createLetterAndForm(Letter letter)
Deprecated.
|
Letter |
createTestLetter(String letterID)
Deprecated.
|
List<Letter> |
getAllLetters(Query query)
Deprecated.
|
List<Letter> |
getAllLetters(Query query,
String cutPoints)
Deprecated.
|
Letter |
getLetter(String letterID)
Deprecated.
|
Letter |
getLetter(String letterID,
boolean includedContent)
Deprecated.
|
Map<String,List> |
getLetterDataElements(String letterID)
Deprecated.
|
Letter |
getLetterWithLatestAssets(String letterID)
Deprecated.
Use
getLetter(String) instead. |
Letter |
getLetterWithoutData(String letterID)
Deprecated.
|
List<DataModule> |
getUsedDataModules(Letter letter,
boolean fetchIndirectReferences)
Deprecated.
|
List<DataModule> |
getUsedDataModules(String letterID,
boolean fetchIndirectReferences)
Deprecated.
|
Map<ContainerLayoutAssignment,FragmentLayout> |
getUsedFragmentLayouts(Letter letter,
boolean fetchIndirectReferences)
Deprecated.
|
Boolean |
letterExists(String letterName)
Deprecated.
|
Letter |
publishLetter(String letterID)
Deprecated.
Since 6.2. Use
PublishService.publishAssets(List) instead. |
Letter |
readLetter(String letterID)
Deprecated.
|
Letter |
readLetter(String letterID,
boolean includedContent)
Deprecated.
|
Letter |
retrieveVersion(String letterId,
Date publishDate)
Deprecated.
|
Letter |
revertToLastPublished(String letterId)
Deprecated.
Use
AssetService.revertToLastPublished(String) instead. |
boolean |
updateDependencies(String oldLetterID,
String newLetterID)
Deprecated.
|
Letter |
updateFMFormInLetter(String letterId,
String fmFormPath)
Deprecated.
|
Letter |
updateLetter(Letter letter)
Deprecated.
|
@Deprecated Boolean letterExists(String letterName) throws ICCException
Letter exists by the given name.letterName - Name of the Letter.ICCException@Deprecated Letter createLetterAndForm(Letter letter) throws ICCException
Letter object & Form object using FM Layout.letter - The Letter to be created.Letter objectICCException@Deprecated Letter createLetter(Letter letter) throws ICCException
Letter from the input letter object.letter - The Letter to be created.Letter objectICCException@Deprecated Letter updateFMFormInLetter(String letterId, String fmFormPath) throws ICCException
Letter based on FM formPath.letterId - id of the Letter object to be updated.Letter object.ICCException@Deprecated Letter updateLetter(Letter letter) throws ICCException
Letter.letter - Letter object to be updated.Letter object.ICCException@Deprecated Letter activateLetter(String letterID, boolean updateDependencies) throws ICCException
PublishService.publishAssets(List) insteadLetter identified by the given letterID.letterID - ID of the Letter.updateDependencies - Whether to set this new activated version in the dependencies.Letter objectICCException@Deprecated Letter publishLetter(String letterID) throws ICCException
PublishService.publishAssets(List) instead.Letter identified by the given letterID.letterID - ID of the Letter.Letter objectICCException@Deprecated Letter createTestLetter(String letterID) throws ICCException
Letter object.letterID - ID of the Letter whose Inactive version is to be created.Letter object.ICCException@Deprecated Letter copyLetter(String oldletterID, Letter newletter) throws ICCException
Letter identified by the oldletterID.
newletter does not have content in it, the content of the original Letter
is set in it.oldletterID - ID of the original Letter. Used to fetch the original content, if need be.newletter - copy of the original Letter (may have properties altered by the user)Letter.ICCException@Deprecated List<Letter> getAllLetters(Query query) throws ICCException
query - Query to select Letter (supports only first level
attributes/properties of an object).Letter objectsICCExceptionStatement,
Query@Deprecated List<Letter> getAllLetters(Query query, String cutPoints) throws ICCException
query - Query to select Letter (supports only first level
attributes/properties of an object).cutPoints - to fetch for each letter.Letter objectsICCExceptionStatement,
Query@Deprecated Letter getLetter(String letterID, boolean includedContent) throws ICCException
Letter identified by the given letterID.
This action is not audited for action type Read.letterID - ID of the Letter to be fetched.includedContent - Letter identified by the given letterID.ICCException@Deprecated Letter getLetter(String letterID) throws ICCException
Letter identified by the given letterID.
This action is not audited for action type Read.letterID - ID of the Letter to be fetched.Letter identified by the given letterID.ICCException@Deprecated Letter readLetter(String letterID) throws ICCException
Letter identified by the given letterID.
This action is audited for action type Read.letterID - ID of the Letter to be fetched.Letter identified by the given letterID.ICCException@Deprecated Letter readLetter(String letterID, boolean includedContent) throws ICCException
Letter identified by the given letterID.
This action is audited for action type Read.letterID - ID of the Letter to be fetched.includedContent - if includedContent is false then it will exclude all binary in complete hierarchyLetter identified by the given letterID.ICCException@Deprecated Letter getLetterWithoutData(String letterID) throws ICCException
Letter identified by the given letterID, removing the test data bytes and associated layout bytes in it.letterID - ID of the Letter to be fetched.Letter identified by the given letterID.ICCException@Deprecated Letter getLetterWithLatestAssets(String letterID) throws ICCException
getLetter(String) instead.Letter identified by the given letterID, with the latest versions of assets used
in the letter. The actual versions of assets used in the Letter would be replaced by the latest available
assets.
letterID - ID of the Letter to be fetched.Letter identified by the given letterID, built with the latest versions of
used assets.ICCException@Deprecated List<DataModule> getUsedDataModules(String letterID, boolean fetchIndirectReferences) throws ICCException
letterID - ID of the Letter, for which the used modules are to be fetched.fetchIndirectReferences - True, if you wish to fetch the modules that are directly or indirectly used by this Letter.
DataModules that is used by the Letter. Empty list returned, if the
Letter does not use any other module.ICCException@Deprecated List<DataModule> getUsedDataModules(Letter letter, boolean fetchIndirectReferences) throws ICCException
letter - Letter, for which the used modules are to be fetched.fetchIndirectReferences - True, if you wish to fetch the modules that are directly or indirectly used by this Letter.
DataModules that is used by the Letter. Empty list returned, if the
Letter does not use any other module.ICCException@Deprecated Map<ContainerLayoutAssignment,FragmentLayout> getUsedFragmentLayouts(Letter letter, boolean fetchIndirectReferences) throws ICCException
ContainerLayoutAssignments of the Letter identified by the given
letterID.letter - Letter, for which the child container layout assignments are to be fetched.fetchIndirectReferences - True, if you wish to fetch the container layout assignments that are directly or indirectly used by this Letter.
ContainerLayoutAssignments and corresponding FragmentLayouts used in the Letter. Empty map returned, if the
Letter does not use a FragmentLayout.ICCException@Deprecated boolean updateDependencies(String oldLetterID, String newLetterID) throws ICCException
oldLetterID - The old Letter ID.newLetterID - The new Letter ID.ICCException@Deprecated Map<String,List> getLetterDataElements(String letterID) throws ICCException
letterID - the letter IDICCException@Deprecated Letter revertToLastPublished(String letterId) throws ICCException
AssetService.revertToLastPublished(String) instead.letterId - The Letter ID.ICCException@Deprecated Letter retrieveVersion(String letterId, Date publishDate)
letterId - The Letter ID.publishDate - specifies the date for fetching published letter.ICCExceptionCopyright © 1982–2022 Adobe Systems Inc.. All rights reserved.