package bdqn.newsManageServlet.Service;
import java.util.List;
import bdqn.newsManageServlet.Dao.commentDao;
import bdqn.newsManageServlet.Dao.Impl.commentDaoImpl;
import bdqn.newsManageServlet.entity.comment;
/**
* 新闻评论的业务逻辑层
* @author Administrator
*
*/
public interface commentService {
commentDao cDao=new commentDaoImpl();
//根据新闻的id删除评论
public int delComment(int newsid);
//分页查询评论信息(根据新闻的id)
public List<comment>getCommentPage(int pagesize,int pageindex,int newsid);
//查询总记录数(根据新闻id)
public int getPageCount(int newsid);
}