1 package org.kuali.ole.service;
2
3 import org.kuali.ole.patron.bill.PatronBillPayment;
4
5 import java.sql.Timestamp;
6 import java.util.Date;
7 import java.util.List;
8
9
10
11
12
13
14
15
16 public interface OleCirculationPolicyService {
17
18 public boolean isValidBarcode(String patronBarcode);
19 public Date getPatronMembershipExpireDate(String patronBarcode);
20 public int getNoOfItemsLoaned(String patronBarcode,boolean renewalFlag);
21 public Timestamp calculateLoanDueDate(String loanPeriod);
22 public PatronBillPayment getPatronBillPayment(String itemBarcode);
23 public int getNumberOfOverdueItemsCheckedOut(String patronBarcode);
24 public List<Integer> getNumberOfOverdueDays(String itemBarcode);
25 public int getNumberOfClaimsReturned(String patronBarcode);
26 public void checkInItem(String itemBarcode) throws Exception;
27 public Integer getHoursDiff(Date dateOne, Date dateTwo);
28 }