View Javadoc
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   import org.kuali.ole.deliver.util.ItemFineRate;
6   
7   import java.sql.Timestamp;
8   
9   /**
10   * Created with IntelliJ IDEA.
11   * User: arjuns
12   * Date: 7/27/13
13   * Time: 5:40 PM
14   * To change this template use File | Settings | File Templates.
15   */
16  public interface OleCalendarService {
17      public OleCalendarGroup getCalendarGroup(String deskId);
18  
19      public OleCalendar getActiveCalendar(Timestamp date, String groupId);
20  
21      public Timestamp calculateDueDate(String deskId, String timePeriod, Timestamp currentDate);
22  
23      public Timestamp calculateDueDateHrs(String deskId, String timePeriod, Timestamp currentDate);
24  
25      public Float calculateFine(String deskId, Timestamp dueDate, Timestamp currentDate, String fineAmount);
26  
27      public void generalInfoValidation(OleCalendar oleCalendar, boolean isNew);
28  
29      public void assignEndDate(OleCalendar oleCalendar);
30  
31      public void convert12HrsFormat(OleCalendar oldCalendar);
32  
33      public void validateCalendarDocument(OleCalendar oleCalendar);
34  
35      public void deleteCalendarDocument(OleCalendar oleCalendar);
36  
37      public Double calculateOverdueFine(String groupId, Timestamp dueDate, Timestamp checkInDate, ItemFineRate itemFineRate);
38  }