inoticenewsdetailservice.java

来自「学习dwr+struts2+spring进行开发的好例子」· Java 代码 · 共 75 行

JAVA
75
字号
package com.szhelper.lotteryWeb.service;

import java.util.List;

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

public interface INoticeNewsDetailService {
	/**
	 * Convenience method for testing - allows you to mock the DAO and set it on
	 * an interface.
	 * 
	 * @param noticeNewsDetailDao
	 *            the NoticeGameWinnerDao implementation to use
	 */
	void setNoticeNewsDetailDao(INoticeNewsDetailDao noticeNewsDetailDao);

	/**
	 * Retrieves a NoticeNewsDetail by NoticeNewsDetailId. An exception is thrown if
	 * NoticeNewsDetail not found
	 * 
	 * @param NoticeNewsDetailId
	 *            the identifier for the NoticeNewsDetail
	 * @return NoticeNewsDetail
	 */
	NoticeNewsDetail getNoticeNewsDetailByKey(int noticeNewsDetailId);

	/**
	 * Finds a NoticeNewsDetail by their NoticeNewsDetailname.
	 * 
	 * @param NoticeNewsDetailname
	 *            the NoticeNewsDetail's NoticeNewsDetailname used to login
	 * @return NoticeNewsDetail a populated NoticeNewsDetail object
	 * @throws
	 *         org.acegisecurity.NoticeNewsDetaildetails.NoticeNewsDetailnameNotFoundException
	 *         exception thrown when NoticeNewsDetail not found
	 */
	/*
	 * NoticeNewsDetail getNoticeNewsDetailByNoticeNewsDetailname(String
	 * NoticeNewsDetailname) throws NoticeNewsDetailnameNotFoundException;
	 */
	/**
	 * Retrieves a list of NoticeNewsDetails, filtering with parameters on a
	 * NoticeNewsDetail object
	 * 
	 * @return List
	 */
	List getNoticeNewsDetailList();

	/**
	 * Saves a NoticeNewsDetail's information.
	 * 
	 * @param NoticeNewsDetail
	 *            the NoticeNewsDetail's information
	 * @throws NoticeNewsDetailExistsException
	 *             thrown when NoticeNewsDetail already exists
	 * @return NoticeNewsDetail the updated NoticeNewsDetail object
	 */
	boolean saveNoticeNewsDetail(NoticeNewsDetail noticeNewsDetail);

	boolean updateNoticeNewsDetail(NoticeNewsDetail noticeNewsDetail);

	/**
	 * Deletes a NoticeNewsDetail from the database by their NoticeNewsDetailId
	 * 
	 * @param NoticeNewsDetailId
	 *            the NoticeNewsDetail's id
	 */
	boolean deleteNoticeNewsDetail(int noticeNewsDetailId);
	
	List getNoticeNewsDetailPageList(PageBean page);
	
}

⌨️ 快捷键说明

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