Java Doc for DBInetAddr.java in  » Groupware » hipergate » com » knowgate » hipermail » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Groupware » hipergate » com.knowgate.hipermail 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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



Constructor Summary
public  DBInetAddr(String sMsgGUID, int iPart)
    
public  DBInetAddr(String sMsgGUID, String sMsgId, String sTxEMail, String sTxPersonal, String sTpRecipient, String sGuUser, String sGuContact, String sGuCompany)
    

Method Summary
public  booleanequals(Object oOtherAddr)
    
public  StringgetAddress()
    
public  StringgetPersonal()
    
public  StringgetString(String sKey)
    
public  StringgetStringNull(String sKey, String sDefault)
    
public  StringgetType()
    
public static  InternetAddressparseAddress(String sNamePlusEMail)
    
public  booleanstore(JDCConnection oConn)
    
public  StringtoString()
    
public static  booleanwrite(JDCConnection oConn, int iDomainId, String sWorkAreaId, String sGuMimeMsg, String sIdMimeMsg, String sTxEMail, String sTpRecipient, String sTxPersonal)
    
public  booleanwrite(JDCConnection oConn, int iDomainId, String sWorkAreaId)
    


Constructor Detail
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 }




Method Detail
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



getString
public String getString(String sKey)(Code)



getStringNull
public String getStringNull(String sKey, String sDefault)(Code)



getType
public String getType()(Code)
String "rfc822"



parseAddress
public static InternetAddress parseAddress(String sNamePlusEMail) throws AddressException, NullPointerException, UnsupportedEncodingException(Code)
Parse address of the form (Name) , (Name), "Name" , "Name", Name , , user@domain.com
Parameters:
  sNamePlusEMail - String Display name and e-mail address InternetAddress
throws:
  AddressException -
throws:
  NullPointerException -
throws:
  UnsupportedEncodingException -



store
public boolean store(JDCConnection oConn) throws UnsupportedOperationException(Code)
This method is unsupported and will always throw an exception when called
throws:
  UnsupportedOperationException -



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 -



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.