📄 inoticenewsdetailservice.java.svn-base
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -