| java.lang.Object com.mvnforum.db.jdbc.PostDAOImplJDBC
PostDAOImplJDBC | public class PostDAOImplJDBC implements PostDAO(Code) | | |
Method Summary | |
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) | 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) | public void | delete(int postID) | public void | delete_inForum(int forumID) | public void | delete_inThread(int threadID) | public void | findByPrimaryKey(int postID) | public Collection | getDisablePosts_inThread_limit(int threadID, int offset, int rowsToReturn) | public Collection | getEnablePosts_inThread_limit(int threadID, int offset, int rowsToReturn) | public PostBean | getFirstPost_inThread(int threadID) | public Collection | getLastEnablePosts_inForum_limit(int forumID, int rowsToReturn) | public Collection | getLastEnablePosts_inThread_limit(int threadID, int rowsToReturn) | public int | getMaxPostID() | public Collection | getMostActiveMembers(Timestamp since, int rowsToReturn) This is a special method. | public Collection | getMostActiveThreads(Timestamp since, int rowsToReturn) | public int | getNumberOfDisablePosts_inForum(int forumID) | public int | getNumberOfDisablePosts_inThread(int threadID) | public int | getNumberOfEnablePosts_inForum(int forumID) | public int | getNumberOfEnablePosts_inThread(int threadID) | public int | getNumberOfPosts() | public int | getNumberOfPosts_inForum(int forumID, boolean enable) | public int | getNumberOfPosts_inMember(int memberID) | public int | getNumberOfPosts_inThread(int threadID, boolean enable) | public PostBean | getPost(int postID) | public Collection | getPosts() | public Collection | getPosts_fromIDRange(int fromID, int toID) | public void | increaseEditCount(int postID) | protected static boolean | isDirty() | protected static void | setDirty(boolean dirty) | public void | update(int postID, String lastEditMemberName, String postTopic, String postBody, Timestamp postLastEditDate, String postLastEditIP, int postFormatOption, int postOption, int postStatus, String postIcon) | public void | update(int postID, int parentPostID, int forumID, int threadID) | public void | updateAttachCount(int postID, int postAttachCount) | public void | updateParentPostID(int oldParentPostID, int newParentPostID) | public void | updateStatus(int postID, int postStatus) | public void | update_ForumID_inThread(int threadID, int forumID) |
PostDAOImplJDBC | public PostDAOImplJDBC()(Code) | | |
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) | | |
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
|
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_inForum | public int getNumberOfPosts_inForum(int forumID, boolean enable) throws DatabaseException(Code) | | |
getNumberOfPosts_inThread | public int getNumberOfPosts_inThread(int threadID, boolean enable) throws DatabaseException(Code) | | |
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) | | |
|
|