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

📄 bbspropdao.java

📁 目前系统具有功能如下: 用户注册 修改信息 自定义图像 用户升级 锁定用户 用户发帖 论坛好友 论坛版主 用户列表 建立用户组 用户等级定义 在线用户查看 论坛财富分配 用
💻 JAVA
字号:
package com.yhbbs.bbs.itface.dao;

import java.sql.SQLException;

import com.yhbbs.bbs.itface.BbsProp;
import com.yhbbs.bbs.itface.Parameter;

/**
 * <p>Title:系统属性数据存取模块Interface</p>
 * <li> 系统属性数据存取模块<br>
 * <br><b>WebSite: www.yyhweb.com</b>
 * <br><b>CopyRight: yyhweb[由由华网]</b>
 * @author stephen
 * @version YHBBS-2.0
 */
public interface BbsPropDao {
	
	/** 取得系统属性
	 * @return BbsProp 系统属性
	 * @throws SQLException
	 */
	public abstract BbsProp getSysProp() throws SQLException;
	
	/** 取得系统不允许注册的用户
	 * @param i 0:用户 1:mail 2:ip 3:regip
	 * @return String 不允许注册或登录的字符串
	 * @throws SQLException
	 */
	public abstract String getForbid(int i) throws SQLException;
	
	/** 取得系统参数设置
	 * @return Parameter 系统参数
	 * @throws SQLException
	 */
	public abstract Parameter getParameter() throws SQLException;
	
	// 后台使用
	
	/** 更新系统属性
	 * @param bbsprop 系统属性
	 * @return true:成功 false:失败
	 * @throws SQLException
	 */
	public abstract boolean updateSysProp(BbsProp bbsprop) throws SQLException;
	
	/** 更新系统不允许注册的用户、e_mail或IP
	 * @param i 0:用户 1:mail 2:ip 3:regip
	 * @param content
	 * @return true:成功 false:失败
	 * @throws SQLException
	 */
	public abstract boolean updateForbid(int i,String content) throws SQLException;
	
	/** 更新系统参数设置
	 * @param parameter 系统参数
	 * @return true:成功 false:失败
	 * @throws SQLException
	 */
	public abstract boolean updateParameter(Parameter parameter) throws SQLException;
	
}

⌨️ 快捷键说明

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