public class MailTemplateDocument extends net.anotheria.asg.data.AbstractASGDocument implements MailTemplate, net.anotheria.util.sorter.IComparable, net.anotheria.asg.data.MultilingualObject
INT_PROPERTY_MULTILINGUAL_DISABLEDPROP_AUTHOR, PROP_LAST_UPDATE, PROP_TYPE_IDENTIFIERPROP_ID, PROP_LOCALIZATIONS, PROP_MESSAGE_EN, PROP_MJML_EN, PROP_NAME, PROP_PLAIN_MESSAGE_EN, PROP_SENDER_EN, PROP_SENDER_NAME_EN, PROP_SUBJECT_EN| Constructor and Description |
|---|
MailTemplateDocument() |
MailTemplateDocument(MailTemplateDocument toClone) |
MailTemplateDocument(java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLocalizationsElement(java.lang.String guard)
Adds a new element to the list.
|
int |
compareTo(net.anotheria.util.sorter.IComparable anotherComparable,
int method) |
int |
compareTo(MailTemplate comparable) |
void |
copyLANG2LANG(java.lang.String sourceLanguage,
java.lang.String destLanguage)
Copies all multilingual properties from source language to destination language
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDefinedName() |
java.lang.String |
getDefinedParentName() |
java.lang.String |
getFootprint() |
java.util.List<java.lang.String> |
getLocalizations()
Returns the value of the localizations attribute.
|
java.lang.String |
getLocalizationsElement(int index)
Returns the element at the position index in the list.
|
int |
getLocalizationsSize()
Returns the number of elements in the "localizations" container
|
java.lang.String |
getMessage()
Returns the current value of the message attribute.
|
java.lang.String |
getMessageEN()
Returns the value of the message attribute in the "EN" domain.
|
java.lang.String |
getMjml()
Returns the current value of the mjml attribute.
|
java.lang.String |
getMjmlEN()
Returns the value of the mjml attribute in the "EN" domain.
|
java.lang.String |
getName()
Returns the value of the name attribute.
|
java.lang.String |
getPlainMessage()
Returns the current value of the plainMessage attribute.
|
java.lang.String |
getPlainMessageEN()
Returns the value of the plainMessage attribute in the "EN" domain.
|
java.lang.String |
getSender()
Returns the current value of the sender attribute.
|
java.lang.String |
getSenderEN()
Returns the value of the sender attribute in the "EN" domain.
|
java.lang.String |
getSenderName()
Returns the current value of the senderName attribute.
|
java.lang.String |
getSenderNameEN()
Returns the value of the senderName attribute in the "EN" domain.
|
java.lang.String |
getSubject()
Returns the current value of the subject attribute.
|
java.lang.String |
getSubjectEN()
Returns the value of the subject attribute in the "EN" domain.
|
boolean |
isMultilingualDisabledInstance() |
void |
removeLocalizationsElement(int index)
Removes the element at position index from the list.
|
void |
setLocalizations(java.util.List<java.lang.String> value)
Sets the value of the localizations attribute.
|
void |
setMessage(java.lang.String value)
Sets the value of the message attribute in the current domain.
|
void |
setMessageEN(java.lang.String value)
Sets the value of the message attribute in the domain "EN"
|
void |
setMjml(java.lang.String value)
Sets the value of the mjml attribute in the current domain.
|
void |
setMjmlEN(java.lang.String value)
Sets the value of the mjml attribute in the domain "EN"
|
void |
setMultilingualDisabledInstance(boolean value) |
void |
setName(java.lang.String value)
Sets the value of the name attribute.
|
void |
setPlainMessage(java.lang.String value)
Sets the value of the plainMessage attribute in the current domain.
|
void |
setPlainMessageEN(java.lang.String value)
Sets the value of the plainMessage attribute in the domain "EN"
|
void |
setSender(java.lang.String value)
Sets the value of the sender attribute in the current domain.
|
void |
setSenderEN(java.lang.String value)
Sets the value of the sender attribute in the domain "EN"
|
void |
setSenderName(java.lang.String value)
Sets the value of the senderName attribute in the current domain.
|
void |
setSenderNameEN(java.lang.String value)
Sets the value of the senderName attribute in the domain "EN"
|
void |
setSubject(java.lang.String value)
Sets the value of the subject attribute in the current domain.
|
void |
setSubjectEN(java.lang.String value)
Sets the value of the subject attribute in the domain "EN"
|
void |
swapLocalizationsElement(int index1,
int index2)
Swaps elements at positions index1 and index2 in the list.
|
java.lang.String |
toString() |
getInternalProperty, getLockerId, getLockingTime, getObjectInfo, isLocked, setInternalProperty, setLocked, setLockerId, setLockingTimeaddDataHolder, clone, copyFromBooleanList, copyFromDoubleList, copyFromFloatList, copyFromIntegerList, copyFromLongList, copyFromStringList, copyToBooleanList, copyToDoubleList, copyToFloatList, copyToIntegerList, copyToLongList, copyToStringList, createDocument, createDocumentList, createListProperty, getAuthor, getBoolean, getBooleanProperty, getDataHolder, getDocument, getDocumentAnyCase, getDocumentList, getDocumentListAnyCase, getDouble, getDoubleProperty, getEmptyBoolean, getEmptyDouble, getEmptyFloat, getEmptyInt, getEmptyList, getEmptyLong, getEmptyString, getFloat, getFloatProperty, getInt, getIntProperty, getKeys, getLastUpdateTimestamp, getList, getListProperty, getListPropertyAnyCase, getLong, getLongProperty, getObject, getProperties, getProperty, getPropertyValue, getSizeInBytes, getStorageId, getString, getStringProperty, getTypeIdentifier, putBooleanProperty, putDocument, putDoubleProperty, putFloatProperty, putIntProperty, putList, putListProperty, putLongProperty, putProperty, putStringProperty, removeDataHolder, removeDataHolder, removeProperty, removeProperty, renameTo, setBoolean, setCallContextAuthor, setDouble, setFloat, setInt, setLastUpdateNow, setList, setLong, setString, setTypeIdentifier, toXMLNodepublic MailTemplateDocument()
public MailTemplateDocument(java.lang.String id)
public MailTemplateDocument(MailTemplateDocument toClone)
public java.lang.String getName()
MailTemplategetName in interface MailTemplatepublic void setName(java.lang.String value)
MailTemplatesetName in interface MailTemplatepublic java.lang.String getSenderEN()
MailTemplategetSenderEN in interface MailTemplatepublic java.lang.String getSender()
MailTemplategetSender in interface MailTemplatepublic void setSenderEN(java.lang.String value)
MailTemplatesetSenderEN in interface MailTemplatepublic void setSender(java.lang.String value)
MailTemplatesetSender in interface MailTemplatepublic java.lang.String getSenderNameEN()
MailTemplategetSenderNameEN in interface MailTemplatepublic java.lang.String getSenderName()
MailTemplategetSenderName in interface MailTemplatepublic void setSenderNameEN(java.lang.String value)
MailTemplatesetSenderNameEN in interface MailTemplatepublic void setSenderName(java.lang.String value)
MailTemplatesetSenderName in interface MailTemplatepublic java.lang.String getSubjectEN()
MailTemplategetSubjectEN in interface MailTemplatepublic java.lang.String getSubject()
MailTemplategetSubject in interface MailTemplatepublic void setSubjectEN(java.lang.String value)
MailTemplatesetSubjectEN in interface MailTemplatepublic void setSubject(java.lang.String value)
MailTemplatesetSubject in interface MailTemplatepublic java.lang.String getMessageEN()
MailTemplategetMessageEN in interface MailTemplatepublic java.lang.String getMessage()
MailTemplategetMessage in interface MailTemplatepublic void setMessageEN(java.lang.String value)
MailTemplatesetMessageEN in interface MailTemplatepublic void setMessage(java.lang.String value)
MailTemplatesetMessage in interface MailTemplatepublic java.lang.String getMjmlEN()
MailTemplategetMjmlEN in interface MailTemplatepublic java.lang.String getMjml()
MailTemplategetMjml in interface MailTemplatepublic void setMjmlEN(java.lang.String value)
MailTemplatesetMjmlEN in interface MailTemplatepublic void setMjml(java.lang.String value)
MailTemplatesetMjml in interface MailTemplatepublic java.lang.String getPlainMessageEN()
MailTemplategetPlainMessageEN in interface MailTemplatepublic java.lang.String getPlainMessage()
MailTemplategetPlainMessage in interface MailTemplatepublic void setPlainMessageEN(java.lang.String value)
MailTemplatesetPlainMessageEN in interface MailTemplatepublic void setPlainMessage(java.lang.String value)
MailTemplatesetPlainMessage in interface MailTemplatepublic java.util.List<java.lang.String> getLocalizations()
MailTemplategetLocalizations in interface MailTemplatepublic void setLocalizations(java.util.List<java.lang.String> value)
MailTemplatesetLocalizations in interface MailTemplatepublic java.lang.String toString()
toString in class net.anotheria.anodoc.data.Documentpublic int getLocalizationsSize()
MailTemplategetLocalizationsSize in interface MailTemplatepublic void addLocalizationsElement(java.lang.String guard)
MailTemplateaddLocalizationsElement in interface MailTemplatepublic void removeLocalizationsElement(int index)
MailTemplateremoveLocalizationsElement in interface MailTemplatepublic void swapLocalizationsElement(int index1,
int index2)
MailTemplateswapLocalizationsElement in interface MailTemplatepublic java.lang.String getLocalizationsElement(int index)
MailTemplategetLocalizationsElement in interface MailTemplatepublic int compareTo(MailTemplate comparable)
public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable,
int method)
compareTo in interface net.anotheria.util.sorter.IComparablepublic java.lang.String getDefinedName()
getDefinedName in interface net.anotheria.asg.data.DataObjectpublic java.lang.String getDefinedParentName()
getDefinedParentName in interface net.anotheria.asg.data.DataObjectpublic java.lang.String getFootprint()
getFootprint in interface net.anotheria.asg.data.DataObjectpublic void copyLANG2LANG(java.lang.String sourceLanguage,
java.lang.String destLanguage)
MailTemplatecopyLANG2LANG in interface MailTemplatepublic boolean isMultilingualDisabledInstance()
isMultilingualDisabledInstance in interface net.anotheria.asg.data.MultilingualObjectpublic void setMultilingualDisabledInstance(boolean value)
setMultilingualDisabledInstance in interface net.anotheria.asg.data.MultilingualObjectpublic boolean equals(java.lang.Object o)
equals in class java.lang.ObjectCopyright © 2012-2023 anotheria.net. All Rights Reserved.