employeedao.java

来自「appfuse1.9.4开发的一个简单的人事管理,简单的增删改查,修正了disp」· Java 代码 · 共 39 行

JAVA
39
字号
package org.appfuse.dao;import java.util.List;import org.appfuse.dao.Dao;import org.appfuse.model.Employee;public interface EmployeeDao extends Dao {    /**     * Retrieves all of the employees     */    public List getEmployees(Employee employee);    /**     * Gets employee's information based on primary key. An     * ObjectRetrievalFailureException Runtime Exception is thrown if      * nothing is found.     *      * @param id the employee's id     * @return employee populated employee object     */    public Employee getEmployee(final Long id);    /**     * Saves a employee's information     * @param employee the object to be saved     */        public void saveEmployee(Employee employee);    /**     * Removes a employee from the database by id     * @param id the employee's id     */    public void removeEmployee(final Long id);}

⌨️ 快捷键说明

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