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

📄 wealthdao.java

📁 一个不错的bbs论坛系统.对初学者很有帮助
💻 JAVA
字号:
package com.yhbbs.bbs.itface.dao;

import java.sql.SQLException;
import com.yhbbs.bbs.itface.Wealth;
import com.yhbbs.bbs.itface.WealthDto;

/**
 * <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 WealthDao {
	
	/** 取得系统给登录用户分配的财富
	 * @return WealthDto 系统财富Dto
	 * @throws SQLException
	 */
	public abstract WealthDto getLoginWth() throws SQLException;
	
	/** 取得系统给注册用户分配的财富
	 * @return WealthDto 系统财富Dto
	 * @throws SQLException
	 */
	public abstract WealthDto getRegWealth() throws SQLException;
	
	/** 取得系统给发表帖子用户分配的财富
	 * @return Wealth 系统财富Dto
	 * @throws SQLException
	 */
	public abstract WealthDto getPostArtWth() throws SQLException;
	
	/** 取得系统给回复帖子用户分配的财富
	 * @return Wealth 系统财富Dto
	 * @throws SQLException
	 */
	public abstract WealthDto getRepArtWth() throws SQLException;
	
	/** 取得系统给删除帖子用户分配的财富
	 * @return Wealth 系统财富Dto
	 * @throws SQLException
	 */
	public abstract WealthDto getDelArtWth() throws SQLException;
	
	/** 取得系统给帖子加精分配的财富
	 * @return Wealth 系统财富Dto
	 * @throws SQLException
	 */
	public abstract WealthDto getArtEliteWth() throws SQLException;
	
	
	/** 取得系统财富
	 * @return Wealth 系统所有财富
	 * @throws SQLException
	 */
	public abstract Wealth getWealth() throws SQLException;
	
	/** 更新系统财富
	 * @param wealth 系统所有财富
	 * @return true:成功 false:失败
	 * @throws SQLException
	 */
	public abstract boolean updateWealth(Wealth wealth) throws SQLException;
	
}

⌨️ 快捷键说明

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