📄 commentdao.java
字号:
/**
* Copyright ©? 2006 广州乐言信息科技有限公司.
* All right reserved.
* Created at 2006-4-10
*/
package com.hiany.comment.dao;
import java.util.List;
import com.hiany.comment.domain.Comment;
/**
* Comment的DAO对象
*/
public interface CommentDao {
/**
* 保存评论,并同时生成静态的评论结果页面
* @param comment
*/
public void save(Comment comment);
/**
* 删除评论,并同时更新静态的评论结果页面
* @param id
*/
public void delete(long id);
/**
* 按天获取评论对象列表
* @param dayBeforeNow 距离现在的天数,0为当天,余类推
* @return
*/
public List getCommentListBeforeDays(int dayBefore, int dayTo);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -