1 package org.mvnforum.phpbb2mvnforum.db; 2 3 import java.util.Collection ; 4 5 import net.myvietnam.mvncore.exception.DatabaseException; 6 7 public interface PhpbbPrivmMsgsDAO { 8 9 public static String TABLE_NAME = "phpbb_privmsgs"; 10 11 public Collection getBeans() throws DatabaseException; 12 13 public Collection getBeansBySenderID (int senderID) throws DatabaseException ; 14 15 public Collection getBeansByReceiverID (int receiverID) throws DatabaseException; 16 17 public Collection getBeansByType (int privmsgsType, int memberID) throws DatabaseException; 18 19 public Collection getBeansByTypeAndReceiveUser (int privmsgsType, int memberID) throws DatabaseException; 20 21 } 22 | Popular Tags |