Java Doc for JwmaContactsImpl.java in  » Web-Mail » Jwma » dtw » webmail » model » 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 » Web Mail » Jwma » dtw.webmail.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


dtw.webmail.model.JwmaContactsImpl

All known Subclasses:   dtw.webmail.plugin.std.CastorContacts,
JwmaContactsImpl
public interface JwmaContactsImpl extends JwmaContacts(Code)
Interface for JwmaContacts implementations. This is the interface any specialized implementation has to expose internal to controllers and models.
author:
   Dieter Wimberger
version:
   0.9.7 07/02/2003




Method Summary
public  voidaddContact(JwmaContactImpl contact)
     Adds a JwmaContactImpl instance to this contact database.
public  voidaddContactCategory(String category)
     Adds a contact category to the cached list of categories.
public  voidaddContactGroup(JwmaContactGroupImpl group)
     Adds a JwmaContactGroupImpl instance to this contact database.
public  voidaddFrequentRecipient(JwmaContactImpl contact)
     Adds a frequent recipient JwmaContactImpl instance to this contact database.
public  booleancontainsContact(String uid)
     Tests if this JwmaContactsImpl contains a contact with the given unique identifier.
Parameters:
  uid - a unique identifier of a contact.
public  booleancontainsContactGroup(String uid)
     Tests if this JwmaContactsImpl contains a contact group with the given unique identifier.
Parameters:
  uid - a unique identifier of a contact group.
public  booleancontainsContactGroupName(String name)
     Tests if this JwmaContactsImpl contains a contact group with the given name.
Parameters:
  name - the name for a contact group.
public  booleancontainsContactWithNickname(String nick)
     Tests if the contact database contains a contact with the given nickname.
Parameters:
  nick - the nickname as String.
public  JwmaContactImplcreateContact()
     Creates and returns a new JwmaContactImpl.
public  JwmaContactGroupImplcreateContactGroup(String name)
     Creates a new JwmaContactGroupImpl with the given name.
Parameters:
  name - the name of the new group as String.
public  booleanexistsContactCategory(String category)
     Tests if a given category exists in this JwmaContactsImpl.
Parameters:
  category - a category to be looked up.
public  StringgetCategoryFilter()
     Returns the name of the category which is not filtered at the moment.
public  JwmaContactgetContactByNickname(String nick)
     Returns contact with given nickname.
Parameters:
  nick - the nickname as String.
public  ContactFiltergetContactFilter()
     Returns the arbitrary contact filter, which is set for filtering contacts on listing.
public  JwmaContactGroupgetContactGroupByName(String name)
     Returns an JwmaContactGroupByName representing the contact group with the given name.

If the contact database does not contain any contact group with the given name, it returns null.

public  IteratorgetLastnameStarts()
     Returns an iterator of non-duplicate strings with the first characters of the lastnames of all contacts in this contact database.
public  voidremoveContact(JwmaContactImpl contact)
     Removes a JwmaContactImpl instance from this contact database.
public  voidremoveContactGroup(JwmaContactGroupImpl group)
     Removes a JwmaContactGroupImpl instance from this contact database.
public  voidremoveFrequentRecipient(JwmaContactImpl contact)
     Removes a frequent recipient JwmaContactImpl instance from this contact database.
public  voidsetCategoryFilter(String category)
     Sets a category based contact filter, which will be filtering contacts which are not of the given category on listing. Note that this filter is independent from the arbitrary set filter, filtering proceeds additive (i.e.
public  voidsetContactFilter(ContactFilter filter)
     Sets an arbitrary contact filter, which will be filtering contacts on listing. Note that this filter is independent from the category filter, filtering proceeds additive (i.e.



Method Detail
addContact
public void addContact(JwmaContactImpl contact)(Code)
Adds a JwmaContactImpl instance to this contact database.
Parameters:
  contact - the JwmaContactImpl to be added.



addContactCategory
public void addContactCategory(String category)(Code)
Adds a contact category to the cached list of categories.

If the category already exists, the method returns immediately.
Parameters:
  category - the category as String.




addContactGroup
public void addContactGroup(JwmaContactGroupImpl group)(Code)
Adds a JwmaContactGroupImpl instance to this contact database.
Parameters:
  contact - the JwmaContactGroupImpl to be added.



addFrequentRecipient
public void addFrequentRecipient(JwmaContactImpl contact)(Code)
Adds a frequent recipient JwmaContactImpl instance to this contact database.
Parameters:
  contact - the frequent recipient JwmaContactImplto be added.



containsContact
public boolean containsContact(String uid)(Code)
Tests if this JwmaContactsImpl contains a contact with the given unique identifier.
Parameters:
  uid - a unique identifier of a contact. true if contained, false otherwise.



containsContactGroup
public boolean containsContactGroup(String uid)(Code)
Tests if this JwmaContactsImpl contains a contact group with the given unique identifier.
Parameters:
  uid - a unique identifier of a contact group. true if contained, false otherwise.



containsContactGroupName
public boolean containsContactGroupName(String name)(Code)
Tests if this JwmaContactsImpl contains a contact group with the given name.
Parameters:
  name - the name for a contact group. true if contained, false otherwise.



containsContactWithNickname
public boolean containsContactWithNickname(String nick)(Code)
Tests if the contact database contains a contact with the given nickname.
Parameters:
  nick - the nickname as String. true if contained, false otherwise.



createContact
public JwmaContactImpl createContact()(Code)
Creates and returns a new JwmaContactImpl. the newly created JwmaContactImpl instance.



createContactGroup
public JwmaContactGroupImpl createContactGroup(String name) throws JwmaException(Code)
Creates a new JwmaContactGroupImpl with the given name.
Parameters:
  name - the name of the new group as String. the newly created JwmaContactGroupImpl instance.
throws:
  JwmaException - if a group with the same name exists already.



existsContactCategory
public boolean existsContactCategory(String category)(Code)
Tests if a given category exists in this JwmaContactsImpl.
Parameters:
  category - a category to be looked up. true if the category exists, false otherwise.



getCategoryFilter
public String getCategoryFilter()(Code)
Returns the name of the category which is not filtered at the moment. the category name which is not filtered as String.



getContactByNickname
public JwmaContact getContactByNickname(String nick)(Code)
Returns contact with given nickname.
Parameters:
  nick - the nickname as String. the contact.



getContactFilter
public ContactFilter getContactFilter()(Code)
Returns the arbitrary contact filter, which is set for filtering contacts on listing. the contact filter instance.



getContactGroupByName
public JwmaContactGroup getContactGroupByName(String name)(Code)
Returns an JwmaContactGroupByName representing the contact group with the given name.

If the contact database does not contain any contact group with the given name, it returns null. Otherwise it returns the associated contact group. the contact group associated with the given name,or null.




getLastnameStarts
public Iterator getLastnameStarts()(Code)
Returns an iterator of non-duplicate strings with the first characters of the lastnames of all contacts in this contact database.



removeContact
public void removeContact(JwmaContactImpl contact)(Code)
Removes a JwmaContactImpl instance from this contact database.
Parameters:
  contact - the JwmaContactImpl to be removed.



removeContactGroup
public void removeContactGroup(JwmaContactGroupImpl group)(Code)
Removes a JwmaContactGroupImpl instance from this contact database.
Parameters:
  contact - the JwmaContactGroupImpl to be removed.



removeFrequentRecipient
public void removeFrequentRecipient(JwmaContactImpl contact)(Code)
Removes a frequent recipient JwmaContactImpl instance from this contact database.
Parameters:
  contact - the frequent recipient JwmaContactImplto be removed.



setCategoryFilter
public void setCategoryFilter(String category)(Code)
Sets a category based contact filter, which will be filtering contacts which are not of the given category on listing. Note that this filter is independent from the arbitrary set filter, filtering proceeds additive (i.e. a contact has to pass both, AND).
Parameters:
  category - the category which should be listed .



setContactFilter
public void setContactFilter(ContactFilter filter)(Code)
Sets an arbitrary contact filter, which will be filtering contacts on listing. Note that this filter is independent from the category filter, filtering proceeds additive (i.e. a contact has to pass both, AND).
Parameters:
  filter - an arbitrary ContactFilter.



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