Class 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:
  • Field Details

  • Constructor Details

    • MandantMailData

      public MandantMailData()
  • Method Details

    • 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, unless getSystemSenderAddressMode() 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)
    • getAuthAttributes

      public Map<String,String> getAuthAttributes()
    • setAuthAttributes

      public void setAuthAttributes(Map<String,String> authAttributes)
    • 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.