1 / 50
文档名称:

基于J2EE Struts框架的课程设计实训项目《BBS论坛系统》针对项目中用户信息的数据访问组件及单元测试.doc

格式:doc   大小:458KB   页数:50页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

基于J2EE Struts框架的课程设计实训项目《BBS论坛系统》针对项目中用户信息的数据访问组件及单元测试.doc

上传人:zxwziyou9 2018/6/26 文件大小:458 KB

下载得到文件列表

基于J2EE Struts框架的课程设计实训项目《BBS论坛系统》针对项目中用户信息的数据访问组件及单元测试.doc

相关文档

文档介绍

文档介绍:基于J2EE Struts框架的课程设计实训项目——《BBS论坛系统》——针对项目中用户信息的数据访问组件及单元测试
提供与用户信息相关的DAO组件
1、提供UserManageDAOInterface接口
(1)接口名称为UserManageDAOInterface,.
(2)设计该接口
.;
import ;
import ;
.;
.;
public interface UserManageDAOInterface {
// 下面的方法是针对UserInfoBasePO类的
public ArrayList<UserInfoBasePO> selectAllBaseUserInfo() throws WebBBSException;
public ArrayList<UserInfoBasePO> selectSomeBaseUserInfo(String HQLSelect) throws WebBBSException;
//下面的方法是针对UserInfoPO类的
public ArrayList<UserInfoPO> selectAllUserInfo() throws WebBBSException;
public ArrayList<UserInfoPO> selectSomeUserInfo(String HQLSelect) throws WebBBSException;
public ArrayList<String> selectAllRegisterUserNameInfo(String userName) throws WebBBSException;
public UserInfoPO doGetMaxIDUserInfo() throws WebBBSException;
public UserInfoPO selectOneUserInfo(String registerUserID) throws WebBBSException;
public UserInfoPO selectOneUserInfoByName(String userName) throws WebBBSException;
public ArrayList<UserInfoPO> selectOnePageUserInfo(String HQLSelect, int firstResult,int maxResults) throws WebBBSException;
public ArrayList<Object[]> selectUserSomePropertyInfo(String HQLSelect) throws WebBBSException;
public ArrayList<UserInfoPO> selectSomeRegisterUserInfo(Map registerUserInfos) throws WebBBSException;
public ArrayList<UserInfoPO> selectOnePageRegisterUserInfo(PageStateVO_Prototype onePageStateVO_Prototype,Map registerUserInfos) throws WebBBSException;
public ArrayList<UserInfoPO> selectOnePageVIPUserInfo(PageStateVO_Prototype onePageStateVO_Prototype,Map vipUserInfos) throws WebBBSException;
public ArrayList<UserInfoPO> selectOnePageAllUserInfo(PageStateVO_Prototype onePageStateVO_Prototype) throws WebBBSException;
public ArrayList<UserInfoPO> selectSomeVIPUserInfo(Map vipUserInfos) throws WebBBSException;
public UserInfoPO selectOneUserInfoD