filenet.vw.api
Class VWNotificationSettings
- java.lang.Object
-
- filenet.vw.api.VWNotificationSettings
-
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
public final class VWNotificationSettings extends java.lang.Object implements java.io.ExternalizableThis class encapsulates the definition of e-mail notification settings used by the PE server.- Since:
- PE 5.2.0.0
- See Also:
VWSystemAdministration.getNotificationSettings(), Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleangetAllowLocalSMTPSettings()Gets the 'allow local SMTP settings' flag.java.lang.StringgetEMailFromId()Gets the e-mail 'From:' ID.java.lang.StringgetEMailLogonId()Gets the e-mail logon ID.booleangetEncodeFromField()Gets the 'encode from field' flag.java.lang.StringgetSMTPHostName()Gets the SMTP host name.intgetSMTPPort()Gets the SMTP port number.java.lang.StringgetTLSProtocols()TlS protocols uses for the email.voidsetAllowLocalSMTPSettings(boolean bAllowLocalSmtpSettings)Sets the 'allow local SMTP settings' flag.voidsetEMailFromId(java.lang.String theEMailFromId)Sets the e-mail 'From:' ID.voidsetEMailLogonId(java.lang.String theEMailLogonId)Sets the e-mail logon ID.voidsetEMailPassword(java.lang.String theEMailPassword)Sets the e-mail password.voidsetEncodeFromField(boolean bEncodeFromField)Sets the 'encode from field' flag.voidsetSMTPHostName(java.lang.String theSmtpHostName)Sets the SMTP host name.voidsetSMTPPort(int theSmtpPort)Sets the SMTP port number.
-
-
-
Method Detail
-
getTLSProtocols
public java.lang.String getTLSProtocols()
TlS protocols uses for the email. In most cases the value is null, if default taken. If CPE server sets the flag (-D) filenet.mail.smtp.protocols, email will use this value Example: -Dfilenet.mail.smtp.protocols=TLSv1.2- Returns:
- the tls protocols. Null means the default will be used.
- Throws:
VWException- Since:
- CPE 5.5.10.4
-
getSMTPHostName
public java.lang.String getSMTPHostName() throws VWExceptionGets the SMTP host name.- Returns:
- The SMTP host name.
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
- See Also:
VWNotificationSettings.setSMTPHostName(String)
-
setSMTPHostName
public void setSMTPHostName(java.lang.String theSmtpHostName) throws VWExceptionSets the SMTP host name.- Parameters:
theSmtpHostName- The SMTP host name.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getSMTPPort
public int getSMTPPort() throws VWExceptionGets the SMTP port number.- Returns:
- The SMTP port number.
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
- See Also:
VWNotificationSettings.setSMTPPort(int)
-
setSMTPPort
public void setSMTPPort(int theSmtpPort) throws VWExceptionSets the SMTP port number.- Parameters:
theSmtpPort- The SMTP port number.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getEMailLogonId
public java.lang.String getEMailLogonId() throws VWExceptionGets the e-mail logon ID.- Returns:
- The e-mail logon ID.
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
- See Also:
VWNotificationSettings.setEMailLogonId(String)
-
setEMailLogonId
public void setEMailLogonId(java.lang.String theEMailLogonId) throws VWExceptionSets the e-mail logon ID.- Parameters:
theEMailLogonId- The e-mail logon ID.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
setEMailPassword
public void setEMailPassword(java.lang.String theEMailPassword) throws VWExceptionSets the e-mail password.- Parameters:
theEMailPassword- The e-mail password.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getEMailFromId
public java.lang.String getEMailFromId() throws VWExceptionGets the e-mail 'From:' ID.- Returns:
- The e-mail 'From:' ID.
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
- See Also:
VWNotificationSettings.setEMailFromId(String)
-
setEMailFromId
public void setEMailFromId(java.lang.String theEMailFromId) throws VWExceptionSets the e-mail 'From:' ID.- Parameters:
theEMailFromId- The e-mail 'From:' ID.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getEncodeFromField
public boolean getEncodeFromField() throws VWExceptionGets the 'encode from field' flag.- Returns:
- The 'encode from field' flag.
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
- See Also:
VWNotificationSettings.setEncodeFromField(boolean)
-
setEncodeFromField
public void setEncodeFromField(boolean bEncodeFromField) throws VWExceptionSets the 'encode from field' flag.- Parameters:
bEncodeFromField- The 'encode from field' flag.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getAllowLocalSMTPSettings
public boolean getAllowLocalSMTPSettings() throws VWExceptionGets the 'allow local SMTP settings' flag.- Returns:
- The 'allow local SMTP settings' flag value.
- Throws:
VWException- Thrown for various causes.- Since:
- CPE 5.2.1.0
-
setAllowLocalSMTPSettings
public void setAllowLocalSMTPSettings(boolean bAllowLocalSmtpSettings) throws VWExceptionSets the 'allow local SMTP settings' flag.- Parameters:
bAllowLocalSmtpSettings- Specifytrueto allow specification of 'local' notification settings. Iffalse, the GCD settings will be used.- Throws:
VWException- Thrown for various causes.- Since:
- CPE 5.2.1.0
-
-