Class MandantMailData
java.lang.Object
de.xima.cmn.dao.model.AEntity<Long>
de.xima.fc.entities.AbstractEntity
de.xima.fc.entities.AbstractLockableEntity
de.xima.fc.entities.ALockableEntity
de.xima.fc.entities.AClientDependentEntity
de.xima.fc.entities.MandantMailData
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>, de.xima.cmn.dao.interfaces.ILockableEntity<Long>, ILockingVersionProviding, IMandantDependent, ITransferable, ITransferableEntity, ITransferableLockableEntity, Serializable, Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringJPA attribute name for theisAllowCustomSenderAddress()field.static final StringJPA attribute name for theisAllowUtf8()field.static final StringDeprecated.static final StringJPA attribute name for theisEnabled()field.static final StringJPA attribute name for thegetSystemSenderAddressMode()field.static final StringDatabase column name for theisAllowCustomSenderAddress()field.static final StringDatabase column name for theisAllowUtf8()field.static final StringDatabase column name for thegetSystemSenderAddressMode()field.Fields inherited from class AClientDependentEntity
COL_CLIENTID, mandantFields inherited from class AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersionFields inherited from class AbstractEntity
COL_ID, idFields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_IDFields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSIONFields inherited from interface IMandantDependent
ATTR_CLIENT, ATTR_MANDANT, COL_CLIENT_IDFields inherited from interface ITransferableEntity
IMPORT_ID, INVALID_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHost()getId()intgetPort()booleanbooleanbooleanDeprecated.booleanvoidsetAllowCustomSenderAddress(boolean allowCustomSenderAddress) voidsetAllowUtf8(boolean allowUtf8) voidsetAuthAttributes(Map<String, String> authAttributes) voidsetAuthEnabled(boolean authEnabled) Deprecated.UsesetAuthType(EMailAuthenticationType)instead.voidsetAuthName(String authName) voidsetAuthPassword(String authPassword) voidsetAuthType(EMailAuthenticationType authType) voidsetEnabled(boolean enabled) voidsetEncryption(EMailEncryption encryption) voidvoidsetPort(int port) voidvoidsetSenderName(String senderName) voidsetSupportAddress(String supportAddress) voidsetSystemSenderAddressMode(EMailSenderAddressMode systemSenderAddressMode) Methods inherited from class AClientDependentEntity
getMandant, setMandantMethods inherited from class AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toStringMethods inherited from class AbstractEntity
asIntValue, isPersisted, setId, setIdMethods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCodeMethods inherited from interface Comparable
compareToMethods inherited from interface de.xima.cmn.dao.interfaces.IEntity
isPersisted, setId
-
Field Details
-
ATTR_ENABLED
-
ATTR_ALLOW_UTF8
JPA attribute name for theisAllowUtf8()field.- See Also:
-
ATTR_ALLOW_CUSTOM_SENDER_ADDRESS
JPA attribute name for theisAllowCustomSenderAddress()field.- See Also:
-
ATTR_SYSTEM_SENDER_ADDRESS_MODE
JPA attribute name for thegetSystemSenderAddressMode()field.- See Also:
-
ATTR_AUTH_ENABLED
-
COL_ALLOW_UTF8
Database column name for theisAllowUtf8()field.- See Also:
-
COL_ALLOW_CUSTOM_SENDER_ADDRESS
Database column name for theisAllowCustomSenderAddress()field.- See Also:
-
COL_SYSTEM_SENDER_ADDRESS_MODE
Database column name for thegetSystemSenderAddressMode()field.- See Also:
-
authAttributes
-
-
Constructor Details
-
MandantMailData
public MandantMailData()
-
-
Method Details
-
getId
-
isEnabled
public boolean isEnabled()- Returns:
- if enabled
-
setEnabled
public void setEnabled(boolean enabled) - Parameters:
enabled- the userCustomMail to set
-
getHost
-
setHost
-
getPort
public int getPort() -
setPort
public void setPort(int port) -
getSystemSenderAddressMode
- Returns:
- When sending mails via the system mail server: Whether to allow a different sender address when sending mails. This settings should be editable only by system administrators.
-
setSystemSenderAddressMode
- Parameters:
systemSenderAddressMode- When sending mails via the system mail server: Whether to allow a different sender address when sending mails. This settings should be editable only by system administrators.
-
getSender
- Returns:
- The sender address used when sending mails. Can be overridden, unless
getSystemSenderAddressMode()does not allow it.
-
setSender
- Parameters:
sender- The sender address used when sending mails. Can be overridden, unlessgetSystemSenderAddressMode()does not allow it.
-
getSenderName
- Returns:
- Sender name, which is displayed in mail clients instead of the sender's mail address.
-
setSenderName
- Parameters:
senderName- Sender name, which is displayed in mail clients instead of the sender's mail address.
-
isAllowCustomSenderAddress
public boolean isAllowCustomSenderAddress()- Returns:
- When sending mails via the this client mail server: Whether to allow a different sender address when sending mails. This settings should be editable only by client administrators.
-
setAllowCustomSenderAddress
public void setAllowCustomSenderAddress(boolean allowCustomSenderAddress) - Parameters:
allowCustomSenderAddress- When sending mails via the this client mail server: Whether to allow a different sender address when sending mails. This settings should be editable only by client administrators.
-
isAllowUtf8
public boolean isAllowUtf8()- Returns:
- Whether the mail server supports UTF-8 message headers, i.e. SMTPUTF8.
-
setAllowUtf8
public void setAllowUtf8(boolean allowUtf8) - Parameters:
allowUtf8- Whether the mail server supports UTF-8 message headers, i.e. SMTPUTF8.
-
getAuthType
-
setAuthType
-
getAuthAttributes
-
setAuthAttributes
-
getAuthName
-
setAuthName
-
getAuthPassword
-
setAuthPassword
-
getEncryption
- Returns:
- the encryption
-
setEncryption
- Parameters:
encryption- the mailEncryption to set
-
setSupportAddress
-
getSupportAddress
-
isAuthEnabled
Deprecated.getAuthType()instead. -
setAuthEnabled
Deprecated.UsesetAuthType(EMailAuthenticationType)instead.
-
getAuthType()instead.