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

📄 categorydao.java

📁 新技术论坛系统 v1.0 前后台管理的初始用户名 : admin 密码 123456
💻 JAVA
字号:
package com.ntsky.bbs.dao;

import java.util.List;

import com.ntsky.bbs.domain.Category;
import com.ntsky.bbs.exception.DAOException;
import com.ntsky.bbs.util.page.QueryResult;

/**
 * 主题类别模块数据处理接口
 * 
 * @author ntsky
 * @link www.ntsky.com
 */
public interface CategoryDAO extends BaseDAO{

	/**
	 * 根据论坛编号查找主题类别
	 * 
	 * @param forumId 论坛编号
	 * @return List 主题类别列表
	 */
	public List findCategories ( int forumId ) throws DAOException ;
	
	/**
	 * 根据类别编号查找类别数据
	 * @param catId 类别编号
	 * @return Category 类别对象
	 */	
	public Category findCategory( int catId ) throws DAOException ;
		
	/**
	 * 删除类别
	 * @param catId 类别ID
	 * @throws DAOException
	 */
	public void deleteCategory(int catId) throws DAOException ;
	
	/**
	 * 更改类别所属论坛
	 * 
	 * @param oldForumId 旧的论坛编号
	 * @param newForumId 新的论坛编号
	 * @throws DAOException
	 */
	public void updateCategoryForum( int oldForumId, int newForumId ) throws DAOException ;
	
}

⌨️ 快捷键说明

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