?? messageiado.java
字號:
package iado;
import java.sql.Date;
import java.sql.SQLException;
import java.util.Collection;
/**
* @author lixiaoqing
*
*/
public interface MessageIAdo {
/**
* @param messageID
* @return
*/
public Collection selectMessageByID(int messageID) throws SQLException;
public Collection selectMessageByGoodID(int goodID) throws SQLException;
/**
* @return
*/
public Collection selectMessages() throws SQLException;
/**
* @param title
* @param content
* @param datetime
* @param userID
*/
public void addMessage(String title,String content,Date datetime,int userID) throws SQLException;
/**
* @param messageID
*/
public void deleteMessageByID(int messageID) throws SQLException;
/**
* @throws SQLException
*/
public void close() throws SQLException;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -