|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.ole.deliver.loan.LoanProcessor
public class LoanProcessor
The Loan Processor class acts between the controller and the service layers in delegating the appropriate service to the functions called from the controller.
| Constructor Summary | |
|---|---|
LoanProcessor()
|
|
| Method Summary | |
|---|---|
OleLoanDocument |
addLoan(String patronBarcode,
String itemBarcode,
OleLoanDocument oleLoanDocument)
Retrieved item object from docstore using itemid .Fetch location code,item available status from item object and retrieve title from bib object. |
String |
buildItemContent(Item oleItem)
This method creates and return itemContent using OleItem |
boolean |
checkOverRidePermission(String principalId)
|
protected Map<String,String> |
getAgendaContext(String agendaName)
This method returns agendaContext using agendaName. |
BibliographicRecord |
getBibliographicRecord(String title)
|
String |
getborrowerTypeName(String borrowerId)
This method returns BorrowerTypeName using borrowerId |
org.kuali.rice.krms.api.engine.EngineResults |
getEngineResults(String agendaName,
HashMap<String,Object> termValues)
|
Map |
getItemDetails(String itemBarcode)
Retrieved Title name from docstore using itemid. |
Item |
getItemRecord(OleLoanForm oleLoanForm)
|
OleLoanDocument |
getLoanDocument(String barcode)
Retrieve information about patron name,borrorwer type and patron loaned items |
int |
getNoOfItemsLoaned(String olePatronId)
This method returns number of items loaned for a particular patron id. |
OleCirculationPolicyService |
getOleCirculationPolicyService()
Gets the oleCirculationPolicyService attribute. |
void |
getOleLocationLevel(OleLoanDocument oleLoanDocument,
LocationLevel locationLevel)
|
List<OleLoanDocument> |
getPatronLoanedItem(String patronId)
This method returns PatronLoanedItem using patronId |
protected Map<String,String> |
getSelectionContext(String contextName)
This method returns selectionContext using contextName. |
boolean |
isItemBarcodeExist(String itemXml)
Validation for item barcode presences in item level record. |
boolean |
isItemCirculationExist(String itemXml)
Validation for item Circulation presences in item level record. |
boolean |
isItemTypeExist(String itemXml)
|
boolean |
isShelvingLocationExist(String itemXml)
Validation for item barcode presences in item level record. |
boolean |
itemValidation(OleLoanDocument oleLoanDocument)
|
void |
postLoan(Item oleItem)
This method invokes docStore to store item and returns itemRecordUpdateResponse. |
void |
saveLoan(OleLoanDocument oleLoanDocument)
persist the loan document and update item status to docstore. |
List<OleLoanDocument> |
setListValues(List<OleLoanDocument> loanList,
List<OleLoanDocument> existingLoanList,
boolean claimsFlag,
String claimsReturnNote)
|
void |
updateLoan(List<OleLoanDocument> updateDueDate)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoanProcessor()
| Method Detail |
|---|
public OleCirculationPolicyService getOleCirculationPolicyService()
public OleLoanDocument getLoanDocument(String barcode)
throws Exception
barcode -
Exceptionpublic String getborrowerTypeName(String borrowerId)
borrowerId -
public List<OleLoanDocument> getPatronLoanedItem(String patronId)
throws Exception
patronId -
Exception
public Map getItemDetails(String itemBarcode)
throws Exception
itemBarcode -
Exception
public OleLoanDocument addLoan(String patronBarcode,
String itemBarcode,
OleLoanDocument oleLoanDocument)
throws Exception
patronBarcode - itemBarcode - oleLoanDocument -
Exceptionpublic int getNoOfItemsLoaned(String olePatronId)
olePatronId -
public org.kuali.rice.krms.api.engine.EngineResults getEngineResults(String agendaName,
HashMap<String,Object> termValues)
throws Exception
Exception
protected Map<String,String> getSelectionContext(String contextName)
throws Exception
contextName -
Exception
protected Map<String,String> getAgendaContext(String agendaName)
throws Exception
agendaName -
Exception
public void getOleLocationLevel(OleLoanDocument oleLoanDocument,
LocationLevel locationLevel)
throws Exception
Exception
public void saveLoan(OleLoanDocument oleLoanDocument)
throws Exception
oleLoanDocument -
Exception
public void updateLoan(List<OleLoanDocument> updateDueDate)
throws Exception
Exception
public List<OleLoanDocument> setListValues(List<OleLoanDocument> loanList,
List<OleLoanDocument> existingLoanList,
boolean claimsFlag,
String claimsReturnNote)
public String buildItemContent(Item oleItem)
throws Exception
oleItem -
Exception
public void postLoan(Item oleItem)
throws Exception
oleItem -
Exceptionpublic boolean isItemBarcodeExist(String itemXml)
itemXml -
public boolean isItemCirculationExist(String itemXml)
itemXml -
public boolean isShelvingLocationExist(String itemXml)
itemXml -
public boolean isItemTypeExist(String itemXml)
public BibliographicRecord getBibliographicRecord(String title)
public Item getItemRecord(OleLoanForm oleLoanForm)
public boolean checkOverRidePermission(String principalId)
public boolean itemValidation(OleLoanDocument oleLoanDocument)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||