inoticegameresultdao.java.svn-base

来自「学习dwr+struts2+spring进行开发的好例子」· SVN-BASE 代码 · 共 52 行

SVN-BASE
52
字号
package com.szhelper.lotteryWeb.dao;

import java.util.List;

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

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

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

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

⌨️ 快捷键说明

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