📄 comtdao.java
字号:
package com.yhcms.comt.itface;
import java.util.List;
import com.yhcms.comt.bean.Comment;
import com.yhcms.db.DBConnException;
/**
* <p>Title:系统文章评论的相关操作</p>
* <li>文章评论与数据库相关的各项操作</li>
* <b>CopyRight: yyhweb[由由华网]</b>
* @author stephen
* @version YH-2.0
*/
public interface ComtDao {
/**
* @param comment 文章评论
* @return 成功:ture 失败:false
* @throws DBConnException
*/
public abstract boolean addComt(Comment comment) throws DBConnException;
/**
* @param id 评论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 评论最大Id
* @throws DBConnException
*/
public abstract int getMaxId() throws DBConnException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -