Java Doc for PostDAOImplJDBC.java in  » Forum » mvnforum-1.1 » com » mvnforum » db » jdbc » 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 » mvnforum 1.1 » com.mvnforum.db.jdbc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.mvnforum.db.jdbc.PostDAOImplJDBC

PostDAOImplJDBC
public class PostDAOImplJDBC implements PostDAO(Code)



Constructor Summary
public  PostDAOImplJDBC()
    

Method Summary
public  voidcreate(int parentPostID, int forumID, int threadID, int memberID, String memberName, String lastEditMemberName, String postTopic, String postBody, Timestamp postCreationDate, Timestamp postLastEditDate, String postCreationIP, String postLastEditIP, int postEditCount, int postFormatOption, int postOption, int postStatus, String postIcon, int postAttachCount)
    
public  intcreatePost(int parentPostID, int forumID, int threadID, int memberID, String memberName, String lastEditMemberName, String postTopic, String postBody, Timestamp postCreationDate, Timestamp postLastEditDate, String postCreationIP, String postLastEditIP, int postEditCount, int postFormatOption, int postOption, int postStatus, String postIcon, int postAttachCount)
    
public  voiddelete(int postID)
    
public  voiddelete_inForum(int forumID)
    
public  voiddelete_inThread(int threadID)
    
public  voidfindByPrimaryKey(int postID)
    
public  CollectiongetDisablePosts_inThread_limit(int threadID, int offset, int rowsToReturn)
    
public  CollectiongetEnablePosts_inThread_limit(int threadID, int offset, int rowsToReturn)
    
public  PostBeangetFirstPost_inThread(int threadID)
    
public  CollectiongetLastEnablePosts_inForum_limit(int forumID, int rowsToReturn)
    
public  CollectiongetLastEnablePosts_inThread_limit(int threadID, int rowsToReturn)
    
public  intgetMaxPostID()
    
public  CollectiongetMostActiveMembers(Timestamp since, int rowsToReturn)
     This is a special method.
public  CollectiongetMostActiveThreads(Timestamp since, int rowsToReturn)
    
public  intgetNumberOfDisablePosts_inForum(int forumID)
    
public  intgetNumberOfDisablePosts_inThread(int threadID)
    
public  intgetNumberOfEnablePosts_inForum(int forumID)
    
public  intgetNumberOfEnablePosts_inThread(int threadID)
    
public  intgetNumberOfPosts()
    
public  intgetNumberOfPosts_inForum(int forumID, boolean enable)
    
public  intgetNumberOfPosts_inMember(int memberID)
    
public  intgetNumberOfPosts_inThread(int threadID, boolean enable)
    
public  PostBeangetPost(int postID)
    
public  CollectiongetPosts()
    
public  CollectiongetPosts_fromIDRange(int fromID, int toID)
    
public  voidincreaseEditCount(int postID)
    
protected static  booleanisDirty()
    
protected static  voidsetDirty(boolean dirty)
    
public  voidupdate(int postID, String lastEditMemberName, String postTopic, String postBody, Timestamp postLastEditDate, String postLastEditIP, int postFormatOption, int postOption, int postStatus, String postIcon)
    
public  voidupdate(int postID, int parentPostID, int forumID, int threadID)
    
public  voidupdateAttachCount(int postID, int postAttachCount)
    
public  voidupdateParentPostID(int oldParentPostID, int newParentPostID)
    
public  voidupdateStatus(int postID, int postStatus)
    
public  voidupdate_ForumID_inThread(int threadID, int forumID)
    


Constructor Detail
PostDAOImplJDBC
public PostDAOImplJDBC()(Code)




Method Detail
create
public void create(int parentPostID, int forumID, int threadID, int memberID, String memberName, String lastEditMemberName, String postTopic, String postBody, Timestamp postCreationDate, Timestamp postLastEditDate, String postCreationIP, String postLastEditIP, int postEditCount, int postFormatOption, int postOption, int postStatus, String postIcon, int postAttachCount) throws CreateException, DatabaseException, ForeignKeyNotFoundException(Code)



createPost
public int createPost(int parentPostID, int forumID, int threadID, int memberID, String memberName, String lastEditMemberName, String postTopic, String postBody, Timestamp postCreationDate, Timestamp postLastEditDate, String postCreationIP, String postLastEditIP, int postEditCount, int postFormatOption, int postOption, int postStatus, String postIcon, int postAttachCount) throws CreateException, DatabaseException, ForeignKeyNotFoundException(Code)



delete
public void delete(int postID) throws DatabaseException, ObjectNotFoundException(Code)



delete_inForum
public void delete_inForum(int forumID) throws DatabaseException(Code)



delete_inThread
public void delete_inThread(int threadID) throws DatabaseException(Code)



findByPrimaryKey
public void findByPrimaryKey(int postID) throws ObjectNotFoundException, DatabaseException(Code)



getDisablePosts_inThread_limit
public Collection getDisablePosts_inThread_limit(int threadID, int offset, int rowsToReturn) throws IllegalArgumentException, DatabaseException(Code)



getEnablePosts_inThread_limit
public Collection getEnablePosts_inThread_limit(int threadID, int offset, int rowsToReturn) throws IllegalArgumentException, DatabaseException(Code)



getFirstPost_inThread
public PostBean getFirstPost_inThread(int threadID) throws ObjectNotFoundException, DatabaseException(Code)



getLastEnablePosts_inForum_limit
public Collection getLastEnablePosts_inForum_limit(int forumID, int rowsToReturn) throws IllegalArgumentException, DatabaseException(Code)



getLastEnablePosts_inThread_limit
public Collection getLastEnablePosts_inThread_limit(int threadID, int rowsToReturn) throws IllegalArgumentException, DatabaseException(Code)



getMaxPostID
public int getMaxPostID() throws DatabaseException(Code)



getMostActiveMembers
public Collection getMostActiveMembers(Timestamp since, int rowsToReturn) throws DatabaseException(Code)
This is a special method. This method return a collection of ActiveMember instead of a collection of PostBean



getMostActiveThreads
public Collection getMostActiveThreads(Timestamp since, int rowsToReturn) throws DatabaseException(Code)



getNumberOfDisablePosts_inForum
public int getNumberOfDisablePosts_inForum(int forumID) throws DatabaseException(Code)



getNumberOfDisablePosts_inThread
public int getNumberOfDisablePosts_inThread(int threadID) throws DatabaseException(Code)



getNumberOfEnablePosts_inForum
public int getNumberOfEnablePosts_inForum(int forumID) throws DatabaseException(Code)



getNumberOfEnablePosts_inThread
public int getNumberOfEnablePosts_inThread(int threadID) throws DatabaseException(Code)



getNumberOfPosts
public int getNumberOfPosts() throws DatabaseException(Code)



getNumberOfPosts_inForum
public int getNumberOfPosts_inForum(int forumID, boolean enable) throws DatabaseException(Code)



getNumberOfPosts_inMember
public int getNumberOfPosts_inMember(int memberID) throws DatabaseException(Code)



getNumberOfPosts_inThread
public int getNumberOfPosts_inThread(int threadID, boolean enable) throws DatabaseException(Code)



getPost
public PostBean getPost(int postID) throws ObjectNotFoundException, DatabaseException(Code)



getPosts
public Collection getPosts() throws DatabaseException(Code)



getPosts_fromIDRange
public Collection getPosts_fromIDRange(int fromID, int toID) throws IllegalArgumentException, DatabaseException(Code)



increaseEditCount
public void increaseEditCount(int postID) throws DatabaseException, ObjectNotFoundException(Code)
This method should be call only when we can make sure that postID is in database



isDirty
protected static boolean isDirty()(Code)



setDirty
protected static void setDirty(boolean dirty)(Code)



update
public void update(int postID, String lastEditMemberName, String postTopic, String postBody, Timestamp postLastEditDate, String postLastEditIP, int postFormatOption, int postOption, int postStatus, String postIcon) throws ObjectNotFoundException, DatabaseException, ForeignKeyNotFoundException(Code)



update
public void update(int postID, int parentPostID, int forumID, int threadID) throws ObjectNotFoundException, DatabaseException, ForeignKeyNotFoundException(Code)



updateAttachCount
public void updateAttachCount(int postID, int postAttachCount) throws ObjectNotFoundException, DatabaseException(Code)



updateParentPostID
public void updateParentPostID(int oldParentPostID, int newParentPostID) throws ObjectNotFoundException, DatabaseException(Code)



updateStatus
public void updateStatus(int postID, int postStatus) throws ObjectNotFoundException, DatabaseException(Code)



update_ForumID_inThread
public void update_ForumID_inThread(int threadID, int forumID) throws DatabaseException, ForeignKeyNotFoundException(Code)



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.