📄 employeedao.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -