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>>
@Entity public class MandantMailData extends AClientDependentEntity
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_ALLOW_CUSTOM_SENDER_ADDRESS
JPA attribute name for theisAllowCustomSenderAddress()
field.static String
ATTR_ALLOW_UTF8
JPA attribute name for theisAllowUtf8()
field.static String
ATTR_AUTH_ENABLED
Deprecated.static String
ATTR_ENABLED
JPA attribute name for theisEnabled()
field.static String
ATTR_SYSTEM_SENDER_ADDRESS_MODE
JPA attribute name for thegetSystemSenderAddressMode()
field.protected Map<String,String>
authAttributes
static String
COL_ALLOW_CUSTOM_SENDER_ADDRESS
Database column name for theisAllowCustomSenderAddress()
field.static String
COL_ALLOW_UTF8
Database column name for theisAllowUtf8()
field.static String
COL_SYSTEM_SENDER_ADDRESS_MODE
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.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 Constructor Description MandantMailData()
-
Method Summary
-
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
-
-
-
-
Field Detail
-
ATTR_ENABLED
public static final String ATTR_ENABLED
JPA attribute name for theisEnabled()
field.- See Also:
- Constant Field Values
-
ATTR_ALLOW_UTF8
public static final String ATTR_ALLOW_UTF8
JPA attribute name for theisAllowUtf8()
field.- See Also:
- Constant Field Values
-
ATTR_ALLOW_CUSTOM_SENDER_ADDRESS
public static final String ATTR_ALLOW_CUSTOM_SENDER_ADDRESS
JPA attribute name for theisAllowCustomSenderAddress()
field.- See Also:
- Constant Field Values
-
ATTR_SYSTEM_SENDER_ADDRESS_MODE
public static final String ATTR_SYSTEM_SENDER_ADDRESS_MODE
JPA attribute name for thegetSystemSenderAddressMode()
field.- See Also:
- Constant Field Values
-
ATTR_AUTH_ENABLED
@Deprecated public static final String ATTR_AUTH_ENABLED
Deprecated.JPA attribute name for theisAuthEnabled()
field.- See Also:
- Constant Field Values
-
COL_ALLOW_UTF8
public static final String COL_ALLOW_UTF8
Database column name for theisAllowUtf8()
field.- See Also:
- Constant Field Values
-
COL_ALLOW_CUSTOM_SENDER_ADDRESS
public static final String COL_ALLOW_CUSTOM_SENDER_ADDRESS
Database column name for theisAllowCustomSenderAddress()
field.- See Also:
- Constant Field Values
-
COL_SYSTEM_SENDER_ADDRESS_MODE
public static final String COL_SYSTEM_SENDER_ADDRESS_MODE
Database column name for thegetSystemSenderAddressMode()
field.- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public Long getId()
-
isEnabled
public boolean isEnabled()
- Returns:
- if enabled
-
setEnabled
public void setEnabled(boolean enabled)
- Parameters:
enabled
- the userCustomMail to set
-
getHost
public String getHost()
-
setHost
public void setHost(String host)
-
getPort
public int getPort()
-
setPort
public void setPort(int port)
-
getSystemSenderAddressMode
public EMailSenderAddressMode 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
public void setSystemSenderAddressMode(EMailSenderAddressMode systemSenderAddressMode)
- 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
public String getSender()
- Returns:
- The sender address used when sending mails. Can be overridden, unless
getSystemSenderAddressMode()
does not allow it.
-
setSender
public void setSender(String sender)
- Parameters:
sender
- The sender address used when sending mails. Can be overridden, unlessgetSystemSenderAddressMode()
does not allow it.
-
getSenderName
public String getSenderName()
- Returns:
- Sender name, which is displayed in mail clients instead of the sender's mail address.
-
setSenderName
public void setSenderName(String senderName)
- 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
public EMailAuthenticationType getAuthType()
-
setAuthType
public void setAuthType(EMailAuthenticationType authType)
-
getAuthName
public String getAuthName()
-
setAuthName
public void setAuthName(String authName)
-
getAuthPassword
public String getAuthPassword()
-
setAuthPassword
public void setAuthPassword(String authPassword)
-
getEncryption
public EMailEncryption getEncryption()
- Returns:
- the encryption
-
setEncryption
public void setEncryption(EMailEncryption encryption)
- Parameters:
encryption
- the mailEncryption to set
-
setSupportAddress
public void setSupportAddress(String supportAddress)
-
getSupportAddress
public String getSupportAddress()
-
isAuthEnabled
@Deprecated public boolean isAuthEnabled()
Deprecated.getAuthType()
instead.
-
setAuthEnabled
@Deprecated public void setAuthEnabled(boolean authEnabled)
Deprecated.UsesetAuthType(EMailAuthenticationType)
instead.
-
-