?? comtdao.java
字號(hào):
package com.yhcms.comt.itface;
import java.util.List;
import com.yhcms.comt.bean.Comment;
import com.yhcms.db.DBConnException;
/**
* <p>Title:系統(tǒng)文章評(píng)論的相關(guān)操作</p>
* <li>文章評(píng)論與數(shù)據(jù)庫(kù)相關(guān)的各項(xiàng)操作</li>
* <b>CopyRight: yyhweb[由由華網(wǎng)]</b>
* @author stephen
* @version YH-2.0
*/
public interface ComtDao {
/**
* @param comment 文章評(píng)論
* @return 成功:ture 失敗:false
* @throws DBConnException
*/
public abstract boolean addComt(Comment comment) throws DBConnException;
/**
* @param id 評(píng)論Id
* @return 成功:ture 失敗:false
* @throws DBConnException
*/
public abstract boolean delComt(int id) throws DBConnException;
/**
* @param artId 文章Id
* @return 成功:ture 失敗:false
* @throws DBConnException
*/
public abstract List getAllByArtId(int artId) throws DBConnException;
/**
* @return 評(píng)論最大Id
* @throws DBConnException
*/
public abstract int getMaxId() throws DBConnException;
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -