Package de.xima.fc.gui.bean.settings
Class MailConfigBean
- All Implemented Interfaces:
Serializable
Bean für die Konfiguration eines Systemweiten E-Mail Servers
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder
-
Field Summary
Fields inherited from class de.xima.fc.gui.bean.FCContextBean
systemUC
Fields inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
localeBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPort()
boolean
boolean
boolean
boolean
void
void
setAddress
(String from) void
setAllowClientSpecificSupportAddress
(Boolean allowClientSpecificSupportAddress) void
setAllowCustomSenderAddress
(boolean allowCustomSenderAddress) void
setAllowUtf8
(boolean allowUtf8) void
setAuthenticationType
(EMailAuthenticationType authType) void
setAuthPwd
(String authPwd) void
setAuthUser
(String authUser) void
setClientId
(String clientId) void
setClientSecret
(String clientSecret) void
setEncryption
(EMailEncryption encryption) void
void
setSenderName
(String senderName) void
setSendSystemInfoInSupportMail
(Boolean sendSystemInfoInSupportMail) void
void
setSupportAddress
(String supportAddress) void
setTenantId
(String tenantId) void
setTestmailReceiver
(String testmailReceiver) void
setUseMail
(boolean useMail) void
Methods inherited from class de.xima.fc.gui.bean.FCContextBean
getNavigationBean, getSessionBean, isSetupUser, redirectToDashboard, setNavigationBean, setSessionBean, switchMainView, switchMainView, switchSubView, switchSubView
Methods inherited from class de.xima.fc.gui.bean.ABackendJSFContext
ec, findEntityContext, isDetached, isHasDB
Methods inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
destroySessionBean, encodeURL, findBean, findBean, findBean, findBean, findBean, findBean, findBean, findCurrentView, findUserContext, getBeanName, getBeanName, getContext, getCurrentViewBean, getLocaleBean, getRequest, getResponse, getSession, getSession, getSessionAttribute, isMasterServerContext, loadLazy, redirect, redirect, redirect, redirect, redirectToDashboard, redirectToDashboard, redirectToDashboard, setLocaleBean, setSessionAttribute, uc
Methods inherited from class de.xima.fc.gui.common.utils.msg.MessageUtils
addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsgFromString, addErrorMsgFromString, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsgFromString, addInfoMsgFromString, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addMsg, addMsg, addMsg, addMsg, addMsgs, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, errorMsg, errorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg, msg
Methods inherited from class de.xima.fc.gui.common.utils.msg.I18nUtils
getFacesContext, getLocale, rbValue, rbValue, rbValue, rbValueOrDefault, rbValueOrDefault
-
Constructor Details
-
MailConfigBean
public MailConfigBean()
-
-
Method Details
-
isUseMail
public boolean isUseMail() -
setUseMail
public void setUseMail(boolean useMail) -
getServer
-
setServer
-
getPort
-
setPort
-
isAllowUtf8
public boolean isAllowUtf8() -
setAllowUtf8
public void setAllowUtf8(boolean allowUtf8) -
isAllowCustomSenderAddress
public boolean isAllowCustomSenderAddress()- Returns:
- When sending mails via the system mail server, whether to allow a sender address that is different from the configured sender address.
-
setAllowCustomSenderAddress
public void setAllowCustomSenderAddress(boolean allowCustomSenderAddress) - Parameters:
allowCustomSenderAddress
- When sending mails via the system mail server, whether to allow a sender address that is different from the configured sender address.
-
getAuthUser
-
setAuthUser
-
getAuthPwd
-
setAuthPwd
-
getAddress
-
setAddress
-
getSupportAddress
-
setSenderName
-
getSenderName
-
setSupportAddress
-
getAllowClientSpecificSupportAddress
-
setAllowClientSpecificSupportAddress
-
getSendSystemInfoInSupportMail
-
setSendSystemInfoInSupportMail
-
hasSupportAddress
public boolean hasSupportAddress() -
getEncryption
-
setEncryption
-
getAuthenticationType
-
setAuthenticationType
-
getTenantId
-
setTenantId
-
getClientId
-
setClientId
-
getClientSecret
-
setClientSecret
-
getTestmailReceiver
-
setTestmailReceiver
-
getDefaultSystemSupportMail
-
testMailserver
public void testMailserver() -
saveConfig
public void saveConfig()
-