bbsinfomanagedaointerface.java

来自「hibernate项目实践」· Java 代码 · 共 40 行

JAVA
40
字号
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 + =
减小字号Ctrl + -
显示快捷键?