inoticegamewinnerservice.java.svn-base

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

SVN-BASE
74
字号
package com.szhelper.lotteryWeb.service;

import java.util.List;

import com.szhelper.lotteryWeb.dao.INoticeGameWinnerDao;
import com.szhelper.lotteryWeb.model.NoticeGameWinner;
import com.szhelper.lotteryWeb.util.PageBean;

public interface INoticeGameWinnerService {
	/**
	 * Convenience method for testing - allows you to mock the DAO and set it on
	 * an interface.
	 * 
	 * @param noticeGameWinnerDao
	 *            the NoticeGameWinnerDao implementation to use
	 */
	void setNoticeGameWinnerDao(INoticeGameWinnerDao noticeGameWinnerDao);

	/**
	 * Retrieves a NoticeGameWinner by NoticeGameWinnerId. An exception is thrown if
	 * NoticeGameWinner not found
	 * 
	 * @param NoticeGameWinnerId
	 *            the identifier for the NoticeGameWinner
	 * @return NoticeGameWinner
	 */
	NoticeGameWinner getNoticeGameWinnerByKey(int noticeGameWinnerId);

	/**
	 * Finds a NoticeGameWinner by their NoticeGameWinnername.
	 * 
	 * @param NoticeGameWinnername
	 *            the NoticeGameWinner's NoticeGameWinnername used to login
	 * @return NoticeGameWinner a populated NoticeGameWinner object
	 * @throws
	 *         org.acegisecurity.NoticeGameWinnerdetails.NoticeGameWinnernameNotFoundException
	 *         exception thrown when NoticeGameWinner not found
	 */
	/*
	 * NoticeGameWinner getNoticeGameWinnerByNoticeGameWinnername(String
	 * NoticeGameWinnername) throws NoticeGameWinnernameNotFoundException;
	 */
	/**
	 * Retrieves a list of NoticeGameWinners, filtering with parameters on a
	 * NoticeGameWinner object
	 * 
	 * @return List
	 */
	List getNoticeGameWinnerList();

	/**
	 * Saves a NoticeGameWinner's information.
	 * 
	 * @param NoticeGameWinner
	 *            the NoticeGameWinner's information
	 * @throws NoticeGameWinnerExistsException
	 *             thrown when NoticeGameWinner already exists
	 * @return NoticeGameWinner the updated NoticeGameWinner object
	 */
	boolean saveNoticeGameWinner(NoticeGameWinner noticeGameWinner);

	boolean updateNoticeGameWinner(NoticeGameWinner noticeGameWinner);

	/**
	 * Deletes a NoticeGameWinner from the database by their NoticeGameWinnerId
	 * 
	 * @param NoticeGameWinnerId
	 *            the NoticeGameWinner's id
	 */
	boolean deleteNoticeGameWinner(int noticeGameWinnerId);
	
	List getNoticeGameWinnerPageList(PageBean page);
}

⌨️ 快捷键说明

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