KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mvnforum > phpbb2mvnforum > db > PhpbbPostDAO


1 /**
2  *
3  */

4 package org.mvnforum.phpbb2mvnforum.db;
5
6 import java.util.Collection JavaDoc;
7
8 import net.myvietnam.mvncore.exception.DatabaseException;
9 import net.myvietnam.mvncore.exception.ObjectNotFoundException;
10
11 public interface PhpbbPostDAO {
12     
13     public static final String JavaDoc TABLE_NAME = "phpbb_posts";
14     
15     public int getPosterIDFromPostID(int post_id) throws ObjectNotFoundException, DatabaseException ;
16     
17     public Collection JavaDoc getBeans() throws DatabaseException ;
18     
19     public Collection JavaDoc getBeansByThreadID(int threadID) throws DatabaseException ;
20     
21     public Collection JavaDoc getPostIDsFromTopicID(int topicID) throws DatabaseException;
22
23     public long getPostTimeFromPostID(int last_post_id) throws ObjectNotFoundException, DatabaseException;
24
25 }
26
Popular Tags