Package org.compiere.model
Class X_AD_SMTP
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_AD_SMTP
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_AD_SMTP
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MSMTP
public class X_AD_SMTP extends PO implements I_AD_SMTP, I_Persistent
Generated Model for AD_SMTP- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, LOCAL_TRX_PREFIX, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
-
Fields inherited from interface org.compiere.model.I_AD_SMTP
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_SMTP_ID, COLUMNNAME_AD_SMTP_UU, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_EMailTest, COLUMNNAME_IsActive, COLUMNNAME_IsSecureSMTP, COLUMNNAME_IsSmtpAuthorization, COLUMNNAME_Name, COLUMNNAME_RequestUser, COLUMNNAME_RequestUserPW, COLUMNNAME_SMTPHost, COLUMNNAME_SMTPPort, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_UsedByEmailOrDomain, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_AD_SMTP(Properties ctx, int AD_SMTP_ID, String trxName)
Standard ConstructorX_AD_SMTP(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
get_AccessLevel()
AccessLevelint
getAD_SMTP_ID()
Get SMTP Server.String
getAD_SMTP_UU()
Get AD_SMTP_UU.String
getEMailTest()
Get EMail Test.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameString
getName()
Get Name.String
getRequestUser()
Get Request User.String
getRequestUserPW()
Get Request User Password.String
getSMTPHost()
Get Mail Host.int
getSMTPPort()
Get SMTP Port.String
getUsedByEmailOrDomain()
Get Used by email or domain.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isSecureSMTP()
Get SMTP SSL/TLS.boolean
isSmtpAuthorization()
Get SMTP Authentication.void
setAD_SMTP_ID(int AD_SMTP_ID)
Set SMTP Server.void
setAD_SMTP_UU(String AD_SMTP_UU)
Set AD_SMTP_UU.void
setEMailTest(String EMailTest)
Set EMail Test.void
setIsSecureSMTP(boolean IsSecureSMTP)
Set SMTP SSL/TLS.void
setIsSmtpAuthorization(boolean IsSmtpAuthorization)
Set SMTP Authentication.void
setName(String Name)
Set Name.void
setRequestUser(String RequestUser)
Set Request User.void
setRequestUserPW(String RequestUserPW)
Set Request User Password.void
setSMTPHost(String SMTPHost)
Set Mail Host.void
setSMTPPort(int SMTPPort)
Set SMTP Port.void
setUsedByEmailOrDomain(String UsedByEmailOrDomain)
Set Used by email or domain.String
toString()
String representation-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock, update_Tree, validForeignKeys
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface org.compiere.model.I_AD_SMTP
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
Methods inherited from interface org.compiere.model.I_Persistent
save
-
-
-
-
Constructor Detail
-
X_AD_SMTP
public X_AD_SMTP(Properties ctx, int AD_SMTP_ID, String trxName)
Standard Constructor
-
X_AD_SMTP
public X_AD_SMTP(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 7 - System - Client - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
setAD_SMTP_ID
public void setAD_SMTP_ID(int AD_SMTP_ID)
Set SMTP Server.- Specified by:
setAD_SMTP_ID
in interfaceI_AD_SMTP
- Parameters:
AD_SMTP_ID
- SMTP Server
-
getAD_SMTP_ID
public int getAD_SMTP_ID()
Get SMTP Server.- Specified by:
getAD_SMTP_ID
in interfaceI_AD_SMTP
- Returns:
- SMTP Server
-
setAD_SMTP_UU
public void setAD_SMTP_UU(String AD_SMTP_UU)
Set AD_SMTP_UU.- Specified by:
setAD_SMTP_UU
in interfaceI_AD_SMTP
- Parameters:
AD_SMTP_UU
- AD_SMTP_UU
-
getAD_SMTP_UU
public String getAD_SMTP_UU()
Get AD_SMTP_UU.- Specified by:
getAD_SMTP_UU
in interfaceI_AD_SMTP
- Returns:
- AD_SMTP_UU
-
setEMailTest
public void setEMailTest(String EMailTest)
Set EMail Test.- Specified by:
setEMailTest
in interfaceI_AD_SMTP
- Parameters:
EMailTest
- Test EMail
-
getEMailTest
public String getEMailTest()
Get EMail Test.- Specified by:
getEMailTest
in interfaceI_AD_SMTP
- Returns:
- Test EMail
-
setIsSecureSMTP
public void setIsSecureSMTP(boolean IsSecureSMTP)
Set SMTP SSL/TLS.- Specified by:
setIsSecureSMTP
in interfaceI_AD_SMTP
- Parameters:
IsSecureSMTP
- Use SSL/TLS for SMTP
-
isSecureSMTP
public boolean isSecureSMTP()
Get SMTP SSL/TLS.- Specified by:
isSecureSMTP
in interfaceI_AD_SMTP
- Returns:
- Use SSL/TLS for SMTP
-
setIsSmtpAuthorization
public void setIsSmtpAuthorization(boolean IsSmtpAuthorization)
Set SMTP Authentication.- Specified by:
setIsSmtpAuthorization
in interfaceI_AD_SMTP
- Parameters:
IsSmtpAuthorization
- Your mail server requires Authentication
-
isSmtpAuthorization
public boolean isSmtpAuthorization()
Get SMTP Authentication.- Specified by:
isSmtpAuthorization
in interfaceI_AD_SMTP
- Returns:
- Your mail server requires Authentication
-
setName
public void setName(String Name)
Set Name.
-
getName
public String getName()
Get Name.
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setRequestUser
public void setRequestUser(String RequestUser)
Set Request User.- Specified by:
setRequestUser
in interfaceI_AD_SMTP
- Parameters:
RequestUser
- User Name (ID) of the email owner
-
getRequestUser
public String getRequestUser()
Get Request User.- Specified by:
getRequestUser
in interfaceI_AD_SMTP
- Returns:
- User Name (ID) of the email owner
-
setRequestUserPW
public void setRequestUserPW(String RequestUserPW)
Set Request User Password.- Specified by:
setRequestUserPW
in interfaceI_AD_SMTP
- Parameters:
RequestUserPW
- Password of the user name (ID) for mail processing
-
getRequestUserPW
public String getRequestUserPW()
Get Request User Password.- Specified by:
getRequestUserPW
in interfaceI_AD_SMTP
- Returns:
- Password of the user name (ID) for mail processing
-
setSMTPHost
public void setSMTPHost(String SMTPHost)
Set Mail Host.- Specified by:
setSMTPHost
in interfaceI_AD_SMTP
- Parameters:
SMTPHost
- Hostname of Mail Server for SMTP and IMAP
-
getSMTPHost
public String getSMTPHost()
Get Mail Host.- Specified by:
getSMTPHost
in interfaceI_AD_SMTP
- Returns:
- Hostname of Mail Server for SMTP and IMAP
-
setSMTPPort
public void setSMTPPort(int SMTPPort)
Set SMTP Port.- Specified by:
setSMTPPort
in interfaceI_AD_SMTP
- Parameters:
SMTPPort
- SMTP Port Number
-
getSMTPPort
public int getSMTPPort()
Get SMTP Port.- Specified by:
getSMTPPort
in interfaceI_AD_SMTP
- Returns:
- SMTP Port Number
-
setUsedByEmailOrDomain
public void setUsedByEmailOrDomain(String UsedByEmailOrDomain)
Set Used by email or domain.- Specified by:
setUsedByEmailOrDomain
in interfaceI_AD_SMTP
- Parameters:
UsedByEmailOrDomain
- Used by email or domain
-
getUsedByEmailOrDomain
public String getUsedByEmailOrDomain()
Get Used by email or domain.- Specified by:
getUsedByEmailOrDomain
in interfaceI_AD_SMTP
- Returns:
- Used by email or domain
-
-