1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.hr.time.timeblock.dao;
17
18 import org.kuali.hr.time.assignment.Assignment;
19 import org.kuali.hr.time.timeblock.TimeBlock;
20
21 import java.sql.Date;
22 import java.util.List;
23
24 public interface TimeBlockDao {
25
26 public void saveOrUpdate(TimeBlock timeBlock);
27
28 public void saveOrUpdate(List<TimeBlock> timeBlockList);
29
30 public void deleteTimeBlock(TimeBlock timeBlock);
31
32 public TimeBlock getTimeBlock(String timeBlockId);
33
34 public List<TimeBlock> getTimeBlocks(String documentId);
35
36 public List<TimeBlock> getTimeBlocksForAssignment(Assignment assign);
37
38 public void deleteTimeBlocksAssociatedWithDocumentId(String documentId);
39
40
41
42
43
44
45 public List<TimeBlock> getTimeBlocksForClockLogEndId(String tkClockLogId);
46
47
48
49
50
51 public List<TimeBlock> getTimeBlocksForClockLogBeginId(String tkClockLogId);
52
53 public List<TimeBlock> getLatestEndTimestampForEarnCode(String earnCode);
54
55 List<TimeBlock> getOvernightTimeBlocks(String clockLogEndId);
56
57 public List<TimeBlock> getTimeBlocksWithEarnCode(String earnCode, Date effDate);
58 }