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

📄 inoticecommentdao.java.svn-base

📁 学习dwr+struts2+spring进行开发的好例子
💻 SVN-BASE
字号:
package com.szhelper.lotteryWeb.dao;

import java.util.List;

import com.szhelper.lotteryWeb.model.NoticeComment;
import com.szhelper.lotteryWeb.util.PageBean;

public interface INoticeCommentDao {
	/**
	 * save notice comment to database and then return the NoticeComment.
	 * 
	 * @param dataObject
	 *            be ready for saving NoticeComment
	 * @return boolean
	 */
	boolean save(NoticeComment dataObject);

	/**
	 * delete a piece of noticing comment from database by key id.
	 * 
	 * @param id
	 *            notice comment key.
	 */
	boolean delete(Integer id);

	/**
	 * update notice comment
	 * 
	 * @param dataObject
	 *            be ready for updating NoticeComment
	 */
	boolean update(NoticeComment dataObject);

	/**
	 * retrieve all noticecomment from database.
	 * 
	 * @return list including all record and encapsulated NoticeComment Objects
	 */
	List<NoticeComment> list();

	/**
	 * search noticeComment by key.
	 * 
	 * @param id
	 *            key
	 * @return if finding,return direct; otherwise return null.
	 */
	NoticeComment findByKey(Integer id);
	
	List getPageList(PageBean page);
}

⌨️ 快捷键说明

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