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

📄 bbsinfomanagedaointerface.java

📁 hibernate项目实践
💻 JAVA
字号:
package com.px1987.webbbs.dao;
import java.util.*;

import com.px1987.webbbs.exception.WebBBSException;
public interface BBSInfoManageDAOInterface 
{
	  public boolean deleteOneBBSInfo(int bbsID) throws WebBBSException;

	  public boolean deleteOneRoleInfo(int roleID) throws WebBBSException;

	  public boolean insertBBSInfo(BBSInfoPO oneBBSInfoPO) throws WebBBSException;
	  public boolean insertRoleInfo(RoleInfoPO oneRoleInfoPO) throws WebBBSException;
	  public ArrayList selectBBSInfoByUserID(String userID) throws WebBBSException;

	  public int getBBSInfoTotalCounter() throws WebBBSException;
	  public int getHotBBSInfoTotalCounter(int totalHits) throws WebBBSException;
	  public ArrayList selectSomeBBSInfo(String HQLSelect) throws    WebBBSException;
	  public int getBBSInfoCounterBySendTime(String sendInfoTime) throws WebBBSException;
	  public ArrayList pageSelectDBData(String hqlSelect, int firstResult, int maxResults) throws WebBBSException;
	  public ArrayList selectBBSInfoByBBSTitleID(int bbsTitleID) throws WebBBSException;
	  public ArrayList selectBBSInfoByBBSAuthor(String authorName) throws WebBBSException;
	  public ArrayList selectBBSInfoByBBSTitle(String bbsTitleText) throws WebBBSException;
	  public ArrayList selectBBSInfoByBBSSendInfoTime(String sendInfoTime) throws WebBBSException;
	  
	  public ArrayList selectBBSInfoByBBSHits(int bbsHitsCounte) throws WebBBSException;
	  public ArrayList selectBBSInfoByBBSHits(int firstResult, int maxResults) throws WebBBSException;
	  public ArrayList selectBBSInfoByBBSHits() throws WebBBSException;
	  public ArrayList selectPageBBSInfoByTitleID(int bbsTitleID, int firstResult,int maxResults) throws WebBBSException; 
	  public ArrayList selectPageBBSInfoByLoginUserID(String userID, int firstResult,int maxResults) throws WebBBSException;	
	  public ArrayList selectPageBBSInfoByToday(int firstResult,int maxResults) throws WebBBSException;

	  public BBSInfoPO selectBBSInfoByBBSID(int bbsID) throws WebBBSException;
	  public boolean updateBBSInfo(BBSInfoPO oneUpdatedBBSInfoPO) throws WebBBSException;
	  public boolean updateBBSInfoHitsByBbsID(int bbsID) throws  WebBBSException;
	  public int getTotalBBSInfoCounterByUserID(String userID) throws WebBBSException;
	  public int getBBSTotalCounterInOneBBSTitle(int bbsTitleID) throws WebBBSException;
	  public boolean updateBBSReplyCounterByBBSID(int bbsID) throws WebBBSException;	  

}

⌨️ 快捷键说明

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