⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 departmentservice.java

📁 动态实现基于角色的权限管理Acegi+hibernate
💻 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 + -