1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.kpme.core.task.dao;
17
18
19 import java.util.List;
20
21 import org.joda.time.LocalDate;
22 import org.kuali.kpme.core.task.TaskBo;
23
24 public interface TaskDao {
25 public TaskBo getTask(String tkTaskId);
26 public TaskBo getTask(Long task, LocalDate asOfDate);
27
28 public void saveOrUpdate(TaskBo task);
29 public void saveOrUpdate(List<TaskBo> tasks);
30 public TaskBo getMaxTask(Long workArea);
31
32 List<TaskBo> getTasks(Long task, String description, Long workArea, LocalDate fromEffdt, LocalDate toEffdt);
33 public int getTaskCount(Long task);
34 }