View Javadoc
1   package org.kuali.ole.service;
2   
3   import org.kuali.ole.deliver.bo.OleLoanDocument;
4   import org.kuali.ole.deliver.bo.FeeType;
5   import org.kuali.ole.deliver.bo.PatronBillPayment;
6   import org.kuali.ole.deliver.bo.OlePatronDocument;
7   
8   import java.sql.Timestamp;
9   import java.util.Date;
10  import java.util.HashMap;
11  import java.util.List;
12  
13  /**
14   * Created with IntelliJ IDEA.
15   * User: bala.km
16   * Date: 7/2/12
17   * Time: 1:14 PM
18   * To change this template use File | Settings | File Templates.
19   */
20  public interface OleCirculationPolicyService {
21  
22      public boolean isValidBarcode(String barcode, String pattern);
23      public Date getPatronMembershipExpireDate(String patronBarcode);
24      public int getNoOfItemsLoaned(String patronBarcode, boolean renewalFlag);
25      public Timestamp calculateLoanDueDate(String loanPeriod);
26      public  List<FeeType>  getPatronBillPayment(String patronId);
27      public HashMap getNumberOfOverdueItemsCheckedOut(String patronId);
28      public List<Integer> getNumberOfOverdueDays(String patronId);
29      public int getNumberOfClaimsReturned(String patronBarcode);
30      public Integer getHoursDiff(Date dateOne, Date dateTwo);
31      public List<OlePatronDocument> isProxyPatron(String patronId) throws Exception;
32      public boolean isAddressVerified(String patronId) throws Exception;
33      public HashMap getRecalledOverdueItemsCheckedOut(List<OleLoanDocument> oleLoanDocuments);
34      public List<OlePatronDocument> isProxyPatron(OlePatronDocument olePatronDocument) throws Exception;
35      public boolean isAddressVerified(OlePatronDocument olePatronDocument,String patronId) throws Exception;
36  }