Interface MailTemplate
- All Superinterfaces:
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
FieldsModifier and TypeFieldDescriptionstatic final StringConstant property name for "id" for internal storage and queries.static final StringConstant property name for "localizations" for internal storage and queries.static final StringConstant property name for "message" and domain "EN" for internal storage and queries.static final StringConstant property name for "mjml" and domain "EN" for internal storage and queries.static final StringConstant property name for "name" for internal storage and queries.static final StringConstant property name for "plainMessage" and domain "EN" for internal storage and queries.static final StringConstant property name for "sender" and domain "EN" for internal storage and queries.static final StringConstant property name for "senderName" and domain "EN" for internal storage and queries.static final StringConstant property name for "subject" and domain "EN" for internal storage and queries. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLocalizationsElement(String guard) Adds a new element to the list.voidcopyLANG2LANG(String sourceLanguge, String destLanguage) Copies all multilingual properties from source language to destination languageReturns the value of the localizations attribute.getLocalizationsElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "localizations" containerReturns the current value of the message attribute.Returns the value of the message attribute in the "EN" domain.getMjml()Returns the current value of the mjml attribute.Returns the value of the mjml attribute in the "EN" domain.getName()Returns the value of the name attribute.Returns the current value of the plainMessage attribute.Returns the value of the plainMessage attribute in the "EN" domain.Returns the current value of the sender attribute.Returns the value of the sender attribute in the "EN" domain.Returns the current value of the senderName attribute.Returns the value of the senderName attribute in the "EN" domain.Returns the current value of the subject attribute.Returns the value of the subject attribute in the "EN" domain.voidremoveLocalizationsElement(int index) Removes the element at position index from the list.voidsetLocalizations(List<String> value) Sets the value of the localizations attribute.voidsetMessage(String value) Sets the value of the message attribute in the current domain.voidsetMessageEN(String value) Sets the value of the message attribute in the domain "EN"voidSets the value of the mjml attribute in the current domain.voidSets the value of the mjml attribute in the domain "EN"voidSets the value of the name attribute.voidsetPlainMessage(String value) Sets the value of the plainMessage attribute in the current domain.voidsetPlainMessageEN(String value) Sets the value of the plainMessage attribute in the domain "EN"voidSets the value of the sender attribute in the current domain.voidsetSenderEN(String value) Sets the value of the sender attribute in the domain "EN"voidsetSenderName(String value) Sets the value of the senderName attribute in the current domain.voidsetSenderNameEN(String value) Sets the value of the senderName attribute in the domain "EN"voidsetSubject(String value) Sets the value of the subject attribute in the current domain.voidsetSubjectEN(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.Methods inherited from interface net.anotheria.asg.data.DataObject
clone, getDefinedName, getDefinedParentName, getFootprint, getId, getLastUpdateTimestamp, getObjectInfo, getPropertyValue, toXMLNodeMethods inherited from interface net.anotheria.util.sorter.IComparable
compareTo
-
Field Details
-
PROP_ID
Constant property name for "id" for internal storage and queries.- See Also:
-
PROP_NAME
Constant property name for "name" for internal storage and queries.- See Also:
-
PROP_SENDER_EN
Constant property name for "sender" and domain "EN" for internal storage and queries.- See Also:
-
PROP_SENDER_NAME_EN
Constant property name for "senderName" and domain "EN" for internal storage and queries.- See Also:
-
PROP_SUBJECT_EN
Constant property name for "subject" and domain "EN" for internal storage and queries.- See Also:
-
PROP_MESSAGE_EN
Constant property name for "message" and domain "EN" for internal storage and queries.- See Also:
-
PROP_MJML_EN
Constant property name for "mjml" and domain "EN" for internal storage and queries.- See Also:
-
PROP_PLAIN_MESSAGE_EN
Constant property name for "plainMessage" and domain "EN" for internal storage and queries.- See Also:
-
PROP_LOCALIZATIONS
Constant property name for "localizations" for internal storage and queries.- See Also:
-
-
Method Details
-
getName
String getName()Returns the value of the name attribute. -
setName
Sets the value of the name attribute. -
getSenderEN
String getSenderEN()Returns the value of the sender attribute in the "EN" domain. -
getSender
String getSender()Returns the current value of the sender attribute. Current means in the currently selected domain. -
setSenderEN
Sets the value of the sender attribute in the domain "EN" -
setSender
Sets the value of the sender attribute in the current domain. Current means in the currently selected domain. -
getSenderNameEN
String getSenderNameEN()Returns the value of the senderName attribute in the "EN" domain. -
getSenderName
String getSenderName()Returns the current value of the senderName attribute. Current means in the currently selected domain. -
setSenderNameEN
Sets the value of the senderName attribute in the domain "EN" -
setSenderName
Sets the value of the senderName attribute in the current domain. Current means in the currently selected domain. -
getSubjectEN
String getSubjectEN()Returns the value of the subject attribute in the "EN" domain. -
getSubject
String getSubject()Returns the current value of the subject attribute. Current means in the currently selected domain. -
setSubjectEN
Sets the value of the subject attribute in the domain "EN" -
setSubject
Sets the value of the subject attribute in the current domain. Current means in the currently selected domain. -
getMessageEN
String getMessageEN()Returns the value of the message attribute in the "EN" domain. -
getMessage
String getMessage()Returns the current value of the message attribute. Current means in the currently selected domain. -
setMessageEN
Sets the value of the message attribute in the domain "EN" -
setMessage
Sets the value of the message attribute in the current domain. Current means in the currently selected domain. -
getMjmlEN
String getMjmlEN()Returns the value of the mjml attribute in the "EN" domain. -
getMjml
String getMjml()Returns the current value of the mjml attribute. Current means in the currently selected domain. -
setMjmlEN
Sets the value of the mjml attribute in the domain "EN" -
setMjml
Sets the value of the mjml attribute in the current domain. Current means in the currently selected domain. -
getPlainMessageEN
String getPlainMessageEN()Returns the value of the plainMessage attribute in the "EN" domain. -
getPlainMessage
String getPlainMessage()Returns the current value of the plainMessage attribute. Current means in the currently selected domain. -
setPlainMessageEN
Sets the value of the plainMessage attribute in the domain "EN" -
setPlainMessage
Sets the value of the plainMessage attribute in the current domain. Current means in the currently selected domain. -
getLocalizations
Returns the value of the localizations attribute. -
setLocalizations
Sets the value of the localizations attribute. -
getLocalizationsSize
int getLocalizationsSize()Returns the number of elements in the "localizations" container -
addLocalizationsElement
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
Returns the element at the position index in the list. -
copyLANG2LANG
Copies all multilingual properties from source language to destination language
-