| com.knowgate.hipermail.DBInetAddr
DBInetAddr | public class DBInetAddr extends InternetAddress (Code) | | Internet Address register from k_inet_addrs
author: Sergio Montoro Ten version: 2.1 |
Method Summary | |
public boolean | equals(Object oOtherAddr) | public String | getAddress() | public String | getPersonal() | public String | getString(String sKey) | public String | getStringNull(String sKey, String sDefault) | public String | getType() | public static InternetAddress | parseAddress(String sNamePlusEMail) | public boolean | store(JDCConnection oConn) | public String | toString() | public static boolean | write(JDCConnection oConn, int iDomainId, String sWorkAreaId, String sGuMimeMsg, String sIdMimeMsg, String sTxEMail, String sTpRecipient, String sTxPersonal) | public boolean | write(JDCConnection oConn, int iDomainId, String sWorkAreaId) |
DBInetAddr | public DBInetAddr(String sMsgGUID, int iPart)(Code) | | |
DBInetAddr | public DBInetAddr(String sMsgGUID, String sMsgId, String sTxEMail, String sTxPersonal, String sTpRecipient, String sGuUser, String sGuContact, String sGuCompany) throws NullPointerException, IllegalArgumentException(Code) | | Constructor
Parameters: sMsgGUID - Message GUID Parameters: sMsgId - Mime Message Identifier Parameters: sTxEMail - Mail address Parameters: sTxPersonal - Address displyed name Parameters: sTpRecipient - Recipient type { from, to, cc, bcc } case sensitive Parameters: sGuUser - GUID of User which tx_main_email is the same as this address Parameters: sGuContact - GUID of Contact which tx_main_email is the same as this address Parameters: sGuCompany - GUID of Copany which tx_main_email is the same as this address throws: NullPointerException - If sMsgGUID or sMsgId or sTxEMail or sTpRecipient is null. throws: IllegalArgumentException - If sTpRecipient is not one of { from, to, cc, bcc } |
equals | public boolean equals(Object oOtherAddr) throws ClassCastException(Code) | | Two addresses are equal if they hold the same e-mail
Parameters: oOtherAddr - DBInetAddr boolean true if e-mail of this is equal to e-mail of oOtherAddr (case insensitive comparison) throws: ClassCastException - if oOtherAddr is not of type DBInetAddr |
getAddress | public String getAddress()(Code) | | Get e-mail address
String |
getPersonal | public String getPersonal()(Code) | | Get display (personal) name
String |
toString | public String toString()(Code) | | Get Display name concatenated with e-mail into angles
String "Personal Name " |
write | public static boolean write(JDCConnection oConn, int iDomainId, String sWorkAreaId, String sGuMimeMsg, String sIdMimeMsg, String sTxEMail, String sTpRecipient, String sTxPersonal) throws SQLException(Code) | | Write address resolving e-mails to contact and company GUIDs
This method writes to k_inet_addr table but it first lookup the given e-mail
at table k_member_address and fills gu_contact and gu_company fields of
k_inet_addr if there is a contact or company at the specified workarea that
has that e-mail
Parameters: oConn - JDCConnection Parameters: iDomainId - int Domain Identifier Parameters: sWorkAreaId - String WorkArea GUID (search for matches will be restricted to this WorkArea) Parameters: sGuMimeMsg - String Message GUID Parameters: sIdMimeMsg - String Message Identifier Parameters: sTxEMail - String e-mail Parameters: sTpRecipient - String One of {to, cc, bcc} Parameters: sTxPersonal - String Display Name boolean true throws: SQLException - |
write | public boolean write(JDCConnection oConn, int iDomainId, String sWorkAreaId) throws SQLException(Code) | | Forward call to static method DBInetAddr.write()
Parameters: oConn - JDCConnection Parameters: iDomainId - int Domain Identifier Parameters: sWorkAreaId - String WorkArea GUID (search for matches will be restricted to this WorkArea) boolean true throws: SQLException - |
|
|