employeedao.java

来自「这是一本描述JDBC数据库的书籍」· Java 代码 · 共 53 行

JAVA
53
字号
/* * EmployeeDAO.java * * Created on June 10, 2005, 2:26 PM * * To change this template, choose Tools | Options and locate the template under * the Source Creation and Management node. Right-click the template and choose * Open. You can then make changes to the template in the Source Editor. */package ch02.manager;import ch02.pojo.*;import java.util.*;/** * * @author kevin */public interface EmployeeDAO {    /**     *create a new employee     *@param employee - the new employee that was created     */    public void addEmployee(IEmployee employee);    /**     *query a employee     *@param employeeID - the worker id of employee that was queryed     */    public IEmployee getEmployee(String employeeID);    /**     *update a employee     *@param employee - needed updating     */    public void updateEmployee(IEmployee employee);    /**     *delete a employee     *@param employeeID - the work ID of employee that was deleted     */    public void deleteEmployee(String employeeID);    /**     *load all employees     */    public List loadEmployee();}

⌨️ 快捷键说明

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