net.anotheria.anosite.gen.asresourcedata.data.MailTemplate Maven / Gradle / Ivy
/**
********************************************************************************
*** MailTemplate.java ***
*** generated by AnoSiteGenerator (ASG), Version: 3.2.2 ***
*** Copyright (C) 2005 - 2023 Anotheria.net, www.anotheria.net ***
*** All Rights Reserved. ***
********************************************************************************
*** Don't edit this code, if you aren't sure ***
*** that you do exactly know what you are doing! ***
*** It's better to invest time in the generator, as into the generated code. ***
********************************************************************************
*/
package net.anotheria.anosite.gen.asresourcedata.data;
import net.anotheria.asg.data.DataObject;
import java.util.List;
import net.anotheria.util.sorter.IComparable;
public interface MailTemplate extends DataObject, IComparable {
/**
* Constant property name for "id" for internal storage and queries.
*/
String PROP_ID = "id";
/**
* Constant property name for "name" for internal storage and queries.
*/
String PROP_NAME = "name";
/**
* Constant property name for "sender" and domain "EN" for internal storage and queries.
*/
String PROP_SENDER_EN = "sender_EN";
/**
* Constant property name for "sender" and domain "DE" for internal storage and queries.
*/
String PROP_SENDER_DE = "sender_DE";
/**
* Constant property name for "senderName" and domain "EN" for internal storage and queries.
*/
String PROP_SENDER_NAME_EN = "senderName_EN";
/**
* Constant property name for "senderName" and domain "DE" for internal storage and queries.
*/
String PROP_SENDER_NAME_DE = "senderName_DE";
/**
* Constant property name for "subject" and domain "EN" for internal storage and queries.
*/
String PROP_SUBJECT_EN = "subject_EN";
/**
* Constant property name for "subject" and domain "DE" for internal storage and queries.
*/
String PROP_SUBJECT_DE = "subject_DE";
/**
* Constant property name for "message" and domain "EN" for internal storage and queries.
*/
String PROP_MESSAGE_EN = "message_EN";
/**
* Constant property name for "message" and domain "DE" for internal storage and queries.
*/
String PROP_MESSAGE_DE = "message_DE";
/**
* Constant property name for "mjml" and domain "EN" for internal storage and queries.
*/
String PROP_MJML_EN = "mjml_EN";
/**
* Constant property name for "mjml" and domain "DE" for internal storage and queries.
*/
String PROP_MJML_DE = "mjml_DE";
/**
* Constant property name for "plainMessage" and domain "EN" for internal storage and queries.
*/
String PROP_PLAIN_MESSAGE_EN = "plainMessage_EN";
/**
* Constant property name for "plainMessage" and domain "DE" for internal storage and queries.
*/
String PROP_PLAIN_MESSAGE_DE = "plainMessage_DE";
/**
* Constant property name for "localizations" for internal storage and queries.
*/
String PROP_LOCALIZATIONS = "localizations";
/**
* Returns the value of the name attribute.
*/
String getName();
/**
* Sets the value of the name attribute.
*/
void setName(String value);
/**
* Returns the value of the sender attribute in the "EN" domain.
*/
String getSenderEN();
/**
* Returns the value of the sender attribute in the "DE" domain.
*/
String getSenderDE();
/**
* Returns the current value of the sender attribute.
* Current means in the currently selected domain.
*/
String getSender();
/**
* Sets the value of the sender attribute in the domain "EN"
*/
void setSenderEN(String value);
/**
* Sets the value of the sender attribute in the domain "DE"
*/
void setSenderDE(String value);
/**
* Sets the value of the sender attribute in the current domain. Current means in the currently selected domain.
*/
void setSender(String value);
/**
* Returns the value of the senderName attribute in the "EN" domain.
*/
String getSenderNameEN();
/**
* Returns the value of the senderName attribute in the "DE" domain.
*/
String getSenderNameDE();
/**
* Returns the current value of the senderName attribute.
* Current means in the currently selected domain.
*/
String getSenderName();
/**
* Sets the value of the senderName attribute in the domain "EN"
*/
void setSenderNameEN(String value);
/**
* Sets the value of the senderName attribute in the domain "DE"
*/
void setSenderNameDE(String value);
/**
* Sets the value of the senderName attribute in the current domain. Current means in the currently selected domain.
*/
void setSenderName(String value);
/**
* Returns the value of the subject attribute in the "EN" domain.
*/
String getSubjectEN();
/**
* Returns the value of the subject attribute in the "DE" domain.
*/
String getSubjectDE();
/**
* Returns the current value of the subject attribute.
* Current means in the currently selected domain.
*/
String getSubject();
/**
* Sets the value of the subject attribute in the domain "EN"
*/
void setSubjectEN(String value);
/**
* Sets the value of the subject attribute in the domain "DE"
*/
void setSubjectDE(String value);
/**
* Sets the value of the subject attribute in the current domain. Current means in the currently selected domain.
*/
void setSubject(String value);
/**
* Returns the value of the message attribute in the "EN" domain.
*/
String getMessageEN();
/**
* Returns the value of the message attribute in the "DE" domain.
*/
String getMessageDE();
/**
* Returns the current value of the message attribute.
* Current means in the currently selected domain.
*/
String getMessage();
/**
* Sets the value of the message attribute in the domain "EN"
*/
void setMessageEN(String value);
/**
* Sets the value of the message attribute in the domain "DE"
*/
void setMessageDE(String value);
/**
* Sets the value of the message attribute in the current domain. Current means in the currently selected domain.
*/
void setMessage(String value);
/**
* Returns the value of the mjml attribute in the "EN" domain.
*/
String getMjmlEN();
/**
* Returns the value of the mjml attribute in the "DE" domain.
*/
String getMjmlDE();
/**
* Returns the current value of the mjml attribute.
* Current means in the currently selected domain.
*/
String getMjml();
/**
* Sets the value of the mjml attribute in the domain "EN"
*/
void setMjmlEN(String value);
/**
* Sets the value of the mjml attribute in the domain "DE"
*/
void setMjmlDE(String value);
/**
* Sets the value of the mjml attribute in the current domain. Current means in the currently selected domain.
*/
void setMjml(String value);
/**
* Returns the value of the plainMessage attribute in the "EN" domain.
*/
String getPlainMessageEN();
/**
* Returns the value of the plainMessage attribute in the "DE" domain.
*/
String getPlainMessageDE();
/**
* Returns the current value of the plainMessage attribute.
* Current means in the currently selected domain.
*/
String getPlainMessage();
/**
* Sets the value of the plainMessage attribute in the domain "EN"
*/
void setPlainMessageEN(String value);
/**
* Sets the value of the plainMessage attribute in the domain "DE"
*/
void setPlainMessageDE(String value);
/**
* Sets the value of the plainMessage attribute in the current domain. Current means in the currently selected domain.
*/
void setPlainMessage(String value);
/**
* Returns the value of the localizations attribute.
*/
List getLocalizations();
/**
* Sets the value of the localizations attribute.
*/
void setLocalizations(List value);
/**
* Returns the number of elements in the "localizations" container
*/
int getLocalizationsSize();
/**
* Adds a new element to the list.
*/
void addLocalizationsElement(String guard);
/**
* Removes the element at position index from the list.
*/
void removeLocalizationsElement(int index);
/**
* Swaps elements at positions index1 and index2 in the list.
*/
void swapLocalizationsElement(int index1, int index2);
/**
* Returns the element at the position index in the list.
*/
String getLocalizationsElement(int index);
/**
* Copies all multilingual properties from source language to destination language
*/
void copyLANG2LANG(String sourceLanguge, String destLanguage);
/**
* Copies all multilingual properties from language EN to language DE
*/
void copyEN2DE();
/**
* Copies all multilingual properties from language DE to language EN
*/
void copyDE2EN();
}