⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 inoticenewscategoryservice.java.svn-base

📁 学习dwr+struts2+spring进行开发的好例子
💻 SVN-BASE
字号:
package com.szhelper.lotteryWeb.service;

import java.util.List;

import com.szhelper.lotteryWeb.dao.INoticeNewsCategoryDao;
import com.szhelper.lotteryWeb.model.NoticeNewsCategory;
import com.szhelper.lotteryWeb.util.PageBean;

public interface INoticeNewsCategoryService {
	/**
	 * Convenience method for testing - allows you to mock the DAO and set it on
	 * an interface.
	 * 
	 * @param noticeNewsCategoryDao
	 *            the NoticeGameWinnerDao implementation to use
	 */
	void setNoticeNewsCategoryDao(INoticeNewsCategoryDao noticeNewsCategoryDao);

	/**
	 * Retrieves a NoticeNewsCategory by NoticeNewsCategoryId. An exception is thrown if
	 * NoticeNewsCategory not found
	 * 
	 * @param NoticeNewsCategoryId
	 *            the identifier for the NoticeNewsCategory
	 * @return NoticeNewsCategory
	 */
	NoticeNewsCategory getNoticeNewsCategoryByKey(int noticeNewsCategoryId);

	/**
	 * Finds a NoticeNewsCategory by their NoticeNewsCategoryname.
	 * 
	 * @param NoticeNewsCategoryname
	 *            the NoticeNewsCategory's NoticeNewsCategoryname used to login
	 * @return NoticeNewsCategory a populated NoticeNewsCategory object
	 * @throws
	 *         org.acegisecurity.NoticeNewsCategorydetails.NoticeNewsCategorynameNotFoundException
	 *         exception thrown when NoticeNewsCategory not found
	 */
	/*
	 * NoticeNewsCategory getNoticeNewsCategoryByNoticeNewsCategoryname(String
	 * NoticeNewsCategoryname) throws NoticeNewsCategorynameNotFoundException;
	 */
	/**
	 * Retrieves a list of NoticeNewsCategorys, filtering with parameters on a
	 * NoticeNewsCategory object
	 * 
	 * @return List
	 */
	List getNoticeNewsCategoryList();

	/**
	 * Saves a NoticeNewsCategory's information.
	 * 
	 * @param NoticeNewsCategory
	 *            the NoticeNewsCategory's information
	 * @throws NoticeNewsCategoryExistsException
	 *             thrown when NoticeNewsCategory already exists
	 * @return NoticeNewsCategory the updated NoticeNewsCategory object
	 */
	boolean saveNoticeNewsCategory(NoticeNewsCategory noticeNewsCategory);

	boolean updateNoticeNewsCategory(NoticeNewsCategory noticeNewsCategory);

	/**
	 * Deletes a NoticeNewsCategory from the database by their NoticeNewsCategoryId
	 * 
	 * @param NoticeNewsCategoryId
	 *            the NoticeNewsCategory's id
	 */
	boolean deleteNoticeNewsCategory(int noticeNewsCategoryId);
	
	List getNoticeNewsCategoryPageList(PageBean page);
}

⌨️ 快捷键说明

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