1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.hr.time.department.dao;
17
18 import org.kuali.hr.time.department.Department;
19
20 import java.sql.Date;
21 import java.util.List;
22
23 public interface DepartmentDao {
24 public void saveOrUpdate(Department dept);
25 public Department getDepartment(String department,Date asOfDate);
26 public List<Department> getDepartments(String location, Date asOfDate);
27 public Department getDepartment(String hrDeptId);
28 public List<Department> getDepartmentByLocation(String location);
29 public int getDepartmentCount(String department);
30
31 List<Department> getDepartments(String department, String location, String descr, String active);
32 }