public class OleCirculationPolicyServiceImpl extends Object implements OleCirculationPolicyService
Constructor and Description |
---|
OleCirculationPolicyServiceImpl() |
Modifier and Type | Method and Description |
---|---|
Timestamp |
calculateLoanDueDate(String loanPeriod)
This method returns loan due date using loan period.
|
Integer |
getHoursDiff(Date dateOne,
Date dateTwo) |
HashMap |
getLoanedKeyMap(String patronId,
boolean renewalFlag) |
int |
getNoOfItemsLoaned(String olePatronId,
boolean renewalFlag)
This method returns number of items loaned for a particular patron id.
|
int |
getNumberOfClaimsReturned(String patronId) |
List<Integer> |
getNumberOfOverdueDays(String patronId) |
HashMap |
getNumberOfOverdueItemsCheckedOut(String patronId) |
List<FeeType> |
getPatronBillPayment(String patronId) |
Date |
getPatronMembershipExpireDate(String patronBarcode)
This method returns MembershipExpireDate using patronBarcode.
|
HashMap |
getRecalledOverdueItemsCheckedOut(List<OleLoanDocument> oleLoanDocuments) |
String |
getTimeDiff(Date dateOne,
Date dateTwo) |
boolean |
isAddressVerified(OlePatronDocument olePatronDocument,
String patronId) |
boolean |
isAddressVerified(String patronId) |
List<OlePatronDocument> |
isProxyPatron(OlePatronDocument olePatronDocument) |
List<OlePatronDocument> |
isProxyPatron(String partonId) |
boolean |
isValidBarcode(String barcode,
String pattern)
This method checks valid barcode using barcode.
|
void |
setLoanProcessor(LoanProcessor loanProcessor) |
public OleCirculationPolicyServiceImpl()
public void setLoanProcessor(LoanProcessor loanProcessor)
public boolean isValidBarcode(String barcode, String pattern)
isValidBarcode
in interface OleCirculationPolicyService
barcode
- public Date getPatronMembershipExpireDate(String patronBarcode)
getPatronMembershipExpireDate
in interface OleCirculationPolicyService
patronBarcode
- public int getNoOfItemsLoaned(String olePatronId, boolean renewalFlag)
getNoOfItemsLoaned
in interface OleCirculationPolicyService
olePatronId
- public Timestamp calculateLoanDueDate(String loanPeriod)
calculateLoanDueDate
in interface OleCirculationPolicyService
loanPeriod
- public List<FeeType> getPatronBillPayment(String patronId)
getPatronBillPayment
in interface OleCirculationPolicyService
public HashMap getNumberOfOverdueItemsCheckedOut(String patronId)
getNumberOfOverdueItemsCheckedOut
in interface OleCirculationPolicyService
public HashMap getRecalledOverdueItemsCheckedOut(List<OleLoanDocument> oleLoanDocuments)
getRecalledOverdueItemsCheckedOut
in interface OleCirculationPolicyService
public List<Integer> getNumberOfOverdueDays(String patronId)
getNumberOfOverdueDays
in interface OleCirculationPolicyService
public String getTimeDiff(Date dateOne, Date dateTwo)
public int getNumberOfClaimsReturned(String patronId)
getNumberOfClaimsReturned
in interface OleCirculationPolicyService
public Integer getHoursDiff(Date dateOne, Date dateTwo)
getHoursDiff
in interface OleCirculationPolicyService
public List<OlePatronDocument> isProxyPatron(String partonId) throws Exception
isProxyPatron
in interface OleCirculationPolicyService
Exception
public List<OlePatronDocument> isProxyPatron(OlePatronDocument olePatronDocument) throws Exception
isProxyPatron
in interface OleCirculationPolicyService
Exception
public boolean isAddressVerified(String patronId) throws Exception
isAddressVerified
in interface OleCirculationPolicyService
Exception
public boolean isAddressVerified(OlePatronDocument olePatronDocument, String patronId) throws Exception
isAddressVerified
in interface OleCirculationPolicyService
Exception
public HashMap getLoanedKeyMap(String patronId, boolean renewalFlag)
getLoanedKeyMap
in interface OleCirculationPolicyService
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.