1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.kpme.core.block.dao;
17
18 import java.sql.SQLException;
19 import java.util.List;
20
21 import org.joda.time.DateTime;
22 import org.joda.time.LocalDate;
23 import org.kuali.kpme.core.api.assignment.Assignment;
24 import org.kuali.kpme.core.block.CalendarBlock;
25
26 public interface CalendarBlockDao {
27
28 public List<CalendarBlock> getAllCalendarBlocks();
29
30 public List<CalendarBlock> getActiveCalendarBlocksForDate(LocalDate asOfDate);
31
32 public DateTime getLatestEndTimestampForEarnCode(String earnCode, String calendarBlockType);
33
34 public DateTime getLatestEndTimestampForAssignment(Assignment assignment,String calendarBlockType);
35 }