Interface MailTemplate
-
- All Superinterfaces:
java.lang.Cloneable,net.anotheria.asg.data.DataObject,net.anotheria.util.sorter.IComparable
- All Known Implementing Classes:
MailTemplateDocument
public interface MailTemplate extends net.anotheria.asg.data.DataObject, net.anotheria.util.sorter.IComparable
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROP_IDConstant property name for "id" for internal storage and queries.static java.lang.StringPROP_LOCALIZATIONSConstant property name for "localizations" for internal storage and queries.static java.lang.StringPROP_MESSAGE_ENConstant property name for "message" and domain "EN" for internal storage and queries.static java.lang.StringPROP_MJML_ENConstant property name for "mjml" and domain "EN" for internal storage and queries.static java.lang.StringPROP_NAMEConstant property name for "name" for internal storage and queries.static java.lang.StringPROP_PLAIN_MESSAGE_ENConstant property name for "plainMessage" and domain "EN" for internal storage and queries.static java.lang.StringPROP_SENDER_ENConstant property name for "sender" and domain "EN" for internal storage and queries.static java.lang.StringPROP_SENDER_NAME_ENConstant property name for "senderName" and domain "EN" for internal storage and queries.static java.lang.StringPROP_SUBJECT_ENConstant property name for "subject" and domain "EN" for internal storage and queries.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddLocalizationsElement(java.lang.String guard)Adds a new element to the list.voidcopyLANG2LANG(java.lang.String sourceLanguge, java.lang.String destLanguage)Copies all multilingual properties from source language to destination languagejava.util.List<java.lang.String>getLocalizations()Returns the value of the localizations attribute.java.lang.StringgetLocalizationsElement(int index)Returns the element at the position index in the list.intgetLocalizationsSize()Returns the number of elements in the "localizations" containerjava.lang.StringgetMessage()Returns the current value of the message attribute.java.lang.StringgetMessageEN()Returns the value of the message attribute in the "EN" domain.java.lang.StringgetMjml()Returns the current value of the mjml attribute.java.lang.StringgetMjmlEN()Returns the value of the mjml attribute in the "EN" domain.java.lang.StringgetName()Returns the value of the name attribute.java.lang.StringgetPlainMessage()Returns the current value of the plainMessage attribute.java.lang.StringgetPlainMessageEN()Returns the value of the plainMessage attribute in the "EN" domain.java.lang.StringgetSender()Returns the current value of the sender attribute.java.lang.StringgetSenderEN()Returns the value of the sender attribute in the "EN" domain.java.lang.StringgetSenderName()Returns the current value of the senderName attribute.java.lang.StringgetSenderNameEN()Returns the value of the senderName attribute in the "EN" domain.java.lang.StringgetSubject()Returns the current value of the subject attribute.java.lang.StringgetSubjectEN()Returns the value of the subject attribute in the "EN" domain.voidremoveLocalizationsElement(int index)Removes the element at position index from the list.voidsetLocalizations(java.util.List<java.lang.String> value)Sets the value of the localizations attribute.voidsetMessage(java.lang.String value)Sets the value of the message attribute in the current domain.voidsetMessageEN(java.lang.String value)Sets the value of the message attribute in the domain "EN"voidsetMjml(java.lang.String value)Sets the value of the mjml attribute in the current domain.voidsetMjmlEN(java.lang.String value)Sets the value of the mjml attribute in the domain "EN"voidsetName(java.lang.String value)Sets the value of the name attribute.voidsetPlainMessage(java.lang.String value)Sets the value of the plainMessage attribute in the current domain.voidsetPlainMessageEN(java.lang.String value)Sets the value of the plainMessage attribute in the domain "EN"voidsetSender(java.lang.String value)Sets the value of the sender attribute in the current domain.voidsetSenderEN(java.lang.String value)Sets the value of the sender attribute in the domain "EN"voidsetSenderName(java.lang.String value)Sets the value of the senderName attribute in the current domain.voidsetSenderNameEN(java.lang.String value)Sets the value of the senderName attribute in the domain "EN"voidsetSubject(java.lang.String value)Sets the value of the subject attribute in the current domain.voidsetSubjectEN(java.lang.String value)Sets the value of the subject attribute in the domain "EN"voidswapLocalizationsElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.
-
-
-
Field Detail
-
PROP_ID
static final java.lang.String PROP_ID
Constant property name for "id" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_NAME
static final java.lang.String PROP_NAME
Constant property name for "name" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_SENDER_EN
static final java.lang.String PROP_SENDER_EN
Constant property name for "sender" and domain "EN" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_SENDER_NAME_EN
static final java.lang.String PROP_SENDER_NAME_EN
Constant property name for "senderName" and domain "EN" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_SUBJECT_EN
static final java.lang.String PROP_SUBJECT_EN
Constant property name for "subject" and domain "EN" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_MESSAGE_EN
static final java.lang.String PROP_MESSAGE_EN
Constant property name for "message" and domain "EN" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_MJML_EN
static final java.lang.String PROP_MJML_EN
Constant property name for "mjml" and domain "EN" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_PLAIN_MESSAGE_EN
static final java.lang.String PROP_PLAIN_MESSAGE_EN
Constant property name for "plainMessage" and domain "EN" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_LOCALIZATIONS
static final java.lang.String PROP_LOCALIZATIONS
Constant property name for "localizations" for internal storage and queries.- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
java.lang.String getName()
Returns the value of the name attribute.
-
setName
void setName(java.lang.String value)
Sets the value of the name attribute.
-
getSenderEN
java.lang.String getSenderEN()
Returns the value of the sender attribute in the "EN" domain.
-
getSender
java.lang.String getSender()
Returns the current value of the sender attribute. Current means in the currently selected domain.
-
setSenderEN
void setSenderEN(java.lang.String value)
Sets the value of the sender attribute in the domain "EN"
-
setSender
void setSender(java.lang.String value)
Sets the value of the sender attribute in the current domain. Current means in the currently selected domain.
-
getSenderNameEN
java.lang.String getSenderNameEN()
Returns the value of the senderName attribute in the "EN" domain.
-
getSenderName
java.lang.String getSenderName()
Returns the current value of the senderName attribute. Current means in the currently selected domain.
-
setSenderNameEN
void setSenderNameEN(java.lang.String value)
Sets the value of the senderName attribute in the domain "EN"
-
setSenderName
void setSenderName(java.lang.String value)
Sets the value of the senderName attribute in the current domain. Current means in the currently selected domain.
-
getSubjectEN
java.lang.String getSubjectEN()
Returns the value of the subject attribute in the "EN" domain.
-
getSubject
java.lang.String getSubject()
Returns the current value of the subject attribute. Current means in the currently selected domain.
-
setSubjectEN
void setSubjectEN(java.lang.String value)
Sets the value of the subject attribute in the domain "EN"
-
setSubject
void setSubject(java.lang.String value)
Sets the value of the subject attribute in the current domain. Current means in the currently selected domain.
-
getMessageEN
java.lang.String getMessageEN()
Returns the value of the message attribute in the "EN" domain.
-
getMessage
java.lang.String getMessage()
Returns the current value of the message attribute. Current means in the currently selected domain.
-
setMessageEN
void setMessageEN(java.lang.String value)
Sets the value of the message attribute in the domain "EN"
-
setMessage
void setMessage(java.lang.String value)
Sets the value of the message attribute in the current domain. Current means in the currently selected domain.
-
getMjmlEN
java.lang.String getMjmlEN()
Returns the value of the mjml attribute in the "EN" domain.
-
getMjml
java.lang.String getMjml()
Returns the current value of the mjml attribute. Current means in the currently selected domain.
-
setMjmlEN
void setMjmlEN(java.lang.String value)
Sets the value of the mjml attribute in the domain "EN"
-
setMjml
void setMjml(java.lang.String value)
Sets the value of the mjml attribute in the current domain. Current means in the currently selected domain.
-
getPlainMessageEN
java.lang.String getPlainMessageEN()
Returns the value of the plainMessage attribute in the "EN" domain.
-
getPlainMessage
java.lang.String getPlainMessage()
Returns the current value of the plainMessage attribute. Current means in the currently selected domain.
-
setPlainMessageEN
void setPlainMessageEN(java.lang.String value)
Sets the value of the plainMessage attribute in the domain "EN"
-
setPlainMessage
void setPlainMessage(java.lang.String value)
Sets the value of the plainMessage attribute in the current domain. Current means in the currently selected domain.
-
getLocalizations
java.util.List<java.lang.String> getLocalizations()
Returns the value of the localizations attribute.
-
setLocalizations
void setLocalizations(java.util.List<java.lang.String> value)
Sets the value of the localizations attribute.
-
getLocalizationsSize
int getLocalizationsSize()
Returns the number of elements in the "localizations" container
-
addLocalizationsElement
void addLocalizationsElement(java.lang.String guard)
Adds a new element to the list.
-
removeLocalizationsElement
void removeLocalizationsElement(int index)
Removes the element at position index from the list.
-
swapLocalizationsElement
void swapLocalizationsElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.
-
getLocalizationsElement
java.lang.String getLocalizationsElement(int index)
Returns the element at the position index in the list.
-
copyLANG2LANG
void copyLANG2LANG(java.lang.String sourceLanguge, java.lang.String destLanguage)Copies all multilingual properties from source language to destination language
-
-