Java Doc for AbstractFolder.java in  » Mail-Clients » columba-1.4 » org » columba » addressbook » folder » 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 » Mail Clients » columba 1.4 » org.columba.addressbook.folder 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.columba.addressbook.folder.AddressbookTreeNode
   org.columba.addressbook.folder.AbstractFolder

All known Subclasses:   org.columba.addressbook.folder.virtual.VirtualFolder,  org.columba.addressbook.folder.LocalFolder,  org.columba.addressbook.folder.GroupFolder,
AbstractFolder
abstract public class AbstractFolder extends AddressbookTreeNode implements IContactStorage,IContactFolder(Code)
Abstract base class for every contact folder.
author:
   fdietz


Field Summary
protected  EventListenerListlistenerList
    
protected  intnextMessageUid
    

Constructor Summary
public  AbstractFolder(String name, String dir)
    
public  AbstractFolder(FolderItem item)
    

Method Summary
public  Stringadd(IContactModel contact)
    
public  String[]add(IContactModel[] contacts)
    
public  voidaddFolderListener(FolderListener l)
     Adds a listener.
public  intcount()
    
public  voidcreateChildren(IWorkerStatusController worker)
    
public  booleanexists(String uid)
    
public  StringfindByEmailAddress(String emailAddress)
    
public  StringfindByName(String name)
    
protected  voidfireItemAdded(String uid)
     Propagates an event to all registered listeners notifying them of a item addition.
protected  voidfireItemChanged(String uid)
     Propagates an event to all registered listeners notifying them of a item change.
protected  voidfireItemRemoved(String uid)
     Propagates an event to all registered listeners notifying them of a item removal.
abstract public  IContactModelget(String uid)
    
public  Map<String, IContactModelPartial>getContactItemMap()
    
public  Map<String, IContactModelPartial>getContactItemMap(String[] ids)
    
public  FilegetDirectoryFile()
    
public  List<IContactModelPartial>getHeaderItemList()
    
public  intgetNextMessageUid()
    
public  voidload()
    
public  voidmodify(String uid, IContactModel contact)
    
public  voidremove(String uid)
    
public  voidremoveFolderListener(FolderListener l)
     Removes a previously registered listener.
public  voidsave()
    
public  voidsetNextMessageUid(int messageUid)
    

Field Detail
listenerList
protected EventListenerList listenerList(Code)



nextMessageUid
protected int nextMessageUid(Code)




Constructor Detail
AbstractFolder
public AbstractFolder(String name, String dir)(Code)



AbstractFolder
public AbstractFolder(FolderItem item)(Code)




Method Detail
add
public String add(IContactModel contact) throws StoreException(Code)

See Also:   org.columba.addressbook.folder.IContactStorage.add(IContactModel)



add
public String[] add(IContactModel[] contacts) throws StoreException(Code)

See Also:   org.columba.addressbook.folder.IContactStorage.add(IContactModel[])



addFolderListener
public void addFolderListener(FolderListener l)(Code)
Adds a listener.



count
public int count() throws StoreException(Code)

See Also:   org.columba.addressbook.folder.IContactStorage.count



createChildren
public void createChildren(IWorkerStatusController worker)(Code)



exists
public boolean exists(String uid) throws StoreException(Code)

See Also:   org.columba.addressbook.folder.IContactStorage.exists(java.lang.Object)



findByEmailAddress
public String findByEmailAddress(String emailAddress) throws StoreException(Code)

See Also:   org.columba.addressbook.folder.IContactStorage.findByEmailAddress(java.lang.String)



findByName
public String findByName(String name) throws StoreException(Code)

See Also:   org.columba.addressbook.folder.IContactStorage.findByName(java.lang.String)



fireItemAdded
protected void fireItemAdded(String uid)(Code)
Propagates an event to all registered listeners notifying them of a item addition.



fireItemChanged
protected void fireItemChanged(String uid)(Code)
Propagates an event to all registered listeners notifying them of a item change.



fireItemRemoved
protected void fireItemRemoved(String uid)(Code)
Propagates an event to all registered listeners notifying them of a item removal.



get
abstract public IContactModel get(String uid) throws StoreException(Code)

See Also:   org.columba.addressbook.folder.IContactStorage.get(java.lang.Object)



getContactItemMap
public Map<String, IContactModelPartial> getContactItemMap() throws StoreException(Code)

See Also:   org.columba.addressbook.folder.IContactStorage.getHeaderItemList



getContactItemMap
public Map<String, IContactModelPartial> getContactItemMap(String[] ids) throws StoreException(Code)

See Also:   org.columba.addressbook.folder.IContactFolder.getContactItemMap(java.lang.String[])



getDirectoryFile
public File getDirectoryFile()(Code)
Returns folder where we save everything name of folder is usually the UID-number folder where we save everything name of folder is usually the UID-number



getHeaderItemList
public List<IContactModelPartial> getHeaderItemList() throws StoreException(Code)

See Also:   org.columba.addressbook.folder.IContactFolder.getHeaderItemList



getNextMessageUid
public int getNextMessageUid()(Code)
Returns the messageUid.



load
public void load() throws StoreException(Code)
load header-cache (HeaderItemList)



modify
public void modify(String uid, IContactModel contact) throws StoreException(Code)

See Also:   org.columba.addressbook.folder.IContactStorage.modify(java.lang.ObjectIContactModel)



remove
public void remove(String uid) throws StoreException(Code)

See Also:   org.columba.addressbook.folder.IContactStorage.remove(java.lang.Object)



removeFolderListener
public void removeFolderListener(FolderListener l)(Code)
Removes a previously registered listener.



save
public void save() throws StoreException(Code)
save header-cache (HeaderItemList)



setNextMessageUid
public void setNextMessageUid(int messageUid)(Code)

Parameters:
  messageUid - The messageUid to set.



Fields inherited from org.columba.addressbook.folder.AddressbookTreeNode
protected ImageIcon collapsedIcon(Code)(Java Doc)
final protected static ImageIcon expandedIcon(Code)(Java Doc)
protected Lock myLock(Code)(Java Doc)
protected FolderItem node(Code)(Java Doc)

Methods inherited from org.columba.addressbook.folder.AddressbookTreeNode
public void addFolder(String name, Class childClass) throws Exception(Code)(Java Doc)
public void addFolder(String name) throws Exception(Code)(Java Doc)
public void addWithXml(AddressbookTreeNode folder)(Code)(Java Doc)
abstract public void createChildren(IWorkerStatusController worker)(Code)(Java Doc)
public static Object generateNextFolderUid()(Code)(Java Doc)
final public Hashtable getAttributes()(Code)(Java Doc)
public Class getDefaultChild()(Code)(Java Doc)
final public static FolderItem getDefaultItem(String className, XmlElement props)(Code)(Java Doc)
public static XmlElement getDefaultProperties()(Code)(Java Doc)
public ImageIcon getExpandedIcon()(Code)(Java Doc)
public FolderItem getFolderItem()(Code)(Java Doc)
public ImageIcon getIcon()(Code)(Java Doc)
public String getId()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public static int getNextFolderUid()(Code)(Java Doc)
public XmlElement getNode()(Code)(Java Doc)
public void releaseLock()(Code)(Java Doc)
public void removeFromParent()(Code)(Java Doc)
public void setName(String newName)(Code)(Java Doc)
public static void setNextFolderUid(int uid)(Code)(Java Doc)
public void setNode(FolderItem node)(Code)(Java Doc)
public boolean tryToGetLock()(Code)(Java Doc)

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