Java Doc for DataAccessDriver.java in  » Forum » JForum-2.1.8 » net » jforum » dao » 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 » Forum » JForum 2.1.8 » net.jforum.dao 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.jforum.dao.DataAccessDriver

All known Subclasses:   net.jforum.dao.generic.GenericDataAccessDriver,
DataAccessDriver
abstract public class DataAccessDriver (Code)
The class that every driver class must implement. JForum implementation provides a simple and extremely configurable way to use diferent database engines without any modification to the core source code.
For example, if you want to use the Database "XYZ" as backend, all you need to do is to implement DataAccessDriver, all *Model classes and a specific file with the SQL queries.
The default implementation was written to support MySQL, so if you want a base code to analise, look at net.jforum.drivers.generic package.
author:
   Rafael Steil
version:
   $Id: DataAccessDriver.java,v 1.20 2007/07/28 20:07:18 rafaelsteil Exp $



Constructor Summary
protected  DataAccessDriver()
    

Method Summary
public static  DataAccessDrivergetInstance()
     Gets a driver implementation instance.
public static  voidinit(DataAccessDriver implementation)
     Starts the engine. This method should be called when the system is starting.
abstract public  ApiDAOnewApiDAO()
     Gets a net.jforum.dao.ApiDAO instance.
abstract public  AttachmentDAOnewAttachmentDAO()
    
abstract public  BanlistDAOnewBanlistDAO()
    
abstract public  BannerDAOnewBannerDAO()
     Gets an net.jforum.dao.BannerDAO instance.
abstract public  BookmarkDAOnewBookmarkDAO()
    
abstract public  CategoryDAOnewCategoryDAO()
     Gets an net.jforum.dao.CategoryDAO instance.
abstract public  ConfigDAOnewConfigDAO()
    
abstract public  ForumDAOnewForumDAO()
     Gets a net.jforum.dao.ForumDAO instance.
abstract public  GroupDAOnewGroupDAO()
    
abstract public  GroupSecurityDAOnewGroupSecurityDAO()
    
abstract public  KarmaDAOnewKarmaDAO()
    
abstract public  LuceneDAOnewLuceneDAO()
    
abstract public  MailIntegrationDAOnewMailIntegrationDAO()
     Gets a net.jforum.dao.MailIntegrationDAO instance.
abstract public  ModerationDAOnewModerationDAO()
    
abstract public  ModerationLogDAOnewModerationLogDAO()
    
abstract public  PollDAOnewPollDAO()
     Gets a net.jforum.dao.PollDAO instance.
abstract public  PostDAOnewPostDAO()
     Gets a net.jforum.dao.PostDAO instance.
abstract public  PrivateMessageDAOnewPrivateMessageDAO()
    
abstract public  RankingDAOnewRankingDAO()
     Gets a net.jforum.dao.RankingDAO instance.
abstract public  SmilieDAOnewSmilieDAO()
    
abstract public  SummaryDAOnewSummaryDAO()
     Gets an net.jforum.dao.SummaryDAO instance.
abstract public  TopicDAOnewTopicDAO()
     Gets a net.jforum.dao.TopicDAO instance.
abstract public  TreeGroupDAOnewTreeGroupDAO()
    
abstract public  UserDAOnewUserDAO()
     Gets an net.jforum.dao.UserDAO instance.
abstract public  UserSessionDAOnewUserSessionDAO()
    


Constructor Detail
DataAccessDriver
protected DataAccessDriver()(Code)




Method Detail
getInstance
public static DataAccessDriver getInstance()(Code)
Gets a driver implementation instance. You MUST use this method when you want a instance of a valid DataAccessDriver. Never access the driver implementation directly. DataAccessDriver instance



init
public static void init(DataAccessDriver implementation)(Code)
Starts the engine. This method should be called when the system is starting.
Parameters:
  implementation - The dao.driver implementation



newApiDAO
abstract public ApiDAO newApiDAO()(Code)
Gets a net.jforum.dao.ApiDAO instance. net.jforum.dao.ApiDAO instance.



newAttachmentDAO
abstract public AttachmentDAO newAttachmentDAO()(Code)
Gets a net.jforum.dao.AttachmentDAO instance link net.jforum.model.AttachmentModel instance



newBanlistDAO
abstract public BanlistDAO newBanlistDAO()(Code)



newBannerDAO
abstract public BannerDAO newBannerDAO()(Code)
Gets an net.jforum.dao.BannerDAO instance. net.jforum.dao.BannerDAO instance.



newBookmarkDAO
abstract public BookmarkDAO newBookmarkDAO()(Code)
Gets a net.jforum.dao.BookmarkDAO instance link net.jforum.model.BookmarkModel instance



newCategoryDAO
abstract public CategoryDAO newCategoryDAO()(Code)
Gets an net.jforum.dao.CategoryDAO instance. net.jforum.model.CategoryModel instance.



newConfigDAO
abstract public ConfigDAO newConfigDAO()(Code)
Gets a net.jforum.dao.ConfigDAO instance link net.jforum.model.ConfigModel instance



newForumDAO
abstract public ForumDAO newForumDAO()(Code)
Gets a net.jforum.dao.ForumDAO instance. net.jforum.model.ForumModel instance



newGroupDAO
abstract public GroupDAO newGroupDAO()(Code)
Gets a net.jforum.dao.GroupDAO instance net.jforum.model.GroupModel instance.



newGroupSecurityDAO
abstract public GroupSecurityDAO newGroupSecurityDAO()(Code)
Gets a net.jforum.dao.GroupSecurityDAO instance net.jforum.model.security.GroupSecurityModel instance



newKarmaDAO
abstract public KarmaDAO newKarmaDAO()(Code)
Gets a net.jforum.dao.KarmaDAO instance link net.jforum.model.KarmaModel instance



newLuceneDAO
abstract public LuceneDAO newLuceneDAO()(Code)



newMailIntegrationDAO
abstract public MailIntegrationDAO newMailIntegrationDAO()(Code)
Gets a net.jforum.dao.MailIntegrationDAO instance. net.jforum.dao.MailIntegrationDAO instance.



newModerationDAO
abstract public ModerationDAO newModerationDAO()(Code)
Gets a net.jforum.dao.ModerationDAO instance link net.jforum.model.ModerationModel instance



newModerationLogDAO
abstract public ModerationLogDAO newModerationLogDAO()(Code)



newPollDAO
abstract public PollDAO newPollDAO()(Code)
Gets a net.jforum.dao.PollDAO instance. net.jforum.model.PollModel instance.



newPostDAO
abstract public PostDAO newPostDAO()(Code)
Gets a net.jforum.dao.PostDAO instance. net.jforum.model.PostModel instance.



newPrivateMessageDAO
abstract public PrivateMessageDAO newPrivateMessageDAO()(Code)
Gets a net.jforum.dao.PrivateMessageDAO instance link net.jforum.model.security.PrivateMessageModel instance



newRankingDAO
abstract public RankingDAO newRankingDAO()(Code)
Gets a net.jforum.dao.RankingDAO instance. net.jforum.model.RankingModel instance



newSmilieDAO
abstract public SmilieDAO newSmilieDAO()(Code)
Gets a net.jforum.dao.SmilieDAO instance net.jforum.model.SmilieModel instance.



newSummaryDAO
abstract public SummaryDAO newSummaryDAO()(Code)
Gets an net.jforum.dao.SummaryDAO instance. net.jforum.dao.SummaryDAO instance.



newTopicDAO
abstract public TopicDAO newTopicDAO()(Code)
Gets a net.jforum.dao.TopicDAO instance. net.jforum.model.TopicModel instance.



newTreeGroupDAO
abstract public TreeGroupDAO newTreeGroupDAO()(Code)
Gets an net.jforum.dao.TreeGroupDAO instance net.jforum.model.TreeGroupModel instance.



newUserDAO
abstract public UserDAO newUserDAO()(Code)
Gets an net.jforum.dao.UserDAO instance. net.jforum.model.UserModel instance.



newUserSessionDAO
abstract public UserSessionDAO newUserSessionDAO()(Code)
Gets a net.jforum.dao.UserSessionDAO instance link net.jforum.model.UserSessionModel instance



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.