📄 inoticecommentservice.java.svn-base
字号:
package com.szhelper.lotteryWeb.service;
import java.util.List;
import com.szhelper.lotteryWeb.dao.INoticeCommentDao;
import com.szhelper.lotteryWeb.exception.NoticeCommentExistsException;
import com.szhelper.lotteryWeb.model.NoticeComment;
import com.szhelper.lotteryWeb.util.PageBean;
/**
* Business Service Interface to handle communication between web and
* persistence layer.
*
*/
public interface INoticeCommentService {
/**
* Convenience method for testing - allows you to mock the DAO and set it on an interface.
* @param noticeCommentDao the NoticeCommentDao implementation to use
*/
void setNoticeCommentDao(INoticeCommentDao noticeCommentDao);
/**
* Retrieves a NoticeComment by NoticeCommentId. An exception is thrown if NoticeComment not found
*
* @param NoticeCommentId the identifier for the NoticeComment
* @return NoticeComment
*/
NoticeComment getNoticeCommentByKey(int NoticeCommentId);
/**
* Finds a NoticeComment by their NoticeCommentname.
* @param NoticeCommentname the NoticeComment's NoticeCommentname used to login
* @return NoticeComment a populated NoticeComment object
* @throws org.acegisecurity.NoticeCommentdetails.NoticeCommentnameNotFoundException
* exception thrown when NoticeComment not found
*//*
NoticeComment getNoticeCommentByNoticeCommentname(String NoticeCommentname) throws NoticeCommentnameNotFoundException;
*/
/**
* Retrieves a list of NoticeComments, filtering with parameters on a NoticeComment object
* @return List
*/
List getNoticeCommentList();
/**
* Saves a NoticeComment's information.
*
* @param NoticeComment the NoticeComment's information
* @throws NoticeCommentExistsException thrown when NoticeComment already exists
* @return NoticeComment the updated NoticeComment object
*/
boolean saveNoticeComment(NoticeComment NoticeComment) throws NoticeCommentExistsException;
boolean updateNoticeComment(NoticeComment NoticeComment) throws NoticeCommentExistsException;
/**
* Deletes a NoticeComment from the database by their noticeCommentId
*
* @param noticeCommentId the NoticeComment's id
*/
boolean deleteNoticeComment(int noticeCommentId);
List getNoticeCommentPageList(PageBean page);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -