View Javadoc

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   * Created with IntelliJ IDEA.
11   * User: bala.km
12   * Date: 7/2/12
13   * Time: 1:14 PM
14   * To change this template use File | Settings | File Templates.
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  }