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

📄 userdao.java

📁 本书由浅入深、循序渐进地介绍了MVC的体系结构和如何构建一个基于MVC的Web框架
💻 JAVA
字号:
package com.myContent.dao;

import java.sql.SQLException;
import java.util.List;

import com.myContent.vo.User;

public interface UserDAO {
	/**
	 * 根据Object实现新增
	 * @param user
	 * @throws SQLException
	 */
    public abstract int createUser(User user) throws SQLException;
    /**
     * 根据Object实现修改
     * @param user
     * @throws SQLException
     */
	public abstract int updateUser(User user) throws SQLException;
	/**
	 * 根据Object实现删除
	 * @param user
	 * @throws SQLException
	 */
	public abstract int deleteUser(User user) throws SQLException;
	/**
	 * 根据username查询Object
	 * @param username
	 * @return
	 * @throws SQLException
	 */
    public abstract User queryUser(String username) throws SQLException;
    /**
	 * 根据Object实现批量新增
	 * @param user
	 * @throws SQLException
	 */
    public abstract int createListUser(List list) throws SQLException;
    /**
	 * 根据Object实现批量新增
	 * @param user
	 * @throws SQLException
	 */
    public abstract int[] createBatchListUser(List list) throws SQLException;
}

⌨️ 快捷键说明

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