1 4 package org.mvnforum.phpbb2mvnforum.db; 5 6 import java.util.Collection ; 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 TABLE_NAME = "phpbb_posts"; 14 15 public int getPosterIDFromPostID(int post_id) throws ObjectNotFoundException, DatabaseException ; 16 17 public Collection getBeans() throws DatabaseException ; 18 19 public Collection getBeansByThreadID(int threadID) throws DatabaseException ; 20 21 public Collection getPostIDsFromTopicID(int topicID) throws DatabaseException; 22 23 public long getPostTimeFromPostID(int last_post_id) throws ObjectNotFoundException, DatabaseException; 24 25 } 26 | Popular Tags |