1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.kpme.core.department.dao;
17
18 import java.util.List;
19
20 import org.joda.time.LocalDate;
21 import org.kuali.kpme.core.api.department.Department;
22 import org.kuali.kpme.core.department.DepartmentBo;
23
24 public interface DepartmentDao {
25 public void saveOrUpdate(DepartmentBo dept);
26 public DepartmentBo getDepartment(String department, String groupKeyCode, LocalDate asOfDate);
27 public List<DepartmentBo> getDepartments(LocalDate asOfDate);
28 public DepartmentBo getDepartment(String hrDeptId);
29 public int getDepartmentCount(String department, String groupKeyCode);
30 public List<DepartmentBo> getDepartments(String groupKeyCode, String department, LocalDate asOfDate);
31
32 public List<DepartmentBo> getDepartmentsWithGroupKeys(List<String> groupKeyCodes, LocalDate asOfDate);
33
34 List<DepartmentBo> getDepartmentsWithDepartmentAndGroupKeys(String department, List<String> groupKeyCodes, LocalDate asOfDate);
35
36
37 }