|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 |
String |
buildItemContentWithItemStatus(Item oleItem,
String itemStatus)
This method creates and return itemContent using OleItem |
boolean |
checkOverRidePermission(String principalId)
|
void |
createCirculationHistoryAndTemporaryHistoryRecords(OleLoanDocument oleLoanDocument)
|
LocationLevel |
createLocationLevel(String locationName,
LocationLevel locationLevel)
|
void |
deletePatronUserNote(String patronId,
String patronNoteTypeId)
|
void |
generatePatronBillPayment(OleLoanDocument oleLoanDocument)
|
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)
|
String |
getItemCallNumber(CallNumber callNumber)
|
Map |
getItemDetails(String itemBarcode)
Retrieved Title name from docstore using itemid. |
Item |
getItemPojo(String itemXml)
|
Item |
getItemRecord(OleLoanFastAdd oleLoanFastAdd)
|
String |
getItemValidationLocation(LocationLevel oleLocationLevel)
|
String |
getItemXML(String itemUUID)
|
OleLoanDocument |
getLoanDocument(String barcode,
String realPtrnBarcode)
Retrieve information about patron name,borrorwer type and patron loaned items |
OleLocation |
getLocationByLocationId(String locationId)
This method returns Location using locationId. |
OleCirculationDesk |
getOleCirculationDesk(String id)
|
OleCirculationPolicyService |
getOleCirculationPolicyService()
Gets the oleCirculationPolicyService attribute. |
OleLoanDocument |
getOleLoanDocumentUsingItemBarcode(String itemBarcode)
|
void |
getOleLocationLevel(OleLoanDocument oleLoanDocument,
LocationLevel locationLevel)
|
List<OleLoanDocument> |
getPatronLoanedItem(String patronId)
This method returns PatronLoanedItem using patronId |
OleLoanDocument |
getPatronRenewalItem(String itemId)
This method returns PatronLoanedItem using itemId |
List<OleTemporaryCirculationHistory> |
getPatronTemporaryCirculationHistoryRecords(String patronId)
This method returns PatronLoanedItem using patronId |
protected Map<String,String> |
getSelectionContext(String contextName)
This method returns selectionContext using contextName. |
String |
getUrl(String patronId)
This method will return url for view link in patron record. |
boolean |
itemValidation(Item oleItem)
|
void |
postLoan(Item oleItem)
This method invokes docStore to store item and returns itemRecordUpdateResponse. |
OleLoanDocument |
returnLoan(OleLoanDocument oleLoanDocument)
|
OleLoanDocument |
returnLoan(String itemBarcode,
OleLoanDocument oleLoanDocument)
Return the loaned Items |
void |
saveLoan(OleLoanDocument oleLoanDocument)
persist the loan document and update item status to docstore. |
void |
setBibInfo(OleLoanDocument oleLoanDocument)
|
List<OleLoanDocument> |
setListValues(List<OleLoanDocument> loanList,
List<OleLoanDocument> existingLoanList,
boolean claimsFlag,
String claimsReturnNote)
|
void |
updateClaimsReturnedInLoanDocument(OleLoanDocument oleLoanDocument,
boolean claimsReturned)
|
void |
updateItemStatus(Item oleItem,
String itemStatus)
This method invokes docStore to store item and returns itemRecordUpdateResponse. |
void |
updateItemStatusWithMissingItem(OleLoanDocument oleLoanDocument)
|
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, String realPtrnBarcode) throws Exception
barcode
-
Exception
public String getborrowerTypeName(String borrowerId)
borrowerId
-
public List<OleLoanDocument> getPatronLoanedItem(String patronId) throws Exception
patronId
-
Exception
public List<OleTemporaryCirculationHistory> getPatronTemporaryCirculationHistoryRecords(String patronId) throws Exception
patronId
-
Exception
public Map getItemDetails(String itemBarcode) throws Exception
itemBarcode
-
Exception
public String getItemCallNumber(CallNumber callNumber) throws Exception
Exception
public String getItemXML(String itemUUID) throws Exception
Exception
public Item getItemPojo(String itemXml) throws Exception
Exception
public OleLoanDocument addLoan(String patronBarcode, String itemBarcode, OleLoanDocument oleLoanDocument) throws Exception
patronBarcode
- itemBarcode
- oleLoanDocument
-
Exception
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 OleLocation getLocationByLocationId(String locationId) throws Exception
locationId
-
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
-
Exception
public BibliographicRecord getBibliographicRecord(String title)
public LocationLevel createLocationLevel(String locationName, LocationLevel locationLevel)
public Item getItemRecord(OleLoanFastAdd oleLoanFastAdd)
public boolean checkOverRidePermission(String principalId)
public boolean itemValidation(Item oleItem)
public String getItemValidationLocation(LocationLevel oleLocationLevel)
public void deletePatronUserNote(String patronId, String patronNoteTypeId) throws Exception
Exception
public OleLoanDocument returnLoan(String itemBarcode, OleLoanDocument oleLoanDocument) throws Exception
itemBarcode
- oleLoanDocument
-
Exception
public OleCirculationDesk getOleCirculationDesk(String id)
public void generatePatronBillPayment(OleLoanDocument oleLoanDocument)
public OleLoanDocument returnLoan(OleLoanDocument oleLoanDocument) throws Exception
Exception
public void createCirculationHistoryAndTemporaryHistoryRecords(OleLoanDocument oleLoanDocument)
public void updateItemStatus(Item oleItem, String itemStatus) throws Exception
oleItem
- itemStatus
-
Exception
public String buildItemContentWithItemStatus(Item oleItem, String itemStatus) throws Exception
oleItem
- itemStatus
-
Exception
public OleLoanDocument getOleLoanDocumentUsingItemBarcode(String itemBarcode)
public void updateItemStatusWithMissingItem(OleLoanDocument oleLoanDocument) throws Exception
Exception
public OleLoanDocument getPatronRenewalItem(String itemId) throws Exception
itemId
-
Exception
public void setBibInfo(OleLoanDocument oleLoanDocument) throws Exception
Exception
public void updateClaimsReturnedInLoanDocument(OleLoanDocument oleLoanDocument, boolean claimsReturned)
public String getUrl(String patronId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |