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
systemUCFields inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
localeBean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPort()booleanbooleanbooleanbooleanvoidvoidsetAddress(String from) voidsetAllowClientSpecificSupportAddress(Boolean allowClientSpecificSupportAddress) voidsetAllowCustomSenderAddress(boolean allowCustomSenderAddress) voidsetAllowUtf8(boolean allowUtf8) voidsetAuthenticationType(EMailAuthenticationType authType) voidsetAuthPwd(String authPwd) voidsetAuthUser(String authUser) voidsetClientId(String clientId) voidsetClientSecret(String clientSecret) voidsetEncryption(EMailEncryption encryption) voidvoidsetSenderName(String senderName) voidsetSendSystemInfoInSupportMail(Boolean sendSystemInfoInSupportMail) voidvoidsetSupportAddress(String supportAddress) voidsetTenantId(String tenantId) voidsetTestmailReceiver(String testmailReceiver) voidsetUseMail(boolean useMail) voidMethods inherited from class de.xima.fc.gui.bean.FCContextBean
getNavigationBean, getSessionBean, isSetupUser, redirectToDashboard, setNavigationBean, setSessionBean, switchMainView, switchMainView, switchSubView, switchSubViewMethods inherited from class de.xima.fc.gui.bean.ABackendJSFContext
ec, findEntityContext, isDetached, isHasDBMethods 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, ucMethods 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, msgMethods 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()
-