Package de.xima.fc.gui.bean.settings
Class MailConfigBean
-
- All Implemented Interfaces:
Serializable
@Named @ViewScoped public class MailConfigBean extends FCContextBean implements Serializable
Bean für die Konfiguration eines Systemweiten E-Mail Servers- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
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 Constructor Description MailConfigBean()
-
Method Summary
-
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
-
-
-
-
Method Detail
-
isUseMail
public boolean isUseMail()
-
setUseMail
public void setUseMail(boolean useMail)
-
getServer
public String getServer()
-
setServer
public void setServer(String server)
-
getPort
public Integer getPort()
-
setPort
public void setPort(Integer port)
-
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
public String getAuthUser()
-
setAuthUser
public void setAuthUser(String authUser)
-
getAuthPwd
public String getAuthPwd()
-
setAuthPwd
public void setAuthPwd(String authPwd)
-
getAddress
public String getAddress()
-
setAddress
public void setAddress(String from)
-
getSupportAddress
public String getSupportAddress()
-
setSenderName
public void setSenderName(String senderName)
-
getSenderName
public String getSenderName()
-
setSupportAddress
public void setSupportAddress(String supportAddress)
-
getAllowClientSpecificSupportAddress
public Boolean getAllowClientSpecificSupportAddress()
-
setAllowClientSpecificSupportAddress
public void setAllowClientSpecificSupportAddress(Boolean allowClientSpecificSupportAddress)
-
getSendSystemInfoInSupportMail
public Boolean getSendSystemInfoInSupportMail()
-
setSendSystemInfoInSupportMail
public void setSendSystemInfoInSupportMail(Boolean sendSystemInfoInSupportMail)
-
hasSupportAddress
public boolean hasSupportAddress()
-
getEncryption
public EMailEncryption getEncryption()
-
setEncryption
public void setEncryption(EMailEncryption encryption)
-
getAuthenticationType
public EMailAuthenticationType getAuthenticationType()
-
setAuthenticationType
public void setAuthenticationType(EMailAuthenticationType authType)
-
getTenantId
public String getTenantId()
-
setTenantId
public void setTenantId(String tenantId)
-
getClientId
public String getClientId()
-
setClientId
public void setClientId(String clientId)
-
getClientSecret
public String getClientSecret()
-
setClientSecret
public void setClientSecret(String clientSecret)
-
getTestmailReceiver
public String getTestmailReceiver()
-
setTestmailReceiver
public void setTestmailReceiver(String testmailReceiver)
-
getDefaultSystemSupportMail
public String getDefaultSystemSupportMail()
-
testMailserver
public void testMailserver()
-
saveConfig
public void saveConfig()
-
-