|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adobe.icc.dbforms.obj.Asset
com.adobe.icc.dbforms.obj.Letter
public class Letter
POJO representation of a Correspondence Letter template.
A Letter template has an associated form which indicates the Form a.k.a Layout being used for the Letter. The
list if TargetAreaAssignments, FieldAssignments and VariableAssignments indicate the bindings
to Target Areas, Fields and Variables respectively in the template.
| Field Summary | |
|---|---|
static java.lang.String |
ASSOCIATION_CUTPOINT
For internal use. |
static java.lang.String |
FIRST_LEVEL_CUTPOINT
For internal use. |
static java.lang.String |
HIERARCHY_CUTPOINT
For internal use. |
static java.lang.String |
LETTER_CLASS
For internal use. |
| Fields inherited from class com.adobe.icc.dbforms.obj.Asset |
|---|
ASSET_CLASS, FIRST_LEVEL_WITH_CAT_NAMES_CUTPOINT |
| Constructor Summary | |
|---|---|
Letter()
default constructor |
|
Letter(java.lang.String id,
java.lang.String name,
java.lang.String desc,
Form form,
int state,
int version,
java.util.Date activeStartDate,
java.util.Date activeEndDate,
Category ucat,
Category lcat,
java.lang.String testDataFileName,
java.lang.String comment,
java.lang.String lastChangeBy,
boolean outboxEnabled)
Constructor from parameters. |
|
| Method Summary | |
|---|---|
AttachmentAssignment |
getAttachmentAssignment()
|
java.util.Set |
getDataDictionaryElementRefs()
Get the list of all Data Dictionary Elements used directly in the Letter. |
java.lang.String |
getDataDictionaryRef()
This method retrieves the first data dictionary reference from the list of DataDictionaryRef's |
java.util.List |
getDataDictionaryRefs()
Get the DataDictionary references(names) for the Letter. |
java.util.Set |
getFieldAssignments()
Get the FieldAssignments of the Letter. |
Form |
getForm()
Get the Form or Layout associated with the Letter. |
java.lang.String |
getFormName()
Get the name of the Layout/Form associated with the Letter. |
java.lang.String |
getPostProcess()
Get the post-process (name) associated with the Letter. |
java.lang.String |
getServerTestDataFilePath()
For internal use. |
java.util.Set |
getTargetAreaAssignments()
Get the TargetAreaAssignments of the Letter. |
byte[] |
getTestdata()
Get the test data (byte array) associated with the Letter. |
java.lang.String |
getTestDataFileName()
Get the name of the test/sample data file associated with the Letter. |
java.util.Set |
getVariableAssignments()
Get the VariableAssignments of the Letter. |
void |
setAttachmentAssignment(AttachmentAssignment attachmentAssignment)
|
void |
setDataDictionaryElementRefs(java.util.Set dataDictionaryElementRefs)
Set the list of all Data Dictionary Elements used in the Letter. |
void |
setDataDictionaryRef(java.lang.String dataDictionary)
This method sets the data dictionary reference at the first index in DataDictionaryRef list |
void |
setDataDictionaryRefs(java.util.List dataDictionaryRefs)
Sets the DataDictionary references(names) for the Letter. |
void |
setFieldAssignments(java.util.Set fieldAssignmentList)
Sets the FieldAssignments of the Letter. |
void |
setForm(Form form)
Sets the Form or Layout associated with the Letter. |
void |
setPostProcess(java.lang.String postProcess)
Sets the post-process (name) associated with the Letter. |
void |
setServerTestDataFilePath(java.lang.String serverTestDataFilePath)
For internal use. |
void |
setTargetAreaAssignments(java.util.Set targetAssignmentList)
Sets the TargetAreaAssignments of the Letter. |
void |
setTestdata(byte[] testdata)
Sets the test data (byte array) associated with the Letter. |
void |
setTestDataFileName(java.lang.String testDataFileName)
Sets the name of the test/sample data file associated with the Letter. |
void |
setVariableAssignments(java.util.Set variableAssignmentList)
Sets the VariableAssignments of the Letter. |
| Methods inherited from class com.adobe.icc.dbforms.obj.Asset |
|---|
getActiveEndDate, getActiveStartDate, getComment, getCrxVersion, getDesc, getExtendedProperties, getId, getLastChangeBy, getLastPublishDate, getLastUpdateDate, getLcat, getLocalizationPrefix, getLocalizationResourceInfoList, getName, getState, getUcat, getUpdatedBy, getVersion, setActiveEndDate, setActiveStartDate, setComment, setCrxVersion, setDesc, setExtendedProperties, setId, setLastChangeBy, setLastPublishDate, setLastUpdateDate, setLcat, setLocalizationPrefix, setLocalizationResourceInfoList, setName, setState, setUcat, setUpdatedBy, setVersion |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String LETTER_CLASS
public static final java.lang.String ASSOCIATION_CUTPOINT
public static final java.lang.String HIERARCHY_CUTPOINT
public static final java.lang.String FIRST_LEVEL_CUTPOINT
| Constructor Detail |
|---|
public Letter()
public Letter(java.lang.String id,
java.lang.String name,
java.lang.String desc,
Form form,
int state,
int version,
java.util.Date activeStartDate,
java.util.Date activeEndDate,
Category ucat,
Category lcat,
java.lang.String testDataFileName,
java.lang.String comment,
java.lang.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.start - activation start date of the Letter.end - actiavtion end date of the Letter.ucat - Category of the Letter.lcat - Subcategory of the Letter.testDataFileName - filename of associated test/sample data of the Letter.comment - comment for the Letter.lastChange - user creating the LetteroutboxEnabled - This property is not used anymore.| Method Detail |
|---|
public java.lang.String getFormName()
public java.lang.String getTestDataFileName()
public void setTestDataFileName(java.lang.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 java.lang.String getDataDictionaryRef()
public void setDataDictionaryRef(java.lang.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 java.util.Set getTargetAreaAssignments()
TargetAreaAssignments of the Letter.
TargetAreaAssignments of the Letter.public void setTargetAreaAssignments(java.util.Set targetAssignmentList)
TargetAreaAssignments of the Letter.
targetAssignmentList - The TargetAreaAssignments of the Letter.public java.util.Set getFieldAssignments()
FieldAssignments of the Letter.
FieldAssignments of the Letter.public void setFieldAssignments(java.util.Set fieldAssignmentList)
FieldAssignments of the Letter.
fieldAssignmentList - The FieldAssignments of the Letter.public java.util.Set getVariableAssignments()
VariableAssignments of the Letter.
VariableAssignments of the Letter.public void setVariableAssignments(java.util.Set variableAssignmentList)
VariableAssignments of the Letter.
variableAssignmentList - The VariableAssignments of the Letter.public java.lang.String getPostProcess()
public void setPostProcess(java.lang.String postProcess)
postProcess - The post-process (name) associated with the Letter.public java.lang.String getServerTestDataFilePath()
public void setServerTestDataFilePath(java.lang.String serverTestDataFilePath)
public java.util.List getDataDictionaryRefs()
DataDictionary references(names) for the Letter.
DataDictionary references(names) for the Letter.public void setDataDictionaryRefs(java.util.List dataDictionaryRefs)
DataDictionary references(names) for the Letter.
dataDictionaryRefs - The DataDictionary references(names) for the Letter.public java.util.Set getDataDictionaryElementRefs()
public void setDataDictionaryElementRefs(java.util.Set dataDictionaryElementRefs)
dataDictionaryElementRefs - list of all Data Dictionary Elements used in the Letter.public AttachmentAssignment getAttachmentAssignment()
public void setAttachmentAssignment(AttachmentAssignment attachmentAssignment)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||