public class Letter extends Asset implements Serializable
form
which indicates the Form
a.k.a Layout being used for the Letter. The
list if TargetAreaAssignment
s, FieldAssignment
s and VariableAssignment
s indicate the bindings
to Target Areas, Fields and Variables respectively in the template.Modifier and Type | Field and Description |
---|---|
static String |
ASSOCIATION_CUTPOINT
Deprecated.
|
static String |
FIRST_LEVEL_CUTPOINT
Deprecated.
|
static String |
HIERARCHY_CUTPOINT
Deprecated.
|
static String |
LETTER_CLASS
Deprecated.
|
static String |
TEST_DATA_ASSOCIATION_CUTPOINT
Deprecated.
|
activeEndDate, activeStartDate, ASSET_CLASS, comment, crxVersion, desc, extendedProperties, FIRST_LEVEL_WITH_CAT_NAMES_CUTPOINT, folderId, id, lastChangeBy, lastPublishDate, lastPublishedBy, lastReplicationAction, lastUpdateDate, lastVersionDate, lcat, name, PROPERTY_NAME_DESCRIPTION, PROPERTY_NAME_TITLE, PROPERTY_NAME_VERSION, READY_TO_PUBLISH_CUTPOINT, state, tags, title, transientProperties, ucat, updatedBy, version
Constructor and Description |
---|
Letter()
Deprecated.
default constructor
|
Letter(String id,
String name,
String desc,
Form form,
int state,
int version,
Date activeStartDate,
Date activeEndDate,
String testDataFileName,
String comment,
String lastChangeBy,
boolean outboxEnabled)
Deprecated.
Constructor from parameters.
|
Modifier and Type | Method and Description |
---|---|
AttachmentAssignment |
getAttachmentAssignment()
Deprecated.
|
String |
getAttachmentsFolderPath()
Deprecated.
Get the path to store Attachments under payload.
|
Set<String> |
getDataDictionaryElementRefs()
Deprecated.
Get the list of all Data Dictionary Elements used directly in the Letter.
|
String |
getDataDictionaryRef()
Deprecated.
This method retrieves the first data dictionary reference from the list of DataDictionaryRef's
|
List<String> |
getDataDictionaryRefs()
Deprecated.
Get the Schema references(names) for the Letter.
|
String |
getDataXMLPath()
Deprecated.
Get the path to store Data XML under payload
|
Set<FieldAssignment> |
getFieldAssignments()
Deprecated.
Get the
FieldAssignment s of the Letter. |
Form |
getForm()
Deprecated.
Get the
Form or Layout associated with the Letter. |
String |
getFormName()
Deprecated.
Get the name of the Layout/Form associated with the Letter.
|
String |
getLayoutPath()
Deprecated.
Get the path to store Layout under payload.
|
String |
getPdfPath()
Deprecated.
Get the path to store PDF under payload.
|
String |
getPostProcess()
Deprecated.
Get the post-process (name) associated with the Letter.
|
String |
getServerTestDataFilePath()
Deprecated.
|
Set<TargetAreaAssignment> |
getTargetAreaAssignments()
Deprecated.
Get the
TargetAreaAssignment s of the Letter. |
byte[] |
getTestdata()
Deprecated.
Get the test data (byte array) associated with the Letter.
|
String |
getTestDataFileName()
Deprecated.
Get the name of the test/sample data file associated with the Letter.
|
Set<VariableAssignment> |
getVariableAssignments()
Deprecated.
Get the
VariableAssignment s of the Letter. |
boolean |
isPayloadFolder()
Deprecated.
Get the payload structure type.
|
Boolean |
isProcessed()
Deprecated.
|
void |
setAttachmentAssignment(AttachmentAssignment attachmentAssignment)
Deprecated.
|
void |
setAttachmentsFolderPath(String attachmentsFolderPath)
Deprecated.
Sets the path to store Attachments under payload.
|
void |
setDataDictionaryElementRefs(Set<String> dataDictionaryElementRefs)
Deprecated.
Set the list of all Data Dictionary Elements used in the Letter.
|
void |
setDataDictionaryRef(String dataDictionary)
Deprecated.
This method sets the data dictionary reference at the first index in DataDictionaryRef list
|
void |
setDataDictionaryRefs(List<String> dataDictionaryRefs)
Deprecated.
Sets the Schema references(names) for the Letter.
|
void |
setDataXMLPath(String dataXMLPath)
Deprecated.
Sets the path to store Data XML under payload.
|
void |
setFieldAssignments(Set<FieldAssignment> fieldAssignmentList)
Deprecated.
Sets the
FieldAssignment s of the Letter. |
void |
setForm(Form form)
Deprecated.
Sets the
Form or Layout associated with the Letter. |
void |
setLayoutPath(String layoutPath)
Deprecated.
Sets the path to store Layout under payload.
|
void |
setPdfPath(String pdfPath)
Deprecated.
Sets the path to store PDF under payload.
|
void |
setPostProcess(String postProcess)
Deprecated.
Sets the post-process (name) associated with the Letter.
|
void |
setProcessed()
Deprecated.
|
void |
setServerTestDataFilePath(String serverTestDataFilePath)
Deprecated.
|
void |
setTargetAreaAssignments(Set<TargetAreaAssignment> targetAssignmentList)
Deprecated.
Sets the
TargetAreaAssignment s of the Letter. |
void |
setTestdata(byte[] testdata)
Deprecated.
Sets the test data (byte array) associated with the Letter.
|
void |
setTestDataFileName(String testDataFileName)
Deprecated.
Sets the name of the test/sample data file associated with the Letter.
|
void |
setVariableAssignments(Set<VariableAssignment> variableAssignmentList)
Deprecated.
Sets the
VariableAssignment s of the Letter. |
equals, getActiveEndDate, getActiveStartDate, getComment, getCrxVersion, getDesc, getDisplayField, getExtendedProperties, getFolderId, getId, getLastChangeBy, getLastPublishDate, getLastPublishedBy, getLastReplicationAction, getLastUpdateDate, getLastVersionDate, getLcat, getLocalizationPrefix, getLocalizationResourceInfoList, getName, getState, getTags, getTitle, getTransientProperties, getUcat, getUpdatedBy, getVersion, hashCode, setActiveEndDate, setActiveStartDate, setComment, setCrxVersion, setDesc, setExtendedProperties, setFolderId, setId, setLastChangeBy, setLastPublishDate, setLastPublishedBy, setLastReplicationAction, setLastUpdateDate, setLastVersionDate, setLcat, setLocalizationPrefix, setLocalizationResourceInfoList, setName, setState, setTags, setTitle, setTransientProperties, setUcat, setUpdatedBy, setVersion
public static final String LETTER_CLASS
public static final String TEST_DATA_ASSOCIATION_CUTPOINT
public static final String ASSOCIATION_CUTPOINT
public static final String HIERARCHY_CUTPOINT
public static final String FIRST_LEVEL_CUTPOINT
public Letter()
public Letter(String id, String name, String desc, Form form, int state, int version, Date activeStartDate, Date activeEndDate, String testDataFileName, String comment, String lastChangeBy, boolean outboxEnabled)
id
- unique identifier of the Letter.name
- name of the Letter.desc
- description of the Letter.form
- Layout of the Letter.state
- state of the Letter.version
- version of the Letter.activeStartDate
- activation start date of the Letter.activeEndDate
- activation end date of the Letter.testDataFileName
- filename of associated test/sample data of the Letter.comment
- comment for the Letter.lastChangeBy
- user creating the LetteroutboxEnabled
- This property is not used anymore.public String getFormName()
public String getTestDataFileName()
public void setTestDataFileName(String testDataFileName)
testDataFileName
- The name of the test/sample data file associated with the Letter.public byte[] getTestdata()
public void setTestdata(byte[] testdata)
testdata
- The test data (byte array) associated with the Letter.public String getDataDictionaryRef()
public void setDataDictionaryRef(String dataDictionary)
dataDictionary
- the dataDictionary to setpublic Form getForm()
Form
or Layout associated with the Letter.Form
or Layout associated with the Letter.public void setForm(Form form)
Form
or Layout associated with the Letter.form
- The Form
or Layout associated with the Letter.public Set<TargetAreaAssignment> getTargetAreaAssignments()
TargetAreaAssignment
s of the Letter.TargetAreaAssignment
s of the Letter.public void setTargetAreaAssignments(Set<TargetAreaAssignment> targetAssignmentList)
TargetAreaAssignment
s of the Letter.targetAssignmentList
- The TargetAreaAssignment
s of the Letter.public Set<FieldAssignment> getFieldAssignments()
FieldAssignment
s of the Letter.FieldAssignment
s of the Letter.public void setFieldAssignments(Set<FieldAssignment> fieldAssignmentList)
FieldAssignment
s of the Letter.fieldAssignmentList
- The FieldAssignment
s of the Letter.public Set<VariableAssignment> getVariableAssignments()
VariableAssignment
s of the Letter.VariableAssignment
s of the Letter.public void setVariableAssignments(Set<VariableAssignment> variableAssignmentList)
VariableAssignment
s of the Letter.variableAssignmentList
- The VariableAssignment
s of the Letter.public String getPostProcess()
public void setPostProcess(String postProcess)
postProcess
- The post-process (name) associated with the Letter.public String getServerTestDataFilePath()
public void setServerTestDataFilePath(String serverTestDataFilePath)
public List<String> getDataDictionaryRefs()
public void setDataDictionaryRefs(List<String> dataDictionaryRefs)
dataDictionaryRefs
- The Schema references(names) for the Letter.public Set<String> getDataDictionaryElementRefs()
public void setDataDictionaryElementRefs(Set<String> dataDictionaryElementRefs)
dataDictionaryElementRefs
- list of all Data Dictionary Elements used in the Letter.public AttachmentAssignment getAttachmentAssignment()
public void setAttachmentAssignment(AttachmentAssignment attachmentAssignment)
public Boolean isProcessed()
public void setProcessed()
public boolean isPayloadFolder()
public String getDataXMLPath()
public void setDataXMLPath(String dataXMLPath)
dataXMLPath
- The path to store Data XML under payload.public String getAttachmentsFolderPath()
public void setAttachmentsFolderPath(String attachmentsFolderPath)
attachmentsFolderPath
- The path to store Attachments under payload.public String getPdfPath()
public void setPdfPath(String pdfPath)
pdfPath
- The path to store PDF under payload.public String getLayoutPath()
public void setLayoutPath(String layoutPath)
layoutPath
- The path to store Layout under payload.Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.