📄 departmentservice.java
字号:
package sample.service;
import java.util.List;
import java.util.Set;
import sample.BaseException;
import sample.mappings.department.Department;
import sample.mappings.department.OrganizationType;
public interface DepartmentService {
public List getAllDepartment();
public Department getDepartmentById(String id);
public Set getDepartmentByParentDepartmentId(String id);
public void deleteDepartmentById(String id)throws BaseException;
public void deleteDepartment(Department dept)throws BaseException;
public void createDepartment(Department dept) throws BaseException;
public void updateDepartment(Department dept) throws BaseException;
public Department getDepartmentByName(String name);
public List getDepartmentsByOrgTypeId(String id);
public List getDepartmentsByOrgType(OrganizationType org);
public void createOrganizationrType(OrganizationType org) throws BaseException;
public void deleteOrganizationrType(OrganizationType org) throws BaseException;
public void updateOrganizationrType(OrganizationType org) throws BaseException;
public OrganizationType getOrganizationTypeById(String id);
public List getAllOrganizationType();
public OrganizationType getOrganizationTypeByName(String name);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -