📄 departmentservice.java
字号:
/*
* DepartmentService.java
*
* Created on 2006年5月18日, 下午6:06
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package enova.service;
import java.util.List;
import enova.pojo.*;
/**
*
* @author vlinux
*/
public interface DepartmentService {
/*通过Id获取学院*/
public Department get(Integer departmentId) throws StoreException;
/*获取全部学院*/
public List getAll() throws StoreException;
/*更新或者创建一个学院,如果学院名称出现重复则抛出重复异常*/
public void updateOrCreate(Department department) throws UniqueException, StoreException;
/*通过Id删除学院*/
public void delete(Integer departmentId) throws NotExistException, StoreException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -