1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.hr.time.workflow.dao;
17
18 import org.kuali.hr.time.workflow.TimesheetDocumentHeader;
19
20 import java.util.Date;
21 import java.util.List;
22
23 public interface TimesheetDocumentHeaderDao {
24
25 public void saveOrUpdate(TimesheetDocumentHeader documentHeader);
26
27 public TimesheetDocumentHeader getTimesheetDocumentHeader(String documentId);
28
29 public TimesheetDocumentHeader getTimesheetDocumentHeader(String principalId, Date PayBeginDate, Date payEndDate);
30
31 public TimesheetDocumentHeader getPreviousDocumentHeader(String principalId, Date payBegindate);
32
33 public TimesheetDocumentHeader getNextDocumentHeader(String principalId, Date payEndDate);
34
35 public List<TimesheetDocumentHeader> getDocumentHeaders(Date payBeginDate);
36
37 public List<TimesheetDocumentHeader> getDocumentHeaders(Date payBeginDate, Date payEndDate);
38
39 public void deleteTimesheetHeader(String documentId);
40
41 public List<TimesheetDocumentHeader> getDocumentHeadersForPrincipalId(String principalId);
42
43 public List<TimesheetDocumentHeader> getDocumentHeadersForYear(String principalId, String year);
44
45 public TimesheetDocumentHeader getDocumentHeaderForDate(String principalId, Date asOfDate);
46 }