usermanagedaointerface.java

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

JAVA
31
字号
package com.px1987.webbbs.dao;
import java.util.*;
import com.px1987.webbbs.exception.WebBBSException;
public interface UserManageDAOInterface 
{
//	下面的方法是针对UserInfoBasePO类的	
	public ArrayList selectAllBaseUserInfo() throws    WebBBSException;
	public ArrayList selectSomeBaseUserInfo(String HQLSelect) throws    WebBBSException;
	
//下面的方法是针对UserInfoPO类的
	public ArrayList selectAllUserInfo() throws    WebBBSException;
	public ArrayList selectSomeUserInfo(String HQLSelect) throws    WebBBSException;
	public ArrayList selectAllRegisterUserNameInfo(String userName) throws    WebBBSException;
	
	public UserInfoPO selectOneUserInfo(String registerUserID) throws    WebBBSException;
	public UserInfoPO selectOneUserInfoByName(String userName) throws    WebBBSException;
	
	public ArrayList selectUserSomePropertyInfo(String HQLSelect) throws WebBBSException; 
    public UserInfoPO  SelectOneUserInfoData(String userName, String userPassWord) throws WebBBSException;
    
    
	public int selectTotalRegisterUserCounter() throws WebBBSException;
	
	public boolean insertOneUserInfo(UserInfoPO oneRegisterUserInfo) throws WebBBSException;
	public boolean updateOneUserInfo(UserInfoPO oneUpdatedRegisterUserInfo) throws WebBBSException;
	public boolean updateOneUserPassWord(String newPassWord, String registerUserId) throws WebBBSException;
	public boolean deleteOneUserInfo(String registerUserID) throws WebBBSException;
	public boolean  BatchDeleteUserInfo(ArrayList deletedUserIDs) throws WebBBSException;

}

⌨️ 快捷键说明

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