public class LetterRenderOptionsSpec extends Object implements Serializable
Constructor and Description |
---|
LetterRenderOptionsSpec()
Deprecated.
Default Constructor
|
LetterRenderOptionsSpec(boolean mergeDataOnServer,
boolean useTestData,
boolean renderInteractive,
boolean saveToFile,
boolean includeFragmentsUnconditionally)
Deprecated.
Constructor with parameters.
|
LetterRenderOptionsSpec(boolean mergeDataOnServer,
boolean useTestData,
boolean renderInteractive,
boolean saveToFile,
boolean includeFragmentsUnconditionally,
String locale)
Deprecated.
Constructor with parameters.
|
Modifier and Type | Method and Description |
---|---|
String |
getLocale()
Deprecated.
Returns the locale to use for letter data resolution.
|
Date |
getPublishDate()
Deprecated.
|
Boolean |
getSupportReload()
Deprecated.
|
boolean |
isCreateLetterInstance()
Deprecated.
|
boolean |
isIncludeAttachments()
Deprecated.
|
boolean |
isIncludeFragmentsUnconditionally()
Deprecated.
Returns flag indicating whether to include fragments without evauating conditions.
|
boolean |
isMergeDataOnServer()
Deprecated.
Returns flag indicating whether data should be merged on server or not.
|
boolean |
isRenderInteractive()
Deprecated.
Returns true if interactive PDF is required to be rendered; for non interactive PDF returns false.
|
boolean |
isSaveToFile()
Deprecated.
Returns flag indicating whether to save PDF into temporary file or not.
|
boolean |
isUseHTMLBullets()
Deprecated.
|
boolean |
isUseTestData()
Deprecated.
Returns flag indicating whether to use test data or not.
|
boolean |
isUseXFABullets()
Deprecated.
|
void |
setCreateLetterInstance(boolean createLetterInstance)
Deprecated.
|
void |
setIncludeAttachments(boolean includeAttachments)
Deprecated.
|
void |
setIncludeFragmentsUnconditionally(boolean includeFragmentsUnconditionally)
Deprecated.
Sets flag indicating whether to include fragments without evauating conditions.
|
void |
setLocale(String locale)
Deprecated.
Sets the locale that should be used for letter data resolution.
|
void |
setMergeDataOnServer(boolean mergeDataOnServer)
Deprecated.
Sets flag indicating whether data should be merged on server or not.
|
void |
setPublishDate(Date publishDate)
Deprecated.
|
void |
setRenderInteractive(boolean renderInteractive)
Deprecated.
Sets flag indicating whether to render interactive or non interactive PDF.
|
void |
setSaveToFile(boolean saveToFile)
Deprecated.
Sets flag indicating whether to save PDF into temporary file or not.
|
void |
setSupportReload(Boolean supportReload)
Deprecated.
|
void |
setUseHTMLBullets(boolean useHTMLBullets)
Deprecated.
|
void |
setUseTestData(boolean useTestData)
Deprecated.
Sets flag indicating whether to use test data or not.
|
void |
setUseXFABullets(boolean useXFABullets)
Deprecated.
|
public LetterRenderOptionsSpec()
public LetterRenderOptionsSpec(boolean mergeDataOnServer, boolean useTestData, boolean renderInteractive, boolean saveToFile, boolean includeFragmentsUnconditionally)
mergeDataOnServer
- False if we only need to render the Letter, without merging
data with it. If False, the letter is also augmented with
the FormBridge library for use in an interactive filling
environment. True if data needs to be merged (in which case
the FormBridge library is not included).useTestData
- specify whether to use test data for rendering or not.renderInteractive
- specify whether to render an interactive or flat PDF.saveToFile
- true to have the PDF saved to a temporary file for retrieval
via URL from the client; false to have the PDF bytes returned
in the PDFResponseType response.public LetterRenderOptionsSpec(boolean mergeDataOnServer, boolean useTestData, boolean renderInteractive, boolean saveToFile, boolean includeFragmentsUnconditionally, String locale)
mergeDataOnServer
- False if we only need to render the Letter, without merging
data with it. If False, the letter is also augmented with
the FormBridge library for use in an interactive filling
environment. True if data needs to be merged (in which case
the FormBridge library is not included).useTestData
- specify whether to use test data for rendering or not.renderInteractive
- specify whether to render an interactive or flat PDF.saveToFile
- true to have the PDF saved to a temporary file for retrieval
via URL from the client; false to have the PDF bytes returned
in the PDFResponseType response.locale
- locale (e.g. en_US) to use while formatting data to prepare data xml for merge.public boolean isMergeDataOnServer()
public void setMergeDataOnServer(boolean mergeDataOnServer)
mergeDataOnServer
- flag indicating whether data should be merged on server or not.public boolean isUseTestData()
public void setUseTestData(boolean useTestData)
useTestData
- flag indicating whether to use test data or not.public boolean isRenderInteractive()
public void setRenderInteractive(boolean renderInteractive)
renderInteractive
- indicates whether to render interactive or non interactive PDF.public boolean isSaveToFile()
public void setSaveToFile(boolean saveToFile)
saveToFile
- indicates whether to save PDF into temporary file or not.public boolean isIncludeFragmentsUnconditionally()
public void setIncludeFragmentsUnconditionally(boolean includeFragmentsUnconditionally)
includeFragmentsUnconditionally
- indicates whether to include fragments without evauating conditions.public String getLocale()
public void setLocale(String locale)
locale
- locale to use for letter data resolution.public boolean isIncludeAttachments()
public void setIncludeAttachments(boolean includeAttachments)
public Date getPublishDate()
public void setPublishDate(Date publishDate)
publishDate
- the publishDate to setpublic Boolean getSupportReload()
public void setSupportReload(Boolean supportReload)
supportReload
- specifies whether to generate a letter that supports reload behaviour in CCR. Disabling this option will
improve letter render performance and reduce the letter size.public boolean isCreateLetterInstance()
public void setCreateLetterInstance(boolean createLetterInstance)
createLetterInstance
- this parameter is honoured only on publish instance provided 'Manage letter instance' configuration is enabled. Letter Instance created by render letter
API will be DRAFT or COMPLETE depending on value of support reload parameter.public boolean isUseXFABullets()
public void setUseXFABullets(boolean useXFABullets)
useXFABullets
- the useXFABullets to setpublic boolean isUseHTMLBullets()
public void setUseHTMLBullets(boolean useHTMLBullets)
Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.