⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 commentservice.java

📁 不说了
💻 JAVA
字号:
package com.david.service;

import java.util.List;

import com.david.bo.Comment;
import com.david.bo.File;
import com.david.dao.ICommentDao;

public class CommentService implements ICommentService {

	private ICommentDao commentDao;
	
	public boolean addComment(Comment comment) {
		// TODO Auto-generated method stub
		return commentDao.addComment(comment);
	}

	public void setCommentDao(ICommentDao commentDao) {
		// TODO Auto-generated method stub
		this.commentDao=commentDao;
	}

	public List<Comment> getCommentList(int start, File file) {
		// TODO Auto-generated method stub
		return commentDao.getCommentList(start, file);
	}

	public int getAllNum(File file) {
		// TODO Auto-generated method stub
		return commentDao.getAllNum(file);
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -