1 package org.kuali.ole.deliver.calendar.service;
2
3 import org.kuali.ole.deliver.calendar.bo.OleCalendar;
4 import org.kuali.ole.deliver.calendar.bo.OleCalendarGroup;
5
6 import java.sql.Timestamp;
7
8
9
10
11
12
13
14
15 public interface OleCalendarService {
16 public OleCalendarGroup getCalendarGroup(String deskId);
17
18 public OleCalendar getActiveCalendar(Timestamp date, String groupId);
19
20 public Timestamp calculateDueDate(String deskId, String timePeriod, Timestamp currentDate);
21
22 public Timestamp calculateDueDateHrs(String deskId, String timePeriod, Timestamp currentDate);
23
24 public Float calculateFine(String deskId, Timestamp dueDate, Timestamp currentDate, String fineAmount);
25
26 public void generalInfoValidation(OleCalendar oleCalendar, boolean isNew);
27
28 public void assignEndDate(OleCalendar oleCalendar);
29
30 public void convert12HrsFormat(OleCalendar oldCalendar);
31
32 public void validateCalendarDocument(OleCalendar oleCalendar);
33
34 public void deleteCalendarDocument(OleCalendar oleCalendar);
35 }