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

📄 inoticenewsdetaildao.java

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

import java.util.List;

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

public interface INoticeNewsDetailDao {
	/**
	 * save notice comment to database and then return the NoticeNewsDetail.
	 * 
	 * @param dataObject
	 *            be ready for saving NoticeNewsDetail
	 * @return boolean
	 */
	boolean save(NoticeNewsDetail 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 NoticeNewsDetail
	 */
	boolean update(NoticeNewsDetail dataObject);

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

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

⌨️ 快捷键说明

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