iuserinfordao.java
来自「当下流行的struts2的一个简单应用」· Java 代码 · 共 46 行
JAVA
46 行
package com.jack.user.dao;
import com.jack.user.pojo.UserInfor;
/**
* A data access object (DAO) providing persistence and search support for
* UserInfor entities. Transaction control of the save(), update() and delete()
* operations can directly support Spring container-managed transactions or they
* can be augmented to handle user-managed Spring transactions. Each of these
* methods provides additional information for how to configure it for the
* desired type of transaction control.
*
* @see com.jack.user.pojo.UserInfor
* @author 张云杰
*/
public interface IUserInforDAO {
/**
* 保存用户基本信息
*
* @param userInfor
* 用户基本信息的对象
* @throws RuntimeException
*/
public void saveUserInformation(UserInfor userInfor)
throws RuntimeException;
/**
* 更新用户信息
*
* @param userInfor用户基本信息对象
* @throws RuntimeException
*/
public void updateUserInformation(UserInfor userInfor)
throws RuntimeException;
/**
* 通过用户基本信息ID得到用户基本信息
*
* @param id
* 用户基本信息对应的ID
* @return 得到用户基本信息的对象
* @throws RuntimeException
*/
public UserInfor findUserInformationById(String id) throws RuntimeException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?