Package de.xima.fc.entities
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 String
JPA attribute name for theisAllowCustomSenderAddress()
field.static final String
JPA attribute name for theisAllowUtf8()
field.static final String
Deprecated.static final String
JPA attribute name for theisEnabled()
field.static final String
JPA attribute name for thegetSystemSenderAddressMode()
field.static final String
Database column name for theisAllowCustomSenderAddress()
field.static final String
Database column name for theisAllowUtf8()
field.static final String
Database column name for thegetSystemSenderAddressMode()
field.Fields inherited from class de.xima.fc.entities.AClientDependentEntity
COL_CLIENTID, mandant
Fields inherited from class de.xima.fc.entities.AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersion
Fields inherited from class de.xima.fc.entities.AbstractEntity
COL_ID, id
Fields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_ID
Fields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSION
Fields inherited from interface de.xima.fc.entities.interfaces.IMandantDependent
ATTR_MANDANT, COL_CLIENT_ID
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_ID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHost()
getId()
int
getPort()
boolean
boolean
boolean
Deprecated.boolean
void
setAllowCustomSenderAddress
(boolean allowCustomSenderAddress) void
setAllowUtf8
(boolean allowUtf8) void
setAuthAttributes
(Map<String, String> authAttributes) void
setAuthEnabled
(boolean authEnabled) Deprecated.UsesetAuthType(EMailAuthenticationType)
instead.void
setAuthName
(String authName) void
setAuthPassword
(String authPassword) void
setAuthType
(EMailAuthenticationType authType) void
setEnabled
(boolean enabled) void
setEncryption
(EMailEncryption encryption) void
void
setPort
(int port) void
void
setSenderName
(String senderName) void
setSupportAddress
(String supportAddress) void
setSystemSenderAddressMode
(EMailSenderAddressMode systemSenderAddressMode) Methods inherited from class de.xima.fc.entities.AClientDependentEntity
getMandant, setMandant
Methods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toString
Methods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setId, setId
Methods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface de.xima.cmn.dao.interfaces.IEntity
isPersisted, setId
-
Field Details
-
ATTR_ENABLED
JPA attribute name for theisEnabled()
field.- See Also:
-
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
Deprecated.JPA attribute name for theisAuthEnabled()
field.- See Also:
-
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.